From 4648fd71756209bf211e62ea3502fd18ced7ad1b Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Tue, 27 Jun 2023 12:48:22 +0200 Subject: [PATCH 1/2] Fix git issue related with SDK directory --- vendor/bitpay/sdk | 1 - vendor/bitpay/sdk/.gitignore | 13 + vendor/bitpay/sdk/.travis.yml | 5 + vendor/bitpay/sdk/LICENSE | 21 + vendor/bitpay/sdk/README.md | 92 + vendor/bitpay/sdk/composer.json | 48 + vendor/bitpay/sdk/composer.lock | 2611 +++++ .../classes/BitPaySDK-Client-BillClient.html | 979 ++ .../BitPaySDK-Client-InvoiceClient.html | 1437 +++ .../BitPaySDK-Client-LedgerClient.html | 658 ++ .../BitPaySDK-Client-PayoutClient.html | 1095 ++ ...tPaySDK-Client-PayoutRecipientsClient.html | 948 ++ .../classes/BitPaySDK-Client-RateClient.html | 661 ++ .../BitPaySDK-Client-RefundClient.html | 1374 +++ .../BitPaySDK-Client-SettlementClient.html | 762 ++ .../classes/BitPaySDK-Client-TokenClient.html | 522 + .../BitPaySDK-Client-WalletClient.html | 522 + .../sdk/docs/classes/BitPaySDK-Client.html | 5215 ++++++++++ .../sdk/docs/classes/BitPaySDK-Env.html | 552 + ...ySDK-Exceptions-BillCreationException.html | 522 + ...ySDK-Exceptions-BillDeliveryException.html | 522 + .../BitPaySDK-Exceptions-BillException.html | 522 + ...tPaySDK-Exceptions-BillQueryException.html | 522 + ...PaySDK-Exceptions-BillUpdateException.html | 522 + .../BitPaySDK-Exceptions-BitPayException.html | 522 + ...itPaySDK-Exceptions-CurrencyException.html | 521 + ...SDK-Exceptions-CurrencyQueryException.html | 521 + ...ceptions-InvoiceCancellationException.html | 522 + ...K-Exceptions-InvoiceCreationException.html | 522 + ...BitPaySDK-Exceptions-InvoiceException.html | 522 + ...DK-Exceptions-InvoicePaymentException.html | 522 + ...ySDK-Exceptions-InvoiceQueryException.html | 522 + ...SDK-Exceptions-InvoiceUpdateException.html | 522 + .../BitPaySDK-Exceptions-LedgerException.html | 522 + ...aySDK-Exceptions-LedgerQueryException.html | 522 + ...ions-PayoutBatchCancellationException.html | 522 + ...ceptions-PayoutBatchCreationException.html | 522 + ...aySDK-Exceptions-PayoutBatchException.html | 522 + ...ions-PayoutBatchNotificationException.html | 522 + ...-Exceptions-PayoutBatchQueryException.html | 522 + ...xceptions-PayoutCancellationException.html | 522 + ...DK-Exceptions-PayoutCreationException.html | 522 + .../BitPaySDK-Exceptions-PayoutException.html | 522 + ...xceptions-PayoutNotificationException.html | 522 + ...aySDK-Exceptions-PayoutQueryException.html | 522 + ...-PayoutRecipientCancellationException.html | 522 + ...ions-PayoutRecipientCreationException.html | 522 + ...K-Exceptions-PayoutRecipientException.html | 522 + ...-PayoutRecipientNotificationException.html | 522 + ...eptions-PayoutRecipientQueryException.html | 522 + ...ptions-PayoutRecipientUpdateException.html | 522 + ...ySDK-Exceptions-PayoutUpdateException.html | 522 + .../BitPaySDK-Exceptions-RateException.html | 522 + ...tPaySDK-Exceptions-RateQueryException.html | 522 + ...xceptions-RefundCancellationException.html | 522 + ...DK-Exceptions-RefundCreationException.html | 522 + .../BitPaySDK-Exceptions-RefundException.html | 522 + ...xceptions-RefundNotificationException.html | 522 + ...aySDK-Exceptions-RefundQueryException.html | 522 + ...ySDK-Exceptions-RefundUpdateException.html | 522 + ...PaySDK-Exceptions-SettlementException.html | 522 + ...K-Exceptions-SettlementQueryException.html | 522 + .../BitPaySDK-Exceptions-WalletException.html | 522 + ...aySDK-Exceptions-WalletQueryException.html | 522 + .../classes/BitPaySDK-Model-Bill-Bill.html | 3318 ++++++ .../BitPaySDK-Model-Bill-BillStatus.html | 461 + .../classes/BitPaySDK-Model-Bill-Item.html | 965 ++ .../classes/BitPaySDK-Model-Currency.html | 8475 +++++++++++++++ .../docs/classes/BitPaySDK-Model-Facade.html | 397 + .../BitPaySDK-Model-Invoice-Buyer.html | 1735 ++++ ...aySDK-Model-Invoice-BuyerProvidedInfo.html | 1352 +++ .../BitPaySDK-Model-Invoice-Invoice.html | 9195 +++++++++++++++++ ...BitPaySDK-Model-Invoice-InvoiceStatus.html | 526 + ...tPaySDK-Model-Invoice-ItemizedDetails.html | 788 ++ .../BitPaySDK-Model-Invoice-MinerFees.html | 1949 ++++ ...BitPaySDK-Model-Invoice-MinerFeesItem.html | 771 ++ .../BitPaySDK-Model-Invoice-Refund.html | 3450 +++++++ .../BitPaySDK-Model-Invoice-RefundInfo.html | 800 ++ .../BitPaySDK-Model-Invoice-RefundStatus.html | 499 + ...BitPaySDK-Model-Invoice-RefundWebhook.html | 1827 ++++ .../BitPaySDK-Model-Invoice-Shopper.html | 518 + ...nvoice-SupportedTransactionCurrencies.html | 1816 ++++ ...-Invoice-SupportedTransactionCurrency.html | 640 ++ ...itPaySDK-Model-Invoice-UniversalCodes.html | 651 ++ .../classes/BitPaySDK-Model-Ledger-Buyer.html | 1725 ++++ .../BitPaySDK-Model-Ledger-Ledger.html | 647 ++ .../BitPaySDK-Model-Ledger-LedgerEntry.html | 2430 +++++ .../BitPaySDK-Model-Payout-Payout.html | 3651 +++++++ .../BitPaySDK-Model-Payout-PayoutGroup.html | 532 + ...PaySDK-Model-Payout-PayoutGroupFailed.html | 665 ++ ...itPaySDK-Model-Payout-PayoutRecipient.html | 1451 +++ ...tPaySDK-Model-Payout-PayoutRecipients.html | 791 ++ .../BitPaySDK-Model-Payout-PayoutStatus.html | 571 + ...PaySDK-Model-Payout-PayoutTransaction.html | 915 ++ ...Model-Payout-RecipientReferenceMethod.html | 389 + ...itPaySDK-Model-Payout-RecipientStatus.html | 499 + .../classes/BitPaySDK-Model-Rate-Rate.html | 782 ++ .../classes/BitPaySDK-Model-Rate-Rates.html | 676 ++ ...itPaySDK-Model-Settlement-InvoiceData.html | 1451 +++ ...BitPaySDK-Model-Settlement-PayoutInfo.html | 3643 +++++++ ...BitPaySDK-Model-Settlement-RefundInfo.html | 786 ++ ...BitPaySDK-Model-Settlement-Settlement.html | 2694 +++++ ...odel-Settlement-SettlementLedgerEntry.html | 1336 +++ ...tPaySDK-Model-Settlement-WithHoldings.html | 1161 +++ .../BitPaySDK-Model-Wallet-Currencies.html | 1479 +++ .../BitPaySDK-Model-Wallet-CurrencyQr.html | 653 ++ .../BitPaySDK-Model-Wallet-Wallet.html | 1204 +++ .../sdk/docs/classes/BitPaySDK-PosClient.html | 5474 ++++++++++ .../sdk/docs/classes/BitPaySDK-Tokens.html | 708 ++ .../BitPaySDK-Util-JsonMapperFactory.html | 311 + .../BitPaySDK-Util-RESTcli-RESTcli.html | 1030 ++ vendor/bitpay/sdk/docs/css/base.css | 1105 ++ vendor/bitpay/sdk/docs/css/normalize.css | 427 + vendor/bitpay/sdk/docs/css/template.css | 192 + .../src-bitpaysdk-client-billclient.html | 185 + .../src-bitpaysdk-client-invoiceclient.html | 185 + .../src-bitpaysdk-client-ledgerclient.html | 185 + .../src-bitpaysdk-client-payoutclient.html | 185 + ...tpaysdk-client-payoutrecipientsclient.html | 185 + .../src-bitpaysdk-client-rateclient.html | 185 + .../src-bitpaysdk-client-refundclient.html | 185 + ...src-bitpaysdk-client-settlementclient.html | 185 + .../src-bitpaysdk-client-tokenclient.html | 185 + .../src-bitpaysdk-client-walletclient.html | 185 + .../sdk/docs/files/src-bitpaysdk-client.html | 185 + .../sdk/docs/files/src-bitpaysdk-env.html | 185 + ...ysdk-exceptions-billcreationexception.html | 185 + ...ysdk-exceptions-billdeliveryexception.html | 185 + ...rc-bitpaysdk-exceptions-billexception.html | 185 + ...tpaysdk-exceptions-billqueryexception.html | 185 + ...paysdk-exceptions-billupdateexception.html | 185 + ...-bitpaysdk-exceptions-bitpayexception.html | 185 + ...itpaysdk-exceptions-currencyexception.html | 185 + ...sdk-exceptions-currencyqueryexception.html | 185 + ...ceptions-invoicecancellationexception.html | 185 + ...k-exceptions-invoicecreationexception.html | 185 + ...bitpaysdk-exceptions-invoiceexception.html | 185 + ...dk-exceptions-invoicepaymentexception.html | 185 + ...ysdk-exceptions-invoicequeryexception.html | 185 + ...sdk-exceptions-invoiceupdateexception.html | 185 + ...-bitpaysdk-exceptions-ledgerexception.html | 185 + ...aysdk-exceptions-ledgerqueryexception.html | 185 + ...ions-payoutbatchcancellationexception.html | 185 + ...ceptions-payoutbatchcreationexception.html | 185 + ...aysdk-exceptions-payoutbatchexception.html | 185 + ...ions-payoutbatchnotificationexception.html | 185 + ...-exceptions-payoutbatchqueryexception.html | 185 + ...xceptions-payoutcancellationexception.html | 185 + ...dk-exceptions-payoutcreationexception.html | 185 + ...-bitpaysdk-exceptions-payoutexception.html | 185 + ...xceptions-payoutnotificationexception.html | 185 + ...aysdk-exceptions-payoutqueryexception.html | 185 + ...-payoutrecipientcancellationexception.html | 185 + ...ions-payoutrecipientcreationexception.html | 185 + ...k-exceptions-payoutrecipientexception.html | 185 + ...-payoutrecipientnotificationexception.html | 185 + ...eptions-payoutrecipientqueryexception.html | 185 + ...ptions-payoutrecipientupdateexception.html | 185 + ...ysdk-exceptions-payoutupdateexception.html | 185 + ...rc-bitpaysdk-exceptions-rateexception.html | 185 + ...tpaysdk-exceptions-ratequeryexception.html | 185 + ...xceptions-refundcancellationexception.html | 185 + ...dk-exceptions-refundcreationexception.html | 185 + ...-bitpaysdk-exceptions-refundexception.html | 185 + ...xceptions-refundnotificationexception.html | 185 + ...aysdk-exceptions-refundqueryexception.html | 185 + ...ysdk-exceptions-refundupdateexception.html | 185 + ...paysdk-exceptions-settlementexception.html | 185 + ...k-exceptions-settlementqueryexception.html | 185 + ...-bitpaysdk-exceptions-walletexception.html | 185 + ...aysdk-exceptions-walletqueryexception.html | 185 + .../files/src-bitpaysdk-model-bill-bill.html | 185 + .../src-bitpaysdk-model-bill-billstatus.html | 185 + .../files/src-bitpaysdk-model-bill-item.html | 185 + .../files/src-bitpaysdk-model-currency.html | 185 + .../files/src-bitpaysdk-model-facade.html | 186 + .../src-bitpaysdk-model-invoice-buyer.html | 185 + ...aysdk-model-invoice-buyerprovidedinfo.html | 185 + .../src-bitpaysdk-model-invoice-invoice.html | 185 + ...bitpaysdk-model-invoice-invoicestatus.html | 185 + ...tpaysdk-model-invoice-itemizeddetails.html | 185 + ...src-bitpaysdk-model-invoice-minerfees.html | 185 + ...bitpaysdk-model-invoice-minerfeesitem.html | 185 + .../src-bitpaysdk-model-invoice-refund.html | 185 + ...rc-bitpaysdk-model-invoice-refundinfo.html | 185 + ...-bitpaysdk-model-invoice-refundstatus.html | 185 + ...bitpaysdk-model-invoice-refundwebhook.html | 185 + .../src-bitpaysdk-model-invoice-shopper.html | 185 + ...nvoice-supportedtransactioncurrencies.html | 185 + ...-invoice-supportedtransactioncurrency.html | 186 + ...itpaysdk-model-invoice-universalcodes.html | 185 + .../src-bitpaysdk-model-ledger-buyer.html | 185 + .../src-bitpaysdk-model-ledger-ledger.html | 185 + ...rc-bitpaysdk-model-ledger-ledgerentry.html | 185 + .../src-bitpaysdk-model-payout-payout.html | 185 + ...rc-bitpaysdk-model-payout-payoutgroup.html | 185 + ...paysdk-model-payout-payoutgroupfailed.html | 185 + ...itpaysdk-model-payout-payoutrecipient.html | 185 + ...tpaysdk-model-payout-payoutrecipients.html | 185 + ...c-bitpaysdk-model-payout-payoutstatus.html | 185 + ...paysdk-model-payout-payouttransaction.html | 185 + ...model-payout-recipientreferencemethod.html | 185 + ...itpaysdk-model-payout-recipientstatus.html | 185 + .../files/src-bitpaysdk-model-rate-rate.html | 185 + .../files/src-bitpaysdk-model-rate-rates.html | 185 + ...itpaysdk-model-settlement-invoicedata.html | 185 + ...bitpaysdk-model-settlement-payoutinfo.html | 185 + ...bitpaysdk-model-settlement-refundinfo.html | 185 + ...bitpaysdk-model-settlement-settlement.html | 185 + ...odel-settlement-settlementledgerentry.html | 185 + ...tpaysdk-model-settlement-withholdings.html | 185 + ...src-bitpaysdk-model-wallet-currencies.html | 185 + ...src-bitpaysdk-model-wallet-currencyqr.html | 185 + .../src-bitpaysdk-model-wallet-wallet.html | 185 + .../docs/files/src-bitpaysdk-posclient.html | 185 + .../sdk/docs/files/src-bitpaysdk-tokens.html | 185 + .../src-bitpaysdk-util-jsonmapperfactory.html | 185 + .../src-bitpaysdk-util-restcli-restcli.html | 208 + vendor/bitpay/sdk/docs/graphs/classes.html | 150 + vendor/bitpay/sdk/docs/index.html | 180 + vendor/bitpay/sdk/docs/indices/files.html | 298 + vendor/bitpay/sdk/docs/js/search.js | 173 + vendor/bitpay/sdk/docs/js/searchIndex.js | 8849 ++++++++++++++++ .../sdk/docs/namespaces/bitpaysdk-client.html | 196 + .../docs/namespaces/bitpaysdk-exceptions.html | 266 + .../docs/namespaces/bitpaysdk-model-bill.html | 183 + .../namespaces/bitpaysdk-model-invoice.html | 208 + .../namespaces/bitpaysdk-model-ledger.html | 183 + .../namespaces/bitpaysdk-model-payout.html | 195 + .../docs/namespaces/bitpaysdk-model-rate.html | 181 + .../bitpaysdk-model-settlement.html | 189 + .../namespaces/bitpaysdk-model-wallet.html | 183 + .../sdk/docs/namespaces/bitpaysdk-model.html | 195 + .../namespaces/bitpaysdk-util-restcli.html | 179 + .../sdk/docs/namespaces/bitpaysdk-util.html | 186 + .../bitpay/sdk/docs/namespaces/bitpaysdk.html | 194 + .../bitpay/sdk/docs/namespaces/default.html | 173 + .../bitpay/sdk/docs/packages/Application.html | 330 + .../packages/BitPaySDK-Model-Invoice.html | 190 + .../docs/packages/BitPaySDK-Model-Ledger.html | 183 + .../docs/packages/BitPaySDK-Model-Payout.html | 181 + .../docs/packages/BitPaySDK-Model-Rate.html | 181 + .../packages/BitPaySDK-Model-Settlement.html | 181 + .../sdk/docs/packages/BitPaySDK-Model.html | 178 + .../docs/packages/BitPaySDK-Util-RESTcli.html | 179 + .../sdk/docs/packages/BitPaySDK-Util.html | 174 + .../bitpay/sdk/docs/packages/BitPaySDK.html | 174 + vendor/bitpay/sdk/docs/packages/Bitpay.html | 195 + .../bitpay/sdk/docs/packages/Bitpaylight.html | 177 + vendor/bitpay/sdk/docs/packages/default.html | 176 + .../bitpay/sdk/docs/reports/deprecated.html | 163 + vendor/bitpay/sdk/docs/reports/errors.html | 1316 +++ vendor/bitpay/sdk/docs/reports/markers.html | 185 + vendor/bitpay/sdk/phpunit.xml | 24 + vendor/bitpay/sdk/ruleset.xml | 5 + vendor/bitpay/sdk/setup/.gitignore | 3 + .../sdk/setup/BitPay.config-example.json | 25 + .../sdk/setup/BitPay.config-example.yml | 17 + vendor/bitpay/sdk/setup/ConfigGenerator.php | 243 + vendor/bitpay/sdk/src/BitPaySDK/Client.php | 1163 +++ .../sdk/src/BitPaySDK/Client/BillClient.php | 263 + .../src/BitPaySDK/Client/InvoiceClient.php | 516 + .../sdk/src/BitPaySDK/Client/LedgerClient.php | 142 + .../sdk/src/BitPaySDK/Client/PayoutClient.php | 372 + .../Client/PayoutRecipientsClient.php | 313 + .../sdk/src/BitPaySDK/Client/RateClient.php | 160 + .../sdk/src/BitPaySDK/Client/RefundClient.php | 466 + .../src/BitPaySDK/Client/SettlementClient.php | 196 + .../sdk/src/BitPaySDK/Client/TokenClient.php | 50 + .../sdk/src/BitPaySDK/Client/WalletClient.php | 82 + vendor/bitpay/sdk/src/BitPaySDK/Env.php | 19 + .../Exceptions/BillCreationException.php | 30 + .../Exceptions/BillDeliveryException.php | 30 + .../BitPaySDK/Exceptions/BillException.php | 32 + .../Exceptions/BillQueryException.php | 30 + .../Exceptions/BillUpdateException.php | 30 + .../BitPaySDK/Exceptions/BitPayException.php | 43 + .../Exceptions/CurrencyException.php | 33 + .../Exceptions/CurrencyQueryException.php | 31 + .../InvoiceCancellationException.php | 30 + .../Exceptions/InvoiceCreationException.php | 30 + .../BitPaySDK/Exceptions/InvoiceException.php | 32 + .../Exceptions/InvoicePaymentException.php | 31 + .../Exceptions/InvoiceQueryException.php | 31 + .../Exceptions/InvoiceUpdateException.php | 30 + .../BitPaySDK/Exceptions/LedgerException.php | 32 + .../Exceptions/LedgerQueryException.php | 31 + .../PayoutBatchCancellationException.php | 30 + .../PayoutBatchCreationException.php | 30 + .../Exceptions/PayoutBatchException.php | 32 + .../PayoutBatchNotificationException.php | 30 + .../Exceptions/PayoutBatchQueryException.php | 30 + .../PayoutCancellationException.php | 30 + .../Exceptions/PayoutCreationException.php | 30 + .../BitPaySDK/Exceptions/PayoutException.php | 32 + .../PayoutNotificationException.php | 30 + .../Exceptions/PayoutQueryException.php | 30 + .../PayoutRecipientCancellationException.php | 30 + .../PayoutRecipientCreationException.php | 30 + .../Exceptions/PayoutRecipientException.php | 32 + .../PayoutRecipientNotificationException.php | 30 + .../PayoutRecipientQueryException.php | 30 + .../PayoutRecipientUpdateException.php | 30 + .../Exceptions/PayoutUpdateException.php | 30 + .../BitPaySDK/Exceptions/RateException.php | 32 + .../Exceptions/RateQueryException.php | 30 + .../RefundCancellationException.php | 30 + .../Exceptions/RefundCreationException.php | 30 + .../BitPaySDK/Exceptions/RefundException.php | 32 + .../RefundNotificationException.php | 31 + .../Exceptions/RefundQueryException.php | 30 + .../Exceptions/RefundUpdateException.php | 31 + .../Exceptions/SettlementException.php | 32 + .../Exceptions/SettlementQueryException.php | 30 + .../BitPaySDK/Exceptions/WalletException.php | 31 + .../Exceptions/WalletQueryException.php | 31 + .../sdk/src/BitPaySDK/Model/Bill/Bill.php | 605 ++ .../src/BitPaySDK/Model/Bill/BillStatus.php | 26 + .../sdk/src/BitPaySDK/Model/Bill/Item.php | 149 + .../sdk/src/BitPaySDK/Model/Currency.php | 511 + .../bitpay/sdk/src/BitPaySDK/Model/Facade.php | 40 + .../sdk/src/BitPaySDK/Model/Invoice/Buyer.php | 277 + .../Model/Invoice/BuyerProvidedInfo.php | 231 + .../src/BitPaySDK/Model/Invoice/Invoice.php | 1884 ++++ .../BitPaySDK/Model/Invoice/InvoiceStatus.php | 68 + .../Model/Invoice/ItemizedDetails.php | 118 + .../src/BitPaySDK/Model/Invoice/MinerFees.php | 328 + .../BitPaySDK/Model/Invoice/MinerFeesItem.php | 72 + .../src/BitPaySDK/Model/Invoice/Refund.php | 588 ++ .../BitPaySDK/Model/Invoice/RefundInfo.php | 131 + .../BitPaySDK/Model/Invoice/RefundStatus.php | 50 + .../BitPaySDK/Model/Invoice/RefundWebhook.php | 160 + .../src/BitPaySDK/Model/Invoice/Shopper.php | 74 + .../SupportedTransactionCurrencies.php | 303 + .../Invoice/SupportedTransactionCurrency.php | 96 + .../Model/Invoice/UniversalCodes.php | 89 + .../sdk/src/BitPaySDK/Model/Ledger/Buyer.php | 266 + .../sdk/src/BitPaySDK/Model/Ledger/Ledger.php | 82 + .../BitPaySDK/Model/Ledger/LedgerEntry.php | 407 + .../sdk/src/BitPaySDK/Model/Payout/Payout.php | 702 ++ .../BitPaySDK/Model/Payout/PayoutGroup.php | 50 + .../Model/Payout/PayoutGroupFailed.php | 64 + .../Model/Payout/PayoutRecipient.php | 241 + .../Model/Payout/PayoutRecipients.php | 137 + .../BitPaySDK/Model/Payout/PayoutStatus.php | 60 + .../Model/Payout/PayoutTransaction.php | 127 + .../Model/Payout/RecipientReferenceMethod.php | 34 + .../Model/Payout/RecipientStatus.php | 51 + .../sdk/src/BitPaySDK/Model/Rate/Rate.php | 112 + .../sdk/src/BitPaySDK/Model/Rate/Rates.php | 125 + .../Model/Settlement/InvoiceData.php | 212 + .../BitPaySDK/Model/Settlement/PayoutInfo.php | 592 ++ .../BitPaySDK/Model/Settlement/RefundInfo.php | 115 + .../BitPaySDK/Model/Settlement/Settlement.php | 502 + .../Settlement/SettlementLedgerEntry.php | 211 + .../Model/Settlement/WithHoldings.php | 174 + .../src/BitPaySDK/Model/Wallet/Currencies.php | 237 + .../src/BitPaySDK/Model/Wallet/CurrencyQr.php | 89 + .../sdk/src/BitPaySDK/Model/Wallet/Wallet.php | 194 + vendor/bitpay/sdk/src/BitPaySDK/PosClient.php | 105 + vendor/bitpay/sdk/src/BitPaySDK/Tokens.php | 97 + .../src/BitPaySDK/Util/JsonMapperFactory.php | 20 + .../src/BitPaySDK/Util/RESTcli/RESTcli.php | 446 + .../sdk/test/functional/BitPaySDK/.gitignore | 3 + .../BitPaySDK/AbstractClientTest.php | 21 + .../functional/BitPaySDK/BillClientTest.php | 97 + .../sdk/test/functional/BitPaySDK/Config.php | 12 + .../BitPaySDK/InvoiceClientTest.php | 140 + .../functional/BitPaySDK/LedgerClientTest.php | 46 + .../functional/BitPaySDK/PayoutClientTest.php | 103 + .../BitPaySDK/PayoutRecipientsClientTest.php | 140 + .../functional/BitPaySDK/RateClientTest.php | 41 + .../functional/BitPaySDK/RefundClientTest.php | 114 + .../BitPaySDK/SettlementsClientTest.php | 59 + .../functional/BitPaySDK/TokenClientTest.php | 19 + .../functional/BitPaySDK/WalletClientTest.php | 18 + .../unit/BitPaySDK/BitPay.config-unit.json | 25 + .../unit/BitPaySDK/BitPay.config-unit.yml | 17 + .../sdk/test/unit/BitPaySDK/ClientTest.php | 3574 +++++++ .../Exceptions/BillCreationExceptionTest.php | 61 + .../Exceptions/BillDeliveryExceptionTest.php | 61 + .../Exceptions/BillExceptionTest.php | 61 + .../Exceptions/BillQueryExceptionTest.php | 61 + .../Exceptions/BillUpdateExceptionTest.php | 61 + .../Exceptions/BitPayExceptionTest.php | 60 + .../Exceptions/CurrencyExceptionTest.php | 61 + .../Exceptions/CurrencyQueryExceptionTest.php | 61 + .../InvoiceCancellationExceptionTest.php | 61 + .../InvoiceCreationExceptionTest.php | 61 + .../Exceptions/InvoiceExceptionTest.php | 61 + .../InvoicePaymentExceptionTest.php | 61 + .../Exceptions/InvoiceQueryExceptionTest.php | 61 + .../Exceptions/InvoiceUpdateExceptionTest.php | 61 + .../Exceptions/LedgerExceptionTest.php | 61 + .../Exceptions/LedgerQueryExceptionTest.php | 61 + .../PayoutBatchCancellationExceptionTest.php | 61 + .../PayoutBatchCreationExceptionTest.php | 61 + .../Exceptions/PayoutBatchExceptionTest.php | 61 + .../PayoutBatchNotificationExceptionTest.php | 61 + .../PayoutBatchQueryExceptionTest.php | 61 + .../PayoutCancellationExceptionTest.php | 61 + .../PayoutCreationExceptionTest.php | 61 + .../Exceptions/PayoutExceptionTest.php | 61 + .../PayoutNotificationExceptionTest.php | 61 + .../Exceptions/PayoutQueryExceptionTest.php | 61 + ...youtRecipientCancellationExceptionTest.php | 61 + .../PayoutRecipientCreationExceptionTest.php | 61 + .../PayoutRecipientExceptionTest.php | 61 + ...youtRecipientNotificationExceptionTest.php | 61 + .../PayoutRecipientQueryExceptionTest.php | 61 + .../PayoutRecipientUpdateExceptionTest.php | 61 + .../Exceptions/PayoutUpdateExceptionTest.php | 61 + .../Exceptions/RateExceptionTest.php | 61 + .../Exceptions/RateQueryExceptionTest.php | 61 + .../RefundCancellationExceptionTest.php | 61 + .../RefundCreationExceptionTest.php | 61 + .../Exceptions/RefundExceptionTest.php | 61 + .../RefundNotificationExceptionTest.php | 61 + .../Exceptions/RefundQueryExceptionTest.php | 61 + .../Exceptions/RefundUpdateExceptionTest.php | 61 + .../Exceptions/SettlementExceptionTest.php | 61 + .../SettlementQueryExceptionTest.php | 61 + .../Exceptions/WalletExceptionTest.php | 61 + .../Exceptions/WalletQueryExceptionTest.php | 61 + .../unit/BitPaySDK/Model/Bill/BillTest.php | 302 + .../unit/BitPaySDK/Model/Bill/ItemTest.php | 99 + .../unit/BitPaySDK/Model/CurrencyTest.php | 171 + .../Model/Invoice/BuyerProvidedInfoTest.php | 146 + .../BitPaySDK/Model/Invoice/BuyerTest.php | 166 + .../BitPaySDK/Model/Invoice/InvoiceTest.php | 991 ++ .../Model/Invoice/ItemizedDetailsTest.php | 70 + .../Model/Invoice/MinerFeesItemTest.php | 67 + .../BitPaySDK/Model/Invoice/MinerFeesTest.php | 139 + .../Model/Invoice/RefundInfoTest.php | 71 + .../BitPaySDK/Model/Invoice/RefundTest.php | 210 + .../Model/Invoice/RefundWebhookTest.php | 165 + .../BitPaySDK/Model/Invoice/ShopperTest.php | 49 + .../SupportedTransactionCurrenciesTest.php | 104 + .../SupportedTransactionCurrencyTest.php | 71 + .../Model/Invoice/UniversalCodesTest.php | 60 + .../unit/BitPaySDK/Model/Ledger/BuyerTest.php | 158 + .../Model/Ledger/LedgerEntryTest.php | 215 + .../BitPaySDK/Model/Ledger/LedgerTest.php | 57 + .../Model/Payout/PayoutRecipientTest.php | 130 + .../Model/Payout/PayoutRecipientsTest.php | 119 + .../BitPaySDK/Model/Payout/PayoutTest.php | 357 + .../unit/BitPaySDK/Model/Rate/RateTest.php | 72 + .../unit/BitPaySDK/Model/Rate/RatesTest.php | 112 + .../Model/Settlement/InvoiceDataTest.php | 130 + .../Model/Settlement/PayoutInfoTest.php | 312 + .../Model/Settlement/RefundInfoTest.php | 72 + .../Settlement/SettlementLedgerEntryTest.php | 120 + .../Model/Settlement/SettlementTest.php | 262 + .../Model/Settlement/WithHoldingsTest.php | 108 + .../BitPaySDK/Model/Wallet/CurrenciesTest.php | 133 + .../BitPaySDK/Model/Wallet/CurrencyQrTest.php | 58 + .../BitPaySDK/Model/Wallet/WalletTest.php | 142 + .../unit/BitPaySDK/PrivateKeyNameUnit.key | 1 + .../sdk/test/unit/BitPaySDK/TokensTest.php | 59 + .../unit/BitPaySDK/bitpay_private_test.key | 1 + .../BitPaySDK/jsonResponse/badResponse.json | 1 + .../cancelPayoutGroupResponse.json | 46 + .../jsonResponse/createBillResponse.json | 29 + .../jsonResponse/createInvoiceResponse.json | 418 + .../createPayoutGroupRequest.json | 1 + .../createPayoutGroupResponse.json | 29 + .../jsonResponse/createRefundResponse.json | 16 + .../unit/BitPaySDK/jsonResponse/false.json | 5 + .../unit/BitPaySDK/jsonResponse/getBill.json | 39 + .../unit/BitPaySDK/jsonResponse/getBills.json | 80 + .../jsonResponse/getCurrencyPairRate.json | 5 + .../jsonResponse/getCurrencyRates.json | 47 + .../BitPaySDK/jsonResponse/getInvoice.json | 407 + .../BitPaySDK/jsonResponse/getInvoices.json | 409 + .../jsonResponse/getLedgerBalances.json | 14 + .../BitPaySDK/jsonResponse/getLedgers.json | 81 + .../BitPaySDK/jsonResponse/getPayout.json | 30 + .../jsonResponse/getPayoutRecipient.json | 11 + .../jsonResponse/getPayoutRecipients.json | 18 + .../BitPaySDK/jsonResponse/getPayouts.json | 50 + .../unit/BitPaySDK/jsonResponse/getRates.json | 47 + ...ettlementReconciliationReportResponse.json | 445 + .../jsonResponse/getSettlementResponse.json | 30 + .../jsonResponse/getSettlementsResponse.json | 56 + .../getSupportedWalletsResponse.json | 385 + .../jsonResponse/getTokensResponse.json | 14 + .../jsonResponse/payInvoiceResponse.json | 1 + .../submitPayoutRecipientsResponse.json | 18 + .../unit/BitPaySDK/jsonResponse/success.json | 5 + .../jsonResponse/updateBillRequest.json | 1 + .../updatePayoutRecipientResponse.json | 8 + .../jsonResponse/updateSubscription.json | 40 + 492 files changed, 188464 insertions(+), 1 deletion(-) delete mode 160000 vendor/bitpay/sdk create mode 100644 vendor/bitpay/sdk/.gitignore create mode 100644 vendor/bitpay/sdk/.travis.yml create mode 100644 vendor/bitpay/sdk/LICENSE create mode 100644 vendor/bitpay/sdk/README.md create mode 100644 vendor/bitpay/sdk/composer.json create mode 100644 vendor/bitpay/sdk/composer.lock create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-BillClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-InvoiceClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-LedgerClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutRecipientsClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RateClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RefundClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-SettlementClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-TokenClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-WalletClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Client.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Env.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillCreationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillDeliveryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillUpdateException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BitPayException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCancellationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCreationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoicePaymentException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceUpdateException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCancellationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCreationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutNotificationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutUpdateException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCancellationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCreationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundNotificationException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundUpdateException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletQueryException.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Bill.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-BillStatus.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Item.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Currency.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Facade.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Buyer.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Invoice.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-InvoiceStatus.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-ItemizedDetails.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFees.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFeesItem.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Refund.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundInfo.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundStatus.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundWebhook.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Shopper.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-UniversalCodes.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Buyer.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Ledger.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-LedgerEntry.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-Payout.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroup.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutTransaction.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientStatus.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rate.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rates.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-InvoiceData.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-PayoutInfo.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-RefundInfo.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-Settlement.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-WithHoldings.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Currencies.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-CurrencyQr.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Wallet.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-PosClient.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Tokens.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-JsonMapperFactory.html create mode 100644 vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html create mode 100644 vendor/bitpay/sdk/docs/css/base.css create mode 100644 vendor/bitpay/sdk/docs/css/normalize.css create mode 100644 vendor/bitpay/sdk/docs/css/template.css create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-billclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-invoiceclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-ledgerclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutrecipientsclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-rateclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-refundclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-settlementclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-tokenclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-walletclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-client.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-env.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billcreationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billdeliveryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billupdateexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-bitpayexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecancellationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecreationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicepaymentexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicequeryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceupdateexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcancellationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcreationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchnotificationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcancellationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcreationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutnotificationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcancellationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcreationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientnotificationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientupdateexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutupdateexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-rateexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ratequeryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcancellationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcreationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundnotificationexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundupdateexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletqueryexception.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-bill.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-billstatus.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-item.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-currency.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-facade.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyer.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyerprovidedinfo.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoice.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoicestatus.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-itemizeddetails.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfees.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfeesitem.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refund.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundinfo.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundstatus.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundwebhook.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-shopper.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrencies.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrency.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-universalcodes.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-buyer.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledger.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledgerentry.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payout.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroup.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroupfailed.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipients.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutstatus.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payouttransaction.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientreferencemethod.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientstatus.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rate.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rates.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-invoicedata.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-payoutinfo.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-refundinfo.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlement.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlementledgerentry.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-withholdings.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencies.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencyqr.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-wallet.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-posclient.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-tokens.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-jsonmapperfactory.html create mode 100644 vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-restcli-restcli.html create mode 100644 vendor/bitpay/sdk/docs/graphs/classes.html create mode 100644 vendor/bitpay/sdk/docs/index.html create mode 100644 vendor/bitpay/sdk/docs/indices/files.html create mode 100644 vendor/bitpay/sdk/docs/js/search.js create mode 100644 vendor/bitpay/sdk/docs/js/searchIndex.js create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-client.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-exceptions.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-bill.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-invoice.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-ledger.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-payout.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-rate.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-settlement.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-wallet.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util-restcli.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/bitpaysdk.html create mode 100644 vendor/bitpay/sdk/docs/namespaces/default.html create mode 100644 vendor/bitpay/sdk/docs/packages/Application.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Invoice.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Ledger.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Payout.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Rate.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Settlement.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Model.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Util-RESTcli.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK-Util.html create mode 100644 vendor/bitpay/sdk/docs/packages/BitPaySDK.html create mode 100644 vendor/bitpay/sdk/docs/packages/Bitpay.html create mode 100644 vendor/bitpay/sdk/docs/packages/Bitpaylight.html create mode 100644 vendor/bitpay/sdk/docs/packages/default.html create mode 100644 vendor/bitpay/sdk/docs/reports/deprecated.html create mode 100644 vendor/bitpay/sdk/docs/reports/errors.html create mode 100644 vendor/bitpay/sdk/docs/reports/markers.html create mode 100644 vendor/bitpay/sdk/phpunit.xml create mode 100644 vendor/bitpay/sdk/ruleset.xml create mode 100644 vendor/bitpay/sdk/setup/.gitignore create mode 100644 vendor/bitpay/sdk/setup/BitPay.config-example.json create mode 100644 vendor/bitpay/sdk/setup/BitPay.config-example.yml create mode 100644 vendor/bitpay/sdk/setup/ConfigGenerator.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/BillClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/InvoiceClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/LedgerClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutRecipientsClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/RateClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/RefundClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/SettlementClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/TokenClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Client/WalletClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Env.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillCreationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillDeliveryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillUpdateException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BitPayException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCancellationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCreationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoicePaymentException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceUpdateException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCancellationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCreationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchNotificationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCancellationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCreationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutNotificationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCancellationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCreationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientNotificationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientUpdateException.php create mode 100755 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutUpdateException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCancellationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCreationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundNotificationException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundUpdateException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletQueryException.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Bill.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/BillStatus.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Item.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Currency.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Facade.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Buyer.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/BuyerProvidedInfo.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Invoice.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/InvoiceStatus.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/ItemizedDetails.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFees.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFeesItem.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Refund.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundInfo.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundStatus.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundWebhook.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Shopper.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrencies.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrency.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/UniversalCodes.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Buyer.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Ledger.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/LedgerEntry.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/Payout.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroup.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroupFailed.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipients.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutStatus.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutTransaction.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientReferenceMethod.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientStatus.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rate.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rates.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/InvoiceData.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/PayoutInfo.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/RefundInfo.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/Settlement.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/SettlementLedgerEntry.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/WithHoldings.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Currencies.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/CurrencyQr.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Wallet.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/PosClient.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Tokens.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Util/JsonMapperFactory.php create mode 100644 vendor/bitpay/sdk/src/BitPaySDK/Util/RESTcli/RESTcli.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/.gitignore create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/AbstractClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/BillClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/Config.php create mode 100755 vendor/bitpay/sdk/test/functional/BitPaySDK/InvoiceClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/LedgerClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutRecipientsClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/RateClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/RefundClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/SettlementsClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/TokenClientTest.php create mode 100644 vendor/bitpay/sdk/test/functional/BitPaySDK/WalletClientTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.yml create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/ClientTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillCreationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillDeliveryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillUpdateExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCancellationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCreationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoicePaymentExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceUpdateExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCancellationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCreationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchNotificationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCancellationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCreationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutNotificationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCancellationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCreationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientNotificationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientUpdateExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutUpdateExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCancellationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCreationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundNotificationExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundUpdateExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletQueryExceptionTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/BillTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/ItemTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/CurrencyTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/InvoiceTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesItemTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundInfoTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ShopperTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrenciesTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/UniversalCodesTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/BuyerTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerEntryTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientsTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RateTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RatesTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/InvoiceDataTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/PayoutInfoTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/RefundInfoTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementLedgerEntryTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/WithHoldingsTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/WalletTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/PrivateKeyNameUnit.key create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/TokensTest.php create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/bitpay_private_test.key create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/badResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/cancelPayoutGroupResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createBillResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createInvoiceResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupRequest.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createRefundResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/false.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBill.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBills.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyPairRate.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyRates.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoice.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoices.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgerBalances.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgers.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayout.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipient.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipients.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayouts.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getRates.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementReconciliationReportResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementsResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSupportedWalletsResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getTokensResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/payInvoiceResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/submitPayoutRecipientsResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/success.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateBillRequest.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updatePayoutRecipientResponse.json create mode 100644 vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateSubscription.json diff --git a/vendor/bitpay/sdk b/vendor/bitpay/sdk deleted file mode 160000 index 77d760c..0000000 --- a/vendor/bitpay/sdk +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 77d760ca6046bd2824f0e3dc886c838172ba9f4f diff --git a/vendor/bitpay/sdk/.gitignore b/vendor/bitpay/sdk/.gitignore new file mode 100644 index 0000000..c1c6fef --- /dev/null +++ b/vendor/bitpay/sdk/.gitignore @@ -0,0 +1,13 @@ +# IDE +.idea + +# Compose +/vendor/ +composer.phar + +# phpDocumentor +.phpdoc + +# PHPUnit +.phpunit.result.cache +test/unit/_html \ No newline at end of file diff --git a/vendor/bitpay/sdk/.travis.yml b/vendor/bitpay/sdk/.travis.yml new file mode 100644 index 0000000..3571289 --- /dev/null +++ b/vendor/bitpay/sdk/.travis.yml @@ -0,0 +1,5 @@ +language: php +php: + - 7.1 + - 7.2 + - 7.3 \ No newline at end of file diff --git a/vendor/bitpay/sdk/LICENSE b/vendor/bitpay/sdk/LICENSE new file mode 100644 index 0000000..4fd99de --- /dev/null +++ b/vendor/bitpay/sdk/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 BitPay + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/bitpay/sdk/README.md b/vendor/bitpay/sdk/README.md new file mode 100644 index 0000000..562b96a --- /dev/null +++ b/vendor/bitpay/sdk/README.md @@ -0,0 +1,92 @@ + + +# BitPay PHP Client +[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/bitpay/php-bitpay-client-v2/master/LICENSE) +[![Packagist](https://img.shields.io/packagist/v/bitpay/sdk.svg?style=flat-square)](https://packagist.org/packages/bitpay/sdk) +[![Total Downloads](https://poser.pugx.org/bitpay/sdk/downloads.svg)](https://packagist.org/packages/bitpay/sdk) +[![Latest Unstable Version](https://poser.pugx.org/bitpay/sdk/v/unstable.svg)](https://packagist.org/packages/bitpay/sdk) + +Full implementation of the BitPay Payment Gateway. This library implements BitPay's [Cryptographically Secure RESTful API](https://bitpay.com/api). + +Our Lite version will most likely be all you need to integrate to your site, available [here](https://github.com/bitpay/php-bitpay-light-client) + +## Getting Started + +To get up and running with our PHP library quickly, follow [the guide](https://bitpay.readme.io/reference/php-full-sdk-getting-started) + +## Support + +* https://github.com/bitpay/php-bitpay-client-v2/issues +* https://support.bitpay.com + +### Requirements + +- PHP version: 8.0 / 8.1 / 8.2 +- PHP extensions: json, reflection + +## Unit Tests +```php +./vendor/bin/phpunit --testsuite "Unit" +``` + +## Functional Tests + +To run functional tests you will need to perform the following steps. + +### Generate Configuration + + +Run the following command to generate `BitPay.config.yml`: + +```bash +composer setup +``` + +Copy `BitPay.config.yml` to the `test/functional/BitPaySDK` directory. + +Copy `PrivateKeyName.key` to the `setup` directory. + +### Create Recipient + +To submit requests you should: + +1. Create a recipient in https://test.bitpay.com/dashboard/payouts/recipients +2. Accept the invite in the recipient's email inbox +3. Create a file at `test/functional/BitPaySDK/email.txt` containing the email + address of the recipient you created in step 1. + +### Run the Functional Tests + +Run the following command to execute the functional tests: + +```php +./vendor/bin/phpunit --testsuite "Functional" +``` + +## Contribute + +To contribute to this project, please fork and submit a pull request. + +## License + +MIT License + +Copyright (c) 2019 BitPay + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/bitpay/sdk/composer.json b/vendor/bitpay/sdk/composer.json new file mode 100644 index 0000000..6153c63 --- /dev/null +++ b/vendor/bitpay/sdk/composer.json @@ -0,0 +1,48 @@ +{ + "name": "bitpay/sdk", + "description": "Complete version of the PHP library for the new cryptographically secure BitPay API", + "license": "MIT", + "minimum-stability": "stable", + "keywords": [ + "bitpay", + "bitcoin", + "cash", + "payment", + "gateway" + ], + "homepage": "https://github.com/bitpay/php-bitpay-client-v2", + "require": { + "php": "^8.0 || ^8.1 || ^8.2", + "ext-json": "*", + "ext-reflection": "*", + "bitpay/key-utils": "^1.1", + "guzzlehttp/guzzle": "^7.0", + "symfony/yaml": "^5.4 || ^6.0 || ^6.1 || ^6.2", + "netresearch/jsonmapper": "^4.1" + }, + "authors": [ + { + "name": "Antonio Buedo", + "email": "solutions-engineering@bitpay.com" + } + ], + "require-dev": { + "phpunit/phpunit": "^7.5 || ^9.0" + }, + "scripts": { + "setup": [ + "php setup/ConfigGenerator.php" + ] + }, + "autoload": { + "psr-4": { + "BitPaySDK\\": "src/BitPaySDK" + } + }, + "autoload-dev": { + "psr-4": { + "BitPaySDK\\Test\\": "test/unit/BitPaySDK", + "BitPaySDK\\Functional\\": "test/functional/BitPaySDK" + } + } +} diff --git a/vendor/bitpay/sdk/composer.lock b/vendor/bitpay/sdk/composer.lock new file mode 100644 index 0000000..3aab774 --- /dev/null +++ b/vendor/bitpay/sdk/composer.lock @@ -0,0 +1,2611 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "166649c0612b3f206f17e398bfb2f12b", + "packages": [ + { + "name": "bitpay/key-utils", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/bitpay/bitpay-php-keyutils.git", + "reference": "d17fe78d802f74103d730089ff7c3345fb25a9d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bitpay/bitpay-php-keyutils/zipball/d17fe78d802f74103d730089ff7c3345fb25a9d7", + "reference": "d17fe78d802f74103d730089ff7c3345fb25a9d7", + "shasum": "" + }, + "require": { + "ext-bcmath": "*", + "ext-curl": "*", + "ext-gmp": "*", + "ext-iconv": "*", + "ext-json": "*", + "ext-openssl": "*" + }, + "require-dev": { + "phpunit/phpunit": "^7.5 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Antonio Buedo", + "email": "sales-engineering@bitpay.com" + } + ], + "description": "BitPay Utils pack for cryptography", + "support": { + "issues": "https://github.com/bitpay/bitpay-php-keyutils/issues", + "source": "https://github.com/bitpay/bitpay-php-keyutils/tree/1.1.1" + }, + "time": "2022-10-17T13:58:20+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.5.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.9 || ^2.4", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "7.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-08-28T15:39:27+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "b94b2807d85443f9719887892882d0329d1e2598" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2022-08-28T14:55:35+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.4.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "67c26b443f348a51926030c83481b85718457d3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d", + "reference": "67c26b443f348a51926030c83481b85718457d3d", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2022-10-26T14:07:24+00:00" + }, + { + "name": "netresearch/jsonmapper", + "version": "v4.1.0", + "source": { + "type": "git", + "url": "https://github.com/cweiske/jsonmapper.git", + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "autoload": { + "psr-0": { + "JsonMapper": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "OSL-3.0" + ], + "authors": [ + { + "name": "Christian Weiske", + "email": "cweiske@cweiske.de", + "homepage": "http://github.com/cweiske/jsonmapper/", + "role": "Developer" + } + ], + "description": "Map nested JSON structures onto PHP classes", + "support": { + "email": "cweiske@cweiske.de", + "issues": "https://github.com/cweiske/jsonmapper/issues", + "source": "https://github.com/cweiske/jsonmapper/tree/v4.1.0" + }, + "time": "2022-12-08T20:46:14+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/1ee04c65529dea5d8744774d474e7cbd2f1206d3", + "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-25T10:21:52+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/yaml", + "version": "v6.2.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3", + "reference": "6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<5.4" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v6.2.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-12-14T16:11:27+00:00" + } + ], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2022-03-03T13:19:32+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.15.2", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", + "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.2" + }, + "time": "2022-11-12T15:38:23+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.23", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.14", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "*", + "ext-xdebug": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.23" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-12-28T12:41:10+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.5.27", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" + }, + "suggest": { + "ext-soap": "*", + "ext-xdebug": "*" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.5-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2022-12-09T07:31:23+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-04-03T09:37:03+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:03:37+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-02-14T08:28:10+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:17:30+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-12T14:47:03+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": "^8.0 || ^8.1 || ^8.2", + "ext-json": "*", + "ext-reflection": "*" + }, + "platform-dev": [], + "plugin-api-version": "2.3.0" +} diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-BillClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-BillClient.html new file mode 100644 index 0000000..3bcf7ed --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-BillClient.html @@ -0,0 +1,979 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
+

Documentation

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

+ BillClient + + +
+ in package + +
+ + +

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

+ Table of Contents + +

+ +
+
+ $instance + +  : self|null +
+
+ +
+ $restCli + +  : RESTcli +
+
+ +
+ $tokenCache + +  : Tokens +
+
+ +
+ create() + +  : Bill +
+
Create a BitPay Bill.
+ +
+ deliver() + +  : bool +
+
Deliver a BitPay Bill.
+ +
+ get() + +  : Bill +
+
Retrieve a BitPay bill by bill id using the specified facade.
+ +
+ getBills() + +  : array<string|int, Bill> +
+
Retrieve a collection of BitPay bills.
+ +
+ getInstance() + +  : static +
+
Factory method for Bill Client.
+ +
+ update() + +  : Bill +
+
Update a BitPay Bill.
+ +
+ __construct() + +  : mixed +
+
+ +
+ mapJsonToBillClass() + +  : mixed +
+
+ +
+ + + + + + +
+

+ Properties + +

+
+

+ $instance + + + +

+ + + + + private + static self|null + $instance + = null + +
+ +
+ + + +
+
+

+ $restCli + + + +

+ + + + + private + RESTcli + $restCli + + +
+ +
+ + + +
+
+

+ $tokenCache + + + +

+ + + + + private + Tokens + $tokenCache + + +
+ +
+ + + +
+
+ +
+

+ Methods + +

+
+

+ create() + +

+ + +

Create a BitPay Bill.

+ + + public + create(Bill $bill[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Bill + + +
Parameters
+
+
+ $bill + : Bill +
+
+

A Bill object with request parameters defined.

+
+ +
+
+ $facade + : string + = Facade::MERCHANT
+
+

The facade used to create it.

+
+ +
+
+ $signRequest + : bool + = true
+
+

Signed request.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ BitPayException + + +
+
+ +
Return values
+ Bill + — + + +
+
+

+ deliver() + +

+ + +

Deliver a BitPay Bill.

+ + + public + deliver(string $billId, string $billToken[, bool $signRequest = true ]) : bool + + +
Parameters
+
+
+ $billId + : string +
+
+

The id of the requested bill.

+
+ +
+
+ $billToken + : string +
+
+

The token of the requested bill.

+
+ +
+
+ $signRequest + : bool + = true
+
+

Allow unsigned request

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ BitPayException + + +
+
+ +
Return values
+ bool + — + + +
+
+

+ get() + +

+ + +

Retrieve a BitPay bill by bill id using the specified facade.

+ + + public + get( $billId[,  $facade = Facade::MERCHANT ][,  $signRequest = true ]) : Bill + + +
Parameters
+
+
+ $billId + : +
+
+

string The id of the bill to retrieve.

+
+ +
+
+ $facade + : + = Facade::MERCHANT
+
+

string The facade used to retrieve it.

+
+ +
+
+ $signRequest + : + = true
+
+

bool Signed request.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ BitPayException + + +
+
+ +
Return values
+ Bill + — + + +
+
+

+ getBills() + +

+ + +

Retrieve a collection of BitPay bills.

+ + + public + getBills([string $status = null ]) : array<string|int, Bill> + + +
Parameters
+
+
+ $status + : string + = null
+
+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ BitPayException + + +
+
+ +
Return values
+ array<string|int, Bill> + — + + +
+
+

+ getInstance() + +

+ + +

Factory method for Bill Client.

+ + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
Parameters
+
+
+ $tokenCache + : Tokens +
+
+ +
+
+ $restCli + : RESTcli +
+
+ +
+
+ + + +
Return values
+ static + — + + +
+
+

+ update() + +

+ + +

Update a BitPay Bill.

+ + + public + update(Bill $bill, string $billId) : Bill + + +
Parameters
+
+
+ $bill + : Bill +
+
+

A Bill object with the parameters to update defined.

+
+ +
+
+ $billId + : string +
+
+

The Id of the Bill to update.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ BitPayException + + +
+
+ +
Return values
+ Bill + — + + +
+
+

+ __construct() + +

+ + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
+ +
Parameters
+
+
+ $tokenCache + : Tokens +
+
+
+ +
+
+ $restCli + : RESTcli +
+
+
+ +
+
+ + + +
Return values
+ mixed + — + + +
+
+

+ mapJsonToBillClass() + +

+ + + + + private + mapJsonToBillClass(string|null $responseJson) : mixed + + +
Parameters
+
+
+ $responseJson + : string|null +
+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ JsonException + + +
+
+ throws +
+
+ JsonMapper_Exception + + +
+
+ +
Return values
+ mixed + — + + +
+
+ + + + +
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-InvoiceClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-InvoiceClient.html new file mode 100644 index 0000000..92ba12c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-InvoiceClient.html @@ -0,0 +1,1437 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
    +

    Documentation

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

    + InvoiceClient + + +
    + in package + +
    + + +

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

    + Table of Contents + +

    + +
    +
    + $instance + +  : self|null +
    +
    + +
    + $restCli + +  : RESTcli +
    +
    + +
    + $tokenCache + +  : Tokens +
    +
    + +
    + cancel() + +  : Invoice +
    +
    Cancel a BitPay invoice.
    + +
    + cancelByGuid() + +  : Invoice +
    +
    Cancel a BitPay invoice.
    + +
    + create() + +  : Invoice +
    +
    Create a BitPay invoice.
    + +
    + get() + +  : Invoice +
    +
    Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously +authorized for the specified facade (the public facade requires no authorization).
    + +
    + getByGuid() + +  : Invoice +
    +
    + +
    + getInstance() + +  : static +
    +
    Factory method for Invoice Client.
    + +
    + getInvoices() + +  : array<string|int, Invoice> +
    +
    Retrieve a collection of BitPay invoices.
    + +
    + pay() + +  : Invoice +
    +
    Pay an invoice with a mock transaction
    + +
    + requestNotification() + +  : bool +
    +
    Request a BitPay Invoice Webhook.
    + +
    + update() + +  : Invoice +
    +
    Update a BitPay invoice.
    + +
    + __construct() + +  : mixed +
    +
    + +
    + buyerEmailOrSms() + +  : bool +
    +
    Check if buyerEmail or buyerSms is present, and not both.
    + +
    + isSmsCodeRequired() + +  : bool +
    +
    Check if smsCode is required.
    + +
    + + + + + + +
    +

    + Properties + +

    +
    +

    + $instance + + + +

    + + + + + private + static self|null + $instance + = null + +
    + +
    + + + +
    + +
    +

    + $tokenCache + + + +

    + + + + + private + Tokens + $tokenCache + + +
    + +
    + + + +
    +
    + +
    +

    + Methods + +

    +
    +

    + cancel() + +

    + + +

    Cancel a BitPay invoice.

    + + + public + cancel(string $invoiceId[, bool $forceCancel = false ]) : Invoice + + +
    Parameters
    +
    +
    + $invoiceId + : string +
    +
    +

    The id of the invoice to updated.

    +
    + +
    +
    + $forceCancel + : bool + = false
    +
    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoiceCancellationException + + +
    +
    + throws +
    +
    + BitPayException + + +
    +
    + +
    Return values
    + Invoice + — +

    $invoice Cancelled invoice object.

    +
    + + +
    +
    +

    + cancelByGuid() + +

    + + +

    Cancel a BitPay invoice.

    + + + public + cancelByGuid(string $guid[, bool $forceCancel = false ]) : Invoice + + +
    Parameters
    +
    +
    + $guid + : string +
    +
    +

    The guid of the invoice to cancel.

    +
    + +
    +
    + $forceCancel + : bool + = false
    +
    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoiceCancellationException + + +
    +
    + throws +
    +
    + BitPayException + + +
    +
    + +
    Return values
    + Invoice + — +

    $invoice Cancelled invoice object.

    +
    + + +
    +
    +

    + create() + +

    + + +

    Create a BitPay invoice.

    + + + public + create(Invoice $invoice[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
    Parameters
    +
    +
    + $invoice + : Invoice +
    +
    +

    An Invoice object with request parameters defined.

    +
    + +
    +
    + $facade + : string + = Facade::MERCHANT
    +
    +

    The facade used to create it.

    +
    + +
    +
    + $signRequest + : bool + = true
    +
    +

    Signed request.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + BitPayException + + +
    +
    + +
    Return values
    + Invoice + — + + +
    +
    +

    + get() + +

    + + +

    Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously +authorized for the specified facade (the public facade requires no authorization).

    + + + public + get(string $invoiceId[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
    Parameters
    +
    +
    + $invoiceId + : string +
    +
    +

    The id of the invoice to retrieve.

    +
    + +
    +
    + $facade + : string + = Facade::MERCHANT
    +
    +

    The facade used to create it.

    +
    + +
    +
    + $signRequest + : bool + = true
    +
    +

    Signed request.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoiceQueryException + + +
    +
    + +
    Return values
    + Invoice + — + + +
    +
    +

    + getByGuid() + +

    + + + + + public + getByGuid(string $guid[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
    Parameters
    +
    +
    + $guid + : string +
    +
    + +
    +
    + $facade + : string + = Facade::MERCHANT
    +
    + +
    +
    + $signRequest + : bool + = true
    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoiceQueryException + + +
    +
    + +
    Return values
    + Invoice + — + + +
    +
    +

    + getInstance() + +

    + + +

    Factory method for Invoice Client.

    + + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
    Parameters
    +
    +
    + $tokenCache + : Tokens +
    +
    + +
    +
    + $restCli + : RESTcli +
    +
    + +
    +
    + + + +
    Return values
    + static + — + + +
    +
    +

    + getInvoices() + +

    + + +

    Retrieve a collection of BitPay invoices.

    + + + public + getInvoices(string $dateStart, string $dateEnd[, string|null $status = null ][, string|null $orderId = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Invoice> + + +
    Parameters
    +
    +
    + $dateStart + : string +
    +
    +

    The start of the date window to query for invoices. Format YYYY-MM-DD.

    +
    + +
    +
    + $dateEnd + : string +
    +
    +

    The end of the date window to query for invoices. Format YYYY-MM-DD.

    +
    + +
    +
    + $status + : string|null + = null
    +
    +

    The invoice status you want to query on.

    +
    + +
    +
    + $orderId + : string|null + = null
    +
    +

    The optional order id specified at time of invoice creation.

    +
    + +
    +
    + $limit + : int|null + = null
    +
    +

    Maximum results that the query will return (useful for paging results).

    +
    + +
    +
    + $offset + : int|null + = null
    +
    +

    Number of results to offset (ex. skip 10 will give you results starting +with the 11th result).

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + BitPayException + + +
    +
    + +
    Return values
    + array<string|int, Invoice> + — + + +
    +
    +

    + pay() + +

    + + +

    Pay an invoice with a mock transaction

    + + + public + pay(string $invoiceId[, string $status = 'confirmed' ]) : Invoice + + +
    Parameters
    +
    +
    + $invoiceId + : string +
    +
    +

    The id of the invoice.

    +
    + +
    +
    + $status + : string + = 'confirmed'
    +
    +

    Status the invoice will become. Acceptable values are confirmed (default) and complete.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoicePaymentException + + +
    +
    + throws +
    +
    + BitPayException + + +
    +
    + +
    Return values
    + Invoice + — +

    $invoice Invoice object.

    +
    + + +
    +
    +

    + requestNotification() + +

    + + +

    Request a BitPay Invoice Webhook.

    + + + public + requestNotification(string $invoiceId) : bool + + +
    Parameters
    +
    +
    + $invoiceId + : string +
    +
    +

    A BitPay invoice ID.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoiceQueryException + + +
    +
    + throws +
    +
    + BitPayException + + +
    +
    + +
    Return values
    + bool + — +

    True if the webhook was successfully requested, false otherwise.

    +
    + + +
    +
    +

    + update() + +

    + + +

    Update a BitPay invoice.

    + + + public + update(string $invoiceId, string|null $buyerSms, string|null $smsCode, string|null $buyerEmail[, false $autoVerify = false ]) : Invoice + + +
    Parameters
    +
    +
    + $invoiceId + : string +
    +
    +

    The id of the invoice to updated.

    +
    + +
    +
    + $buyerSms + : string|null +
    +
    +

    The buyer's cell number.

    +
    + +
    +
    + $smsCode + : string|null +
    +
    +

    The buyer's received verification code.

    +
    + +
    +
    + $buyerEmail + : string|null +
    +
    +

    The buyer's email address.

    +
    + +
    +
    + $autoVerify + : false + = false
    +
    +

    Skip the user verification on sandbox ONLY.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + throws +
    +
    + InvoiceUpdateException + + +
    +
    + +
    Return values
    + Invoice + — + + +
    +
    +

    + __construct() + +

    + + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
    + +
    Parameters
    +
    +
    + $tokenCache + : Tokens +
    +
    +
    + +
    +
    + $restCli + : RESTcli +
    +
    +
    + +
    +
    + + + +
    Return values
    + mixed + — + + +
    +
    +

    + buyerEmailOrSms() + +

    + + +

    Check if buyerEmail or buyerSms is present, and not both.

    + + + private + buyerEmailOrSms(string|null $buyerEmail, string|null $buyerSms) : bool + + +
    Parameters
    +
    +
    + $buyerEmail + : string|null +
    +
    +

    The buyer's email address.

    +
    + +
    +
    + $buyerSms + : string|null +
    +
    +

    The buyer's cell number.

    +
    + +
    +
    + + + +
    Return values
    + bool + — + + +
    +
    +

    + isSmsCodeRequired() + +

    + + +

    Check if smsCode is required.

    + + + private + isSmsCodeRequired(bool $autoVerify, string $buyerSms, string $smsCode) : bool + + +
    Parameters
    +
    +
    + $autoVerify + : bool +
    +
    +

    Skip the user verification on sandbox ONLY.

    +
    + +
    +
    + $buyerSms + : string +
    +
    +

    The buyer's cell number.

    +
    + +
    +
    + $smsCode + : string +
    +
    +

    The buyer's received verification code.

    +
    + +
    +
    + + + +
    Return values
    + bool + — + + +
    +
    + + + + +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-LedgerClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-LedgerClient.html new file mode 100644 index 0000000..14da987 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-LedgerClient.html @@ -0,0 +1,658 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
      +

      Documentation

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

      + LedgerClient + + +
      + in package + +
      + + +

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

      + Table of Contents + +

      + +
      +
      + $instance + +  : self|null +
      +
      + +
      + $restCli + +  : RESTcli +
      +
      + +
      + $tokenCache + +  : Tokens +
      +
      + +
      + get() + +  : array<string|int, LedgerEntry> +
      +
      Retrieve a list of ledgers by date range using the merchant facade.
      + +
      + getInstance() + +  : static +
      +
      Factory method for Ledger Client.
      + +
      + getLedgers() + +  : array<string|int, Ledger> +
      +
      Retrieve a list of ledgers using the merchant facade.
      + +
      + __construct() + +  : mixed +
      +
      + +
      + + + + + + +
      +

      + Properties + +

      +
      +

      + $instance + + + +

      + + + + + private + static self|null + $instance + = null + +
      + +
      + + + +
      + +
      +

      + $tokenCache + + + +

      + + + + + private + Tokens + $tokenCache + + +
      + +
      + + + +
      +
      + +
      +

      + Methods + +

      +
      +

      + get() + +

      + + +

      Retrieve a list of ledgers by date range using the merchant facade.

      + + + public + get(string $currency, string $startDate, string $endDate) : array<string|int, LedgerEntry> + + +
      Parameters
      +
      +
      + $currency + : string +
      +
      +

      The three digit currency string for the ledger to retrieve.

      +
      + +
      +
      + $startDate + : string +
      +
      +

      The first date for the query filter.

      +
      + +
      +
      + $endDate + : string +
      +
      +

      The last date for the query filter.

      +
      + +
      +
      + + +
      + Tags + +
      +
      +
      + throws +
      +
      + LedgerQueryException + + +
      +
      + +
      Return values
      + array<string|int, LedgerEntry> + — +

      A Ledger object populated with the BitPay ledger entries list.

      +
      + + +
      +
      +

      + getInstance() + +

      + + +

      Factory method for Ledger Client.

      + + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
      Parameters
      +
      +
      + $tokenCache + : Tokens +
      +
      + +
      +
      + $restCli + : RESTcli +
      +
      + +
      +
      + + + +
      Return values
      + static + — + + +
      +
      +

      + getLedgers() + +

      + + +

      Retrieve a list of ledgers using the merchant facade.

      + + + public + getLedgers() : array<string|int, Ledger> + + + + +
      + Tags + +
      +
      +
      + throws +
      +
      + BitPayException + + +
      +
      + +
      Return values
      + array<string|int, Ledger> + — +

      A list of Ledger objects populated with the currency and current balance of each one.

      +
      + + +
      +
      +

      + __construct() + +

      + + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
      + +
      Parameters
      +
      +
      + $tokenCache + : Tokens +
      +
      +
      + +
      +
      + $restCli + : RESTcli +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — + + +
      +
      + + + + +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutClient.html new file mode 100644 index 0000000..4f30f7e --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutClient.html @@ -0,0 +1,1095 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
        +

        Documentation

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

        + PayoutClient + + +
        + in package + +
        + + +

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

        + Table of Contents + +

        + +
        +
        + $instance + +  : self|null +
        +
        + +
        + $restCli + +  : RESTcli +
        +
        + +
        + $tokenCache + +  : Tokens +
        +
        + +
        + cancel() + +  : bool +
        +
        Cancel a BitPay Payout.
        + +
        + cancelGroup() + +  : PayoutGroup +
        +
        + +
        + createGroup() + +  : PayoutGroup +
        +
        + +
        + get() + +  : Payout +
        +
        Retrieve a BitPay payout by payout id using. The client must have been previously authorized +for the payout facade.
        + +
        + getInstance() + +  : static +
        +
        Factory method for Payout Client.
        + +
        + getPayouts() + +  : array<string|int, Payout> +
        +
        Retrieve a collection of BitPay payouts.
        + +
        + requestNotification() + +  : bool +
        +
        Notify BitPay Payout.
        + +
        + submit() + +  : Payout +
        +
        Submit a BitPay Payout.
        + +
        + __construct() + +  : mixed +
        +
        + +
        + getPayoutGroupResponse() + +  : PayoutGroup +
        +
        + +
        + + + + + + +
        +

        + Properties + +

        +
        +

        + $instance + + + +

        + + + + + private + static self|null + $instance + = null + +
        + +
        + + + +
        + +
        +

        + $tokenCache + + + +

        + + + + + private + Tokens + $tokenCache + + +
        + +
        + + + +
        +
        + +
        +

        + Methods + +

        +
        +

        + cancel() + +

        + + +

        Cancel a BitPay Payout.

        + + + public + cancel(string $payoutId) : bool + + +
        Parameters
        +
        +
        + $payoutId + : string +
        +
        +

        The id of the payout to cancel.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + throws +
        +
        + PayoutCancellationException + + +
        +
        + +
        Return values
        + bool + — + + +
        + + +
        +

        + get() + +

        + + +

        Retrieve a BitPay payout by payout id using. The client must have been previously authorized +for the payout facade.

        + + + public + get(string $payoutId) : Payout + + +
        Parameters
        +
        +
        + $payoutId + : string +
        +
        +

        The id of the payout to retrieve.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + throws +
        +
        + PayoutQueryException + + +
        +
        + +
        Return values
        + Payout + — + + +
        +
        +

        + getInstance() + +

        + + +

        Factory method for Payout Client.

        + + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
        Parameters
        +
        +
        + $tokenCache + : Tokens +
        +
        + +
        +
        + $restCli + : RESTcli +
        +
        + +
        +
        + + + +
        Return values
        + static + — + + +
        +
        +

        + getPayouts() + +

        + + +

        Retrieve a collection of BitPay payouts.

        + + + public + getPayouts([string|null $startDate = null ][, string|null $endDate = null ][, string|null $status = null ][, string|null $reference = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Payout> + + +
        Parameters
        +
        +
        + $startDate + : string|null + = null
        +
        +

        The start date to filter the Payout Batches.

        +
        + +
        +
        + $endDate + : string|null + = null
        +
        +

        The end date to filter the Payout Batches.

        +
        + +
        +
        + $status + : string|null + = null
        +
        +

        The status to filter the Payout Batches.

        +
        + +
        +
        + $reference + : string|null + = null
        +
        +

        The optional reference specified at payout request creation.

        +
        + +
        +
        + $limit + : int|null + = null
        +
        +

        Maximum results that the query will return (useful for paging results).

        +
        + +
        +
        + $offset + : int|null + = null
        +
        +

        Number of results to offset (ex. skip 10 will give you results +starting with the 11th result).

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + throws +
        +
        + PayoutQueryException + + +
        +
        + +
        Return values
        + array<string|int, Payout> + — + + +
        +
        +

        + requestNotification() + +

        + + +

        Notify BitPay Payout.

        + + + public + requestNotification(string $payoutId) : bool + + +
        Parameters
        +
        +
        + $payoutId + : string +
        +
        +

        The id of the Payout to notify.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + throws +
        +
        + PayoutNotificationException + +

        BitPayException class

        +
        + +
        +
        + +
        Return values
        + bool + — + + +
        +
        +

        + submit() + +

        + + +

        Submit a BitPay Payout.

        + + + public + submit(Payout $payout) : Payout + + +
        Parameters
        +
        +
        + $payout + : Payout +
        +
        +

        A Payout object with request parameters defined.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + throws +
        +
        + PayoutCreationException + + +
        +
        + +
        Return values
        + Payout + — + + +
        +
        +

        + __construct() + +

        + + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
        + +
        Parameters
        +
        +
        + $tokenCache + : Tokens +
        +
        +
        + +
        +
        + $restCli + : RESTcli +
        +
        +
        + +
        +
        + + + +
        Return values
        + mixed + — + + +
        +
        +

        + getPayoutGroupResponse() + +

        + + + + + private + getPayoutGroupResponse(string $responseJson, string $responseType) : PayoutGroup + + +
        Parameters
        +
        +
        + $responseJson + : string +
        +
        + +
        +
        + $responseType + : string +
        +
        +

        completed/cancelled

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + throws +
        +
        + PayoutCreationException + + +
        +
        + +
        Return values
        + PayoutGroup + — + + +
        +
        + + + + +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutRecipientsClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutRecipientsClient.html new file mode 100644 index 0000000..51f35ef --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-PayoutRecipientsClient.html @@ -0,0 +1,948 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
          +

          Documentation

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

          + PayoutRecipientsClient + + +
          + in package + +
          + + +

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

          + Table of Contents + +

          + +
          +
          + $instance + +  : self|null +
          +
          + +
          + $restCli + +  : RESTcli +
          +
          + +
          + $tokenCache + +  : Tokens +
          +
          + +
          + delete() + +  : bool +
          +
          Delete a Payout Recipient.
          + +
          + get() + +  : PayoutRecipient +
          +
          Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the +payout facade.
          + +
          + getInstance() + +  : static +
          +
          Factory method for Payout Recipients Client.
          + +
          + getPayoutRecipients() + +  : array<string|int, PayoutRecipient> +
          +
          Retrieve a collection of BitPay Payout Recipients.
          + +
          + requestNotification() + +  : bool +
          +
          Notify BitPay Payout Recipient.
          + +
          + submit() + +  : array<string|int, PayoutRecipients> +
          +
          Submit BitPay Payout Recipients.
          + +
          + update() + +  : PayoutRecipient +
          +
          Update a Payout Recipient.
          + +
          + __construct() + +  : mixed +
          +
          + +
          + + + + + + +
          +

          + Properties + +

          +
          +

          + $instance + + + +

          + + + + + private + static self|null + $instance + = null + +
          + +
          + + + +
          + + +
          + +
          +

          + Methods + +

          +
          +

          + delete() + +

          + + +

          Delete a Payout Recipient.

          + + + public + delete(string $recipientId) : bool + + +
          Parameters
          +
          +
          + $recipientId + : string +
          +
          +

          The recipient id for the recipient to be deleted.

          +
          + +
          +
          + + +
          + Tags + +
          +
          +
          + throws +
          +
          + PayoutRecipientCancellationException + + +
          +
          + +
          Return values
          + bool + — +

          True if the recipient was successfully deleted, false otherwise.

          +
          + + +
          + +
          +

          + getInstance() + +

          + + +

          Factory method for Payout Recipients Client.

          + + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
          Parameters
          +
          +
          + $tokenCache + : Tokens +
          +
          + +
          +
          + $restCli + : RESTcli +
          +
          + +
          +
          + + + +
          Return values
          + static + — + + +
          +
          +

          + getPayoutRecipients() + +

          + + +

          Retrieve a collection of BitPay Payout Recipients.

          + + + public + getPayoutRecipients([string|null $status = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, PayoutRecipient> + + +
          Parameters
          +
          +
          + $status + : string|null + = null
          +
          +

          The recipient status you want to query on.

          +
          + +
          +
          + $limit + : int|null + = null
          +
          +

          Maximum results that the query will return (useful for paging results).

          +
          + +
          +
          + $offset + : int|null + = null
          +
          +

          Number of results to offset (ex. skip 10 will give you results +starting with the 11th result).

          +
          + +
          +
          + + +
          + Tags + +
          +
          +
          + throws +
          +
          + BitPayException + + +
          +
          + +
          Return values
          + array<string|int, PayoutRecipient> + — + + +
          +
          +

          + requestNotification() + +

          + + +

          Notify BitPay Payout Recipient.

          + + + public + requestNotification(string $recipientId) : bool + + +
          Parameters
          +
          +
          + $recipientId + : string +
          +
          +

          The id of the recipient to notify.

          +
          + +
          +
          + + +
          + Tags + +
          +
          +
          + throws +
          +
          + PayoutRecipientNotificationException + + +
          +
          + +
          Return values
          + bool + — +

          True if the notification was successfully sent, false otherwise.

          +
          + + +
          +
          +

          + submit() + +

          + + +

          Submit BitPay Payout Recipients.

          + + + public + submit(PayoutRecipients $recipients) : array<string|int, PayoutRecipients> + + +
          Parameters
          +
          +
          + $recipients + : PayoutRecipients +
          +
          +

          A PayoutRecipients object with request parameters defined.

          +
          + +
          +
          + + +
          + Tags + +
          +
          +
          + throws +
          +
          + PayoutRecipientCreationException + + +
          +
          + +
          Return values
          + array<string|int, PayoutRecipients> + — +

          A list of BitPay PayoutRecipients objects.

          +
          + + +
          +
          +

          + update() + +

          + + +

          Update a Payout Recipient.

          + + + public + update(string $recipientId, PayoutRecipient $recipient) : PayoutRecipient + + +
          Parameters
          +
          +
          + $recipientId + : string +
          +
          +

          The recipient id for the recipient to be updated.

          +
          + +
          +
          + $recipient + : PayoutRecipient +
          +
          +

          A PayoutRecipient object with updated parameters defined.

          +
          + +
          +
          + + +
          + Tags + +
          +
          +
          + throws +
          +
          + PayoutRecipientUpdateException + + +
          +
          + +
          Return values
          + PayoutRecipient + — + + +
          +
          +

          + __construct() + +

          + + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
          + +
          Parameters
          +
          +
          + $tokenCache + : Tokens +
          +
          +
          + +
          +
          + $restCli + : RESTcli +
          +
          +
          + +
          +
          + + + +
          Return values
          + mixed + — + + +
          +
          + + + + +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            +
            + + +
            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RateClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RateClient.html new file mode 100644 index 0000000..f8932ce --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RateClient.html @@ -0,0 +1,661 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
            +

            Documentation

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

            + RateClient + + +
            + in package + +
            + + +

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

            + Table of Contents + +

            + +
            +
            + $instance + +  : self|null +
            +
            + +
            + $restCli + +  : RESTcli +
            +
            + +
            + getCurrencyPairRate() + +  : Rate +
            +
            Retrieve the rate for a cryptocurrency / fiat pair
            + +
            + getCurrencyRates() + +  : Rates +
            +
            Retrieve all the rates for a given cryptocurrency
            + +
            + getInstance() + +  : static +
            +
            Factory method for Rate Client.
            + +
            + getRates() + +  : Rates +
            +
            Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.
            + +
            + __construct() + +  : mixed +
            +
            + +
            + + + + + + +
            +

            + Properties + +

            +
            +

            + $instance + + + +

            + + + + + private + static self|null + $instance + = null + +
            + +
            + + + +
            +
            +

            + $restCli + + + +

            + + + + + private + RESTcli + $restCli + + +
            + +
            + + + +
            +
            + +
            +

            + Methods + +

            +
            +

            + getCurrencyPairRate() + +

            + + +

            Retrieve the rate for a cryptocurrency / fiat pair

            + + + public + getCurrencyPairRate(string $baseCurrency, string $currency) : Rate + + +
            Parameters
            +
            +
            + $baseCurrency + : string +
            +
            +

            The cryptocurrency for which you want to fetch the fiat-equivalent rate. +Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC

            +
            + +
            +
            + $currency + : string +
            +
            +

            The fiat currency for which you want to fetch the baseCurrency rate

            +
            + +
            +
            + + +
            + Tags + +
            +
            +
            + throws +
            +
            + BitPayException + + +
            +
            + +
            Return values
            + Rate + — +

            A Rate object populated with the currency rate for the requested baseCurrency.

            +
            + + +
            +
            +

            + getCurrencyRates() + +

            + + +

            Retrieve all the rates for a given cryptocurrency

            + + + public + getCurrencyRates(string $baseCurrency) : Rates + + +
            Parameters
            +
            +
            + $baseCurrency + : string +
            +
            +

            The cryptocurrency for which you want to fetch the rates. +Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC

            +
            + +
            +
            + + +
            + Tags + +
            +
            +
            + throws +
            +
            + BitPayException + + +
            +
            + +
            Return values
            + Rates + — +

            A Rates object populated with the currency rates for the requested baseCurrency.

            +
            + + +
            +
            +

            + getInstance() + +

            + + +

            Factory method for Rate Client.

            + + + public + static getInstance(RESTcli $restCli) : static + + +
            Parameters
            +
            +
            + $restCli + : RESTcli +
            +
            + +
            +
            + + + +
            Return values
            + static + — + + +
            +
            +

            + getRates() + +

            + + +

            Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.

            + + + public + getRates() : Rates + + + + +
            + Tags + +
            +
            +
            + throws +
            +
            + BitPayException + + +
            +
            + +
            Return values
            + Rates + — + + +
            +
            +

            + __construct() + +

            + + + + + private + __construct(RESTcli $restCli) : mixed + +
            + +
            Parameters
            +
            +
            + $restCli + : RESTcli +
            +
            +
            + +
            +
            + + + +
            Return values
            + mixed + — + + +
            +
            + + + + +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              +
              + + +
              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RefundClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RefundClient.html new file mode 100644 index 0000000..3acc164 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-RefundClient.html @@ -0,0 +1,1374 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
              +

              Documentation

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

              + RefundClient + + +
              + in package + +
              + + +

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

              + Table of Contents + +

              + +
              +
              + $instance + +  : self|null +
              +
              + +
              + $restCli + +  : RESTcli +
              +
              + +
              + $tokenCache + +  : Tokens +
              +
              + +
              + cancel() + +  : Refund +
              +
              Cancel a previously submitted refund request on a BitPay invoice.
              + +
              + cancelByGuid() + +  : Refund +
              +
              Cancel a previously submitted refund request on a BitPay invoice.
              + +
              + create() + +  : Refund +
              +
              Create a refund for a BitPay invoice.
              + +
              + get() + +  : Refund +
              +
              Retrieve a previously made refund request on a BitPay invoice.
              + +
              + getByGuid() + +  : Refund +
              +
              Retrieve a previously made refund request on a BitPay invoice by guid.
              + +
              + getInstance() + +  : static +
              +
              Factory method for Bill Client.
              + +
              + getRefunds() + +  : array<string|int, Refund> +
              +
              Retrieve all refund requests on a BitPay invoice.
              + +
              + sendNotification() + +  : bool +
              +
              Send a refund notification.
              + +
              + update() + +  : Refund +
              +
              Update the status of a BitPay invoice.
              + +
              + updateByGuid() + +  : Refund +
              +
              Update the status of a BitPay invoice.
              + +
              + __construct() + +  : mixed +
              +
              + +
              + + + + + + +
              +

              + Properties + +

              +
              +

              + $instance + + + +

              + + + + + private + static self|null + $instance + = null + +
              + +
              + + + +
              + +
              +

              + $tokenCache + + + +

              + + + + + private + Tokens + $tokenCache + + +
              + +
              + + + +
              +
              + +
              +

              + Methods + +

              +
              +

              + cancel() + +

              + + +

              Cancel a previously submitted refund request on a BitPay invoice.

              + + + public + cancel(string $refundId) : Refund + + +
              Parameters
              +
              +
              + $refundId + : string +
              +
              +

              The refund Id for the refund to be canceled.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundCancellationException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + +
              Return values
              + Refund + — +

              $refund Cancelled refund Object.

              +
              + + +
              +
              +

              + cancelByGuid() + +

              + + +

              Cancel a previously submitted refund request on a BitPay invoice.

              + + + public + cancelByGuid(string $guid) : Refund + + +
              Parameters
              +
              +
              + $guid + : string +
              +
              +

              The refund Guid for the refund to be canceled.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundCancellationException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + since +
              +
              + 7.2.0 + + +
              +
              + +
              Return values
              + Refund + — +

              $refund Cancelled refund Object.

              +
              + + +
              +
              +

              + create() + +

              + + +

              Create a refund for a BitPay invoice.

              + + + public + create(string $invoiceId, float $amount, string $currency[, bool $preview = false ][, bool $immediate = false ][, bool $buyerPaysRefundFee = false ][, string|null $guid = null ]) : Refund + + +
              Parameters
              +
              +
              + $invoiceId + : string +
              +
              +

              The BitPay invoice Id having the associated refund to be created.

              +
              + +
              +
              + $amount + : float +
              +
              +

              Amount to be refunded in the currency indicated.

              +
              + +
              +
              + $currency + : string +
              +
              +

              Reference currency used for the refund, usually the same as the currency used +to create the invoice.

              +
              + +
              +
              + $preview + : bool + = false
              +
              +

              Whether to create the refund request as a preview (which will not be acted on +until status is updated)

              +
              + +
              +
              + $immediate + : bool + = false
              +
              +

              Whether funds should be removed from merchant ledger immediately on submission +or at time of processing

              +
              + +
              +
              + $buyerPaysRefundFee + : bool + = false
              +
              +

              Whether the buyer should pay the refund fee (default is merchant)

              +
              + +
              +
              + $guid + : string|null + = null
              +
              +

              Variable provided by the merchant and designed to be used by the merchant to +correlate the refund with a refund ID in their system

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundCreationException + +

              RefundCreationException class

              +
              + +
              +
              + throws +
              +
              + BitPayException + +

              BitPayException class*@throws Exception

              +
              + +
              +
              + throws +
              +
              + Exception + + +
              +
              + since +
              +
              + 7.2.0) + + +
              +
              + +
              Return values
              + Refund + — +

              $refund An updated Refund Object

              +
              + + +
              +
              +

              + get() + +

              + + +

              Retrieve a previously made refund request on a BitPay invoice.

              + + + public + get(string $refundId) : Refund + + +
              Parameters
              +
              +
              + $refundId + : string +
              +
              +

              The BitPay refund ID.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundQueryException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + +
              Return values
              + Refund + — +

              $refund BitPay Refund object with the associated Refund object.

              +
              + + +
              +
              +

              + getByGuid() + +

              + + +

              Retrieve a previously made refund request on a BitPay invoice by guid.

              + + + public + getByGuid(string $guid) : Refund + + +
              Parameters
              +
              +
              + $guid + : string +
              +
              +

              The BitPay refund Guid.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundQueryException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + since +
              +
              + 7.2.0 + + +
              +
              + +
              Return values
              + Refund + — +

              $refund BitPay Refund object with the associated Refund object.

              +
              + + +
              +
              +

              + getInstance() + +

              + + +

              Factory method for Bill Client.

              + + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
              Parameters
              +
              +
              + $tokenCache + : Tokens +
              +
              + +
              +
              + $restCli + : RESTcli +
              +
              + +
              +
              + + + +
              Return values
              + static + — + + +
              +
              +

              + getRefunds() + +

              + + +

              Retrieve all refund requests on a BitPay invoice.

              + + + public + getRefunds(string $invoiceId) : array<string|int, Refund> + + +
              Parameters
              +
              +
              + $invoiceId + : string +
              +
              +

              The BitPay invoice object having the associated refunds.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundQueryException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + +
              Return values
              + array<string|int, Refund> + — + + +
              +
              +

              + sendNotification() + +

              + + +

              Send a refund notification.

              + + + public + sendNotification(string $refundId) : bool + + +
              Parameters
              +
              +
              + $refundId + : string +
              +
              +

              A BitPay refund ID.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + +
              Return values
              + bool + — +

              $result An updated Refund Object

              +
              + + +
              +
              +

              + update() + +

              + + +

              Update the status of a BitPay invoice.

              + + + public + update(string $refundId, string $status) : Refund + + +
              Parameters
              +
              +
              + $refundId + : string +
              +
              +

              BitPay refund ID.

              +
              + +
              +
              + $status + : string +
              +
              +

              The new status for the refund to be updated.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundUpdateException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + +
              Return values
              + Refund + — +

              $refund Refund A BitPay generated Refund object.

              +
              + + +
              +
              +

              + updateByGuid() + +

              + + +

              Update the status of a BitPay invoice.

              + + + public + updateByGuid(string $guid, string $status) : Refund + + +
              Parameters
              +
              +
              + $guid + : string +
              +
              +

              BitPay refund Guid.

              +
              + +
              +
              + $status + : string +
              +
              +

              The new status for the refund to be updated.

              +
              + +
              +
              + + +
              + Tags + +
              +
              +
              + throws +
              +
              + RefundUpdateException + + +
              +
              + throws +
              +
              + BitPayException + + +
              +
              + throws +
              +
              + Exception + + +
              +
              + since +
              +
              + 7.2.0 + + +
              +
              + +
              Return values
              + Refund + — +

              $refund Refund A BitPay generated Refund object.

              +
              + + +
              +
              +

              + __construct() + +

              + + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
              + +
              Parameters
              +
              +
              + $tokenCache + : Tokens +
              +
              +
              + +
              +
              + $restCli + : RESTcli +
              +
              +
              + +
              +
              + + + +
              Return values
              + mixed + — + + +
              +
              + + + + +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-SettlementClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-SettlementClient.html new file mode 100644 index 0000000..33e282f --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-SettlementClient.html @@ -0,0 +1,762 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                +

                Documentation

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

                + SettlementClient + + +
                + in package + +
                + + +

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

                + Table of Contents + +

                + +
                +
                + $instance + +  : self|null +
                +
                + +
                + $restCli + +  : RESTcli +
                +
                + +
                + $tokenCache + +  : Tokens +
                +
                + +
                + get() + +  : Settlement +
                +
                Retrieves a summary of the specified settlement.
                + +
                + getInstance() + +  : static +
                +
                Factory method for Settlements Client.
                + +
                + getReconciliationReport() + +  : Settlement +
                +
                Gets a detailed reconciliation report of the activity within the settlement period.
                + +
                + getSettlements() + +  : array<string|int, Settlement> +
                +
                Retrieves settlement reports for the calling merchant filtered by query.
                + +
                + __construct() + +  : mixed +
                +
                + +
                + + + + + + +
                +

                + Properties + +

                +
                +

                + $instance + + + +

                + + + + + private + static self|null + $instance + = null + +
                + +
                + + + +
                + + +
                + +
                +

                + Methods + +

                +
                +

                + get() + +

                + + +

                Retrieves a summary of the specified settlement.

                + + + public + get(string $settlementId) : Settlement + + +
                Parameters
                +
                +
                + $settlementId + : string +
                +
                +

                Settlement Id.

                +
                + +
                +
                + + +
                + Tags + +
                +
                +
                + throws +
                +
                + BitPayException + + +
                +
                + +
                Return values
                + Settlement + — + + +
                +
                +

                + getInstance() + +

                + + +

                Factory method for Settlements Client.

                + + + public + static getInstance(Tokens $tokenCache, RESTcli $restCli) : static + + +
                Parameters
                +
                +
                + $tokenCache + : Tokens +
                +
                + +
                +
                + $restCli + : RESTcli +
                +
                + +
                +
                + + + +
                Return values
                + static + — + + +
                +
                +

                + getReconciliationReport() + +

                + + +

                Gets a detailed reconciliation report of the activity within the settlement period.

                + + + public + getReconciliationReport(Settlement $settlement) : Settlement + + +
                Parameters
                +
                +
                + $settlement + : Settlement +
                +
                +

                Settlement to generate report for.

                +
                + +
                +
                + + +
                + Tags + +
                +
                +
                + throws +
                +
                + BitPayException + + +
                +
                + +
                Return values
                + Settlement + — + + +
                +
                +

                + getSettlements() + +

                + + +

                Retrieves settlement reports for the calling merchant filtered by query.

                + + + public + getSettlements(string $currency, string $dateStart, string $dateEnd[, string|null $status = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Settlement> + +

                The limit and offset parameters +specify pages for large query sets.

                +
                + +
                Parameters
                +
                +
                + $currency + : string +
                +
                +

                The three digit currency string for the ledger to retrieve.

                +
                + +
                +
                + $dateStart + : string +
                +
                +

                The start date for the query.

                +
                + +
                +
                + $dateEnd + : string +
                +
                +

                The end date for the query.

                +
                + +
                +
                + $status + : string|null + = null
                +
                +

                string Can be processing, completed, or failed.

                +
                + +
                +
                + $limit + : int|null + = null
                +
                +

                int Maximum number of settlements to retrieve.

                +
                + +
                +
                + $offset + : int|null + = null
                +
                +

                int Offset for paging.

                +
                + +
                +
                + + +
                + Tags + +
                +
                +
                + throws +
                +
                + SettlementQueryException + + +
                +
                + +
                Return values
                + array<string|int, Settlement> + — + + +
                +
                +

                + __construct() + +

                + + + + + private + __construct(Tokens $tokenCache, RESTcli $restCli) : mixed + +
                + +
                Parameters
                +
                +
                + $tokenCache + : Tokens +
                +
                +
                + +
                +
                + $restCli + : RESTcli +
                +
                +
                + +
                +
                + + + +
                Return values
                + mixed + — + + +
                +
                + + + + +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-TokenClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-TokenClient.html new file mode 100644 index 0000000..96af1c1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-TokenClient.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                  +

                  Documentation

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

                  + TokenClient + + +
                  + in package + +
                  + + +

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

                  + Table of Contents + +

                  + +
                  +
                  + $instance + +  : self|null +
                  +
                  + +
                  + $restCli + +  : RESTcli +
                  +
                  + +
                  + getInstance() + +  : static +
                  +
                  Factory method for Token Client.
                  + +
                  + getTokens() + +  : array<string|int, mixed> +
                  +
                  Get Tokens.
                  + +
                  + __construct() + +  : mixed +
                  +
                  + +
                  + + + + + + +
                  +

                  + Properties + +

                  +
                  +

                  + $instance + + + +

                  + + + + + private + static self|null + $instance + = null + +
                  + +
                  + + + +
                  + +
                  + +
                  +

                  + Methods + +

                  +
                  +

                  + getInstance() + +

                  + + +

                  Factory method for Token Client.

                  + + + public + static getInstance(RESTcli $restCli) : static + + +
                  Parameters
                  +
                  +
                  + $restCli + : RESTcli +
                  +
                  + +
                  +
                  + + + +
                  Return values
                  + static + — + + +
                  +
                  +

                  + getTokens() + +

                  + + +

                  Get Tokens.

                  + + + public + getTokens() : array<string|int, mixed> + + + + +
                  + Tags + +
                  +
                  +
                  + throws +
                  +
                  + BitPayException + + +
                  +
                  + throws +
                  +
                  + JsonException + + +
                  +
                  + +
                  Return values
                  + array<string|int, mixed> + — + + +
                  +
                  +

                  + __construct() + +

                  + + + + + private + __construct(RESTcli $restCli) : mixed + +
                  + +
                  Parameters
                  +
                  +
                  + $restCli + : RESTcli +
                  +
                  +
                  + +
                  +
                  + + + +
                  Return values
                  + mixed + — + + +
                  +
                  + + + + +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-WalletClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-WalletClient.html new file mode 100644 index 0000000..9bac4b3 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client-WalletClient.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                    +

                    Documentation

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

                    + WalletClient + + +
                    + in package + +
                    + + +

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

                    + Table of Contents + +

                    + +
                    +
                    + $instance + +  : self|null +
                    +
                    + +
                    + $restCli + +  : RESTcli +
                    +
                    + +
                    + getInstance() + +  : static +
                    +
                    Factory method for Wallet Client.
                    + +
                    + getSupportedWallets() + +  : array<string|int, Wallet> +
                    +
                    Retrieve all supported wallets.
                    + +
                    + __construct() + +  : mixed +
                    +
                    + +
                    + + + + + + +
                    +

                    + Properties + +

                    +
                    +

                    + $instance + + + +

                    + + + + + private + static self|null + $instance + = null + +
                    + +
                    + + + +
                    + +
                    + +
                    +

                    + Methods + +

                    +
                    +

                    + getInstance() + +

                    + + +

                    Factory method for Wallet Client.

                    + + + public + static getInstance(RESTcli $restCli) : static + + +
                    Parameters
                    +
                    +
                    + $restCli + : RESTcli +
                    +
                    + +
                    +
                    + + + +
                    Return values
                    + static + — + + +
                    +
                    +

                    + getSupportedWallets() + +

                    + + +

                    Retrieve all supported wallets.

                    + + + public + getSupportedWallets() : array<string|int, Wallet> + + + + +
                    + Tags + +
                    +
                    +
                    + throws +
                    +
                    + WalletQueryException + + +
                    +
                    + throws +
                    +
                    + BitPayException + + +
                    +
                    + +
                    Return values
                    + array<string|int, Wallet> + — + + +
                    +
                    +

                    + __construct() + +

                    + + + + + private + __construct(RESTcli $restCli) : mixed + +
                    + +
                    Parameters
                    +
                    +
                    + $restCli + : RESTcli +
                    +
                    +
                    + +
                    +
                    + + + +
                    Return values
                    + mixed + — + + +
                    +
                    + + + + +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client.html new file mode 100644 index 0000000..2919420 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Client.html @@ -0,0 +1,5215 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                      +

                      Documentation

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

                      + Client + + +
                      + in package + +
                      + + +

                      + + + +

                      Class Client

                      + + + +
                      + Tags + +
                      +
                      +
                      + author +
                      +
                      + +

                      BitPay Integrations integrations@bitpay.com

                      +
                      + +
                      +
                      + license +
                      +
                      + +

                      http://www.opensource.org/licenses/mit-license.php MIT

                      +
                      + +
                      +
                      + version +
                      +
                      + 8.0.0 + +

                      See bitpay.com/api for more information. +date 15.11.2021

                      +
                      + +
                      +
                      + + + + + + +

                      + Table of Contents + +

                      + +
                      +
                      + $restCli + +  : RESTcli +
                      +
                      + +
                      + $tokenCache + +  : Tokens +
                      +
                      + +
                      + __construct() + +  : mixed +
                      +
                      Client constructor.
                      + +
                      + cancelInvoice() + +  : Invoice +
                      +
                      Cancel a BitPay invoice.
                      + +
                      + cancelInvoiceByGuid() + +  : Invoice +
                      +
                      Cancel a BitPay invoice.
                      + +
                      + cancelPayout() + +  : bool +
                      +
                      Cancel a BitPay Payout.
                      + +
                      + cancelPayoutGroup() + +  : PayoutGroup +
                      +
                      + +
                      + cancelRefund() + +  : Refund +
                      +
                      Cancel a previously submitted refund request on a BitPay invoice.
                      + +
                      + cancelRefundByGuid() + +  : Refund +
                      +
                      Cancel a previously submitted refund request on a BitPay invoice.
                      + +
                      + createBill() + +  : Bill +
                      +
                      Create a BitPay Bill.
                      + +
                      + createInvoice() + +  : Invoice +
                      +
                      Create a BitPay invoice.
                      + +
                      + createPayoutGroup() + +  : PayoutGroup +
                      +
                      + +
                      + createRefund() + +  : Refund +
                      +
                      Create a refund for a BitPay invoice.
                      + +
                      + createWithData() + +  : Client +
                      +
                      Constructor for use if the keys and SIN are managed by this library.
                      + +
                      + createWithFile() + +  : Client +
                      +
                      Constructor for use if the keys and SIN are managed by this library.
                      + +
                      + deletePayoutRecipient() + +  : bool +
                      +
                      Delete a Payout Recipient.
                      + +
                      + deliverBill() + +  : bool +
                      +
                      Deliver a BitPay Bill.
                      + +
                      + getBill() + +  : Bill +
                      +
                      Retrieve a BitPay bill by bill id using the specified facade.
                      + +
                      + getBills() + +  : array<string|int, Bill> +
                      +
                      Retrieve a collection of BitPay bills.
                      + +
                      + getCurrencyPairRate() + +  : Rate +
                      +
                      Retrieve the rate for a cryptocurrency / fiat pair
                      + +
                      + getCurrencyRates() + +  : Rates +
                      +
                      Retrieve all the rates for a given cryptocurrency
                      + +
                      + getInvoice() + +  : Invoice +
                      +
                      Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously +authorized for the specified facade (the public facade requires no authorization).
                      + +
                      + getInvoiceByGuid() + +  : Invoice +
                      +
                      Retrieve a BitPay invoice by guid using the specified facade.
                      + +
                      + getInvoices() + +  : array<string|int, Invoice> +
                      +
                      Retrieve a collection of BitPay invoices.
                      + +
                      + getLedgerEntries() + +  : array<string|int, LedgerEntry> +
                      +
                      Retrieve a list of ledgers by date range using the merchant facade.
                      + +
                      + getLedgers() + +  : array<string|int, Ledger> +
                      +
                      Retrieve a list of ledgers using the merchant facade.
                      + +
                      + getPayout() + +  : Payout +
                      +
                      Retrieve a BitPay payout by payout id using. The client must have been previously authorized +for the payout facade.
                      + +
                      + getPayoutRecipient() + +  : PayoutRecipient +
                      +
                      Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the +payout facade.
                      + +
                      + getPayoutRecipients() + +  : array<string|int, PayoutRecipient> +
                      +
                      Retrieve a collection of BitPay Payout Recipients.
                      + +
                      + getPayouts() + +  : array<string|int, Payout> +
                      +
                      Retrieve a collection of BitPay payouts.
                      + +
                      + getRates() + +  : Rates +
                      +
                      Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.
                      + +
                      + getRefund() + +  : Refund +
                      +
                      Retrieve a previously made refund request on a BitPay invoice.
                      + +
                      + getRefundByGuid() + +  : Refund +
                      +
                      Retrieve a previously made refund request on a BitPay invoice.
                      + +
                      + getRefunds() + +  : array<string|int, Refund> +
                      +
                      Retrieve all refund requests on a BitPay invoice.
                      + +
                      + getSettlement() + +  : Settlement +
                      +
                      Retrieves a summary of the specified settlement.
                      + +
                      + getSettlementReconciliationReport() + +  : Settlement +
                      +
                      Gets a detailed reconciliation report of the activity within the settlement period.
                      + +
                      + getSettlements() + +  : array<string|int, Settlement> +
                      +
                      Retrieves settlement reports for the calling merchant filtered by query.
                      + +
                      + getSupportedWallets() + +  : array<string|int, Wallet> +
                      +
                      Retrieve all supported wallets.
                      + +
                      + getTokens() + +  : array<string|int, mixed> +
                      +
                      Get Tokens.
                      + +
                      + payInvoice() + +  : Invoice +
                      +
                      Pay an invoice with a mock transaction
                      + +
                      + requestInvoiceNotification() + +  : bool +
                      +
                      Request a BitPay Invoice Webhook.
                      + +
                      + requestPayoutNotification() + +  : bool +
                      +
                      Notify BitPay Payout.
                      + +
                      + requestPayoutRecipientNotification() + +  : bool +
                      +
                      Notify BitPay Payout Recipient.
                      + +
                      + sendRefundNotification() + +  : bool +
                      +
                      Send a refund notification.
                      + +
                      + submitPayout() + +  : Payout +
                      +
                      Submit a BitPay Payout.
                      + +
                      + submitPayoutRecipients() + +  : array<string|int, PayoutRecipient> +
                      +
                      Submit BitPay Payout Recipients.
                      + +
                      + updateBill() + +  : Bill +
                      +
                      Update a BitPay Bill.
                      + +
                      + updateInvoice() + +  : Invoice +
                      +
                      Update a BitPay invoice.
                      + +
                      + updatePayoutRecipient() + +  : PayoutRecipient +
                      +
                      Update a Payout Recipient.
                      + +
                      + updateRefund() + +  : Refund +
                      +
                      Update the status of a BitPay invoice.
                      + +
                      + updateRefundByGuid() + +  : Refund +
                      +
                      Update the status of a BitPay invoice.
                      + +
                      + getBillClient() + +  : BillClient +
                      +
                      Gets bill client
                      + +
                      + getInvoiceClient() + +  : InvoiceClient +
                      +
                      Gets invoice client
                      + +
                      + getLedgerClient() + +  : LedgerClient +
                      +
                      Gets ledger client
                      + +
                      + getPayoutClient() + +  : PayoutClient +
                      +
                      Gets payout client
                      + +
                      + getPayoutRecipientsClient() + +  : PayoutRecipientsClient +
                      +
                      Gets payout recipients client
                      + +
                      + getRateClient() + +  : RateClient +
                      +
                      Gets rate client
                      + +
                      + getRefundClient() + +  : RefundClient +
                      +
                      Gets refund client
                      + +
                      + getSettlementClient() + +  : SettlementClient +
                      +
                      Gets settlement client
                      + +
                      + getWalletClient() + +  : WalletClient +
                      +
                      Gets wallet client
                      + +
                      + getConfigData() + +  : array<string|int, mixed> +
                      +
                      + +
                      + getTokenClient() + +  : TokenClient +
                      +
                      Gets token client
                      + +
                      + initKeys() + +  : PrivateKey|null +
                      +
                      + +
                      + + + + + + +
                      +

                      + Properties + +

                      +
                      +

                      + $restCli + + + +

                      + + + + + protected + RESTcli + $restCli + + +
                      + +
                      + + + +
                      +
                      +

                      + $tokenCache + + + +

                      + + + + + protected + Tokens + $tokenCache + + +
                      + +
                      + + + +
                      +
                      + +
                      +

                      + Methods + +

                      +
                      +

                      + __construct() + +

                      + + +

                      Client constructor.

                      + + + public + __construct(RESTcli $restCli, Tokens $tokenCache) : mixed + + +
                      Parameters
                      +
                      +
                      + $restCli + : RESTcli +
                      +
                      +
                      + +
                      +
                      + $tokenCache + : Tokens +
                      +
                      +
                      + +
                      +
                      + + + +
                      Return values
                      + mixed + — + + +
                      +
                      +

                      + cancelInvoice() + +

                      + + +

                      Cancel a BitPay invoice.

                      + + + public + cancelInvoice(string $invoiceId[, bool $forceCancel = false ]) : Invoice + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      The id of the invoice to updated.

                      +
                      + +
                      +
                      + $forceCancel + : bool + = false
                      +
                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Cancel an Invoice

                      +
                      + +
                      +
                      + throws +
                      +
                      + InvoiceCancellationException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Invoice + — +

                      $invoice Cancelled invoice object.

                      +
                      + + +
                      +
                      +

                      + cancelInvoiceByGuid() + +

                      + + +

                      Cancel a BitPay invoice.

                      + + + public + cancelInvoiceByGuid(string $guid[, bool $forceCancel = false ]) : Invoice + + +
                      Parameters
                      +
                      +
                      + $guid + : string +
                      +
                      +

                      The guid of the invoice to cancel.

                      +
                      + +
                      +
                      + $forceCancel + : bool + = false
                      +
                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Cancel an Invoice by GUID

                      +
                      + +
                      +
                      + throws +
                      +
                      + InvoiceCancellationException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Invoice + — +

                      $invoice Cancelled invoice object.

                      +
                      + + +
                      +
                      +

                      + cancelPayout() + +

                      + + +

                      Cancel a BitPay Payout.

                      + + + public + cancelPayout(string $payoutId) : bool + + +
                      Parameters
                      +
                      +
                      + $payoutId + : string +
                      +
                      +

                      The id of the payout to cancel.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Cancel a Payout

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutCancellationException + + +
                      +
                      + +
                      Return values
                      + bool + — + + +
                      + +
                      +

                      + cancelRefund() + +

                      + + +

                      Cancel a previously submitted refund request on a BitPay invoice.

                      + + + public + cancelRefund(string $refundId) : Refund + + +
                      Parameters
                      +
                      +
                      + $refundId + : string +
                      +
                      +

                      The refund Id for the refund to be canceled.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Cancel a Refund Request

                      +
                      + +
                      +
                      + throws +
                      +
                      + RefundCancellationException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      $refund Cancelled refund Object.

                      +
                      + + +
                      +
                      +

                      + cancelRefundByGuid() + +

                      + + +

                      Cancel a previously submitted refund request on a BitPay invoice.

                      + + + public + cancelRefundByGuid(string $guid) : Refund + + +
                      Parameters
                      +
                      +
                      + $guid + : string +
                      +
                      +

                      The refund Guid for the refund to be canceled.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Cancel a Refund by GUID Request + +
                      + +
                      +
                      + throws +
                      +
                      + RefundCancellationException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      $refund Cancelled refund Object.

                      +
                      + + +
                      +
                      +

                      + createBill() + +

                      + + +

                      Create a BitPay Bill.

                      + + + public + createBill(Bill $bill[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Bill + + +
                      Parameters
                      +
                      +
                      + $bill + : Bill +
                      +
                      +

                      A Bill object with request parameters defined.

                      +
                      + +
                      +
                      + $facade + : string + = Facade::MERCHANT
                      +
                      +

                      The facade used to create it.

                      +
                      + +
                      +
                      + $signRequest + : bool + = true
                      +
                      +

                      Signed request.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Create a Bill

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Bill + — + + +
                      +
                      +

                      + createInvoice() + +

                      + + +

                      Create a BitPay invoice.

                      + + + public + createInvoice(Invoice $invoice[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
                      Parameters
                      +
                      +
                      + $invoice + : Invoice +
                      +
                      +

                      An Invoice object with request parameters defined.

                      +
                      + +
                      +
                      + $facade + : string + = Facade::MERCHANT
                      +
                      +

                      The facade used to create it.

                      +
                      + +
                      +
                      + $signRequest + : bool + = true
                      +
                      +

                      Signed request.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Create an Invoice

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Invoice + — + + +
                      + +
                      +

                      + createRefund() + +

                      + + +

                      Create a refund for a BitPay invoice.

                      + + + public + createRefund(string $invoiceId, float $amount, string $currency[, bool $preview = false ][, bool $immediate = false ][, bool $buyerPaysRefundFee = false ][, string|null $guid = null ]) : Refund + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      The BitPay invoice Id having the associated refund to be created.

                      +
                      + +
                      +
                      + $amount + : float +
                      +
                      +

                      Amount to be refunded in the currency indicated.

                      +
                      + +
                      +
                      + $currency + : string +
                      +
                      +

                      Reference currency used for the refund, usually the same as the currency used +to create the invoice.

                      +
                      + +
                      +
                      + $preview + : bool + = false
                      +
                      +

                      Whether to create the refund request as a preview (which will not be acted on +until status is updated)

                      +
                      + +
                      +
                      + $immediate + : bool + = false
                      +
                      +

                      Whether funds should be removed from merchant ledger immediately on submission +or at time of processing

                      +
                      + +
                      +
                      + $buyerPaysRefundFee + : bool + = false
                      +
                      +

                      Whether the buyer should pay the refund fee (default is merchant)

                      +
                      + +
                      +
                      + $guid + : string|null + = null
                      +
                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Create a Refund Request

                      +
                      + +
                      +
                      + throws +
                      +
                      + RefundCreationException + +

                      RefundCreationException class

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + +

                      BitPayException class

                      +
                      + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      $refund An updated Refund Object

                      +
                      + + +
                      +
                      +

                      + createWithData() + +

                      + + +

                      Constructor for use if the keys and SIN are managed by this library.

                      + + + public + static createWithData(string $environment, string $privateKey, Tokens $tokens[, string|null $privateKeySecret = null ][, string|null $proxy = null ]) : Client + + +
                      Parameters
                      +
                      +
                      + $environment + : string +
                      +
                      +

                      Target environment. Options: Env.Test / Env.Prod

                      +
                      + +
                      +
                      + $privateKey + : string +
                      +
                      +

                      Private Key file path or the HEX value.

                      +
                      + +
                      +
                      + $tokens + : Tokens +
                      +
                      +

                      Tokens containing the available tokens.

                      +
                      + +
                      +
                      + $privateKeySecret + : string|null + = null
                      +
                      +

                      Private Key encryption password.

                      +
                      + +
                      +
                      + $proxy + : string|null + = null
                      +
                      +

                      The url of your proxy to forward requests through. Example: +http://********.com:3128

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Client + — + + +
                      +
                      +

                      + createWithFile() + +

                      + + +

                      Constructor for use if the keys and SIN are managed by this library.

                      + + + public + static createWithFile(string $configFilePath) : Client + + +
                      Parameters
                      +
                      +
                      + $configFilePath + : string +
                      +
                      +

                      The path to the configuration file.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + BitPayException + +

                      BitPayException class

                      +
                      + +
                      +
                      + +
                      Return values
                      + Client + — + + +
                      +
                      +

                      + deletePayoutRecipient() + +

                      + + +

                      Delete a Payout Recipient.

                      + + + public + deletePayoutRecipient(string $recipientId) : bool + + +
                      Parameters
                      +
                      +
                      + $recipientId + : string +
                      +
                      +

                      The recipient id for the recipient to be deleted.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Remove a Recipient

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutRecipientCancellationException + + +
                      +
                      + +
                      Return values
                      + bool + — +

                      True if the recipient was successfully deleted, false otherwise.

                      +
                      + + +
                      +
                      +

                      + deliverBill() + +

                      + + +

                      Deliver a BitPay Bill.

                      + + + public + deliverBill(string $billId, string $billToken[, bool $signRequest = true ]) : bool + + +
                      Parameters
                      +
                      +
                      + $billId + : string +
                      +
                      +

                      The id of the requested bill.

                      +
                      + +
                      +
                      + $billToken + : string +
                      +
                      +

                      The token of the requested bill.

                      +
                      + +
                      +
                      + $signRequest + : bool + = true
                      +
                      +

                      Allow unsigned request

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Deliver a Bill Via Email

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + bool + — + + +
                      +
                      +

                      + getBill() + +

                      + + +

                      Retrieve a BitPay bill by bill id using the specified facade.

                      + + + public + getBill( $billId[,  $facade = Facade::MERCHANT ][,  $signRequest = true ]) : Bill + + +
                      Parameters
                      +
                      +
                      + $billId + : +
                      +
                      +

                      string The id of the bill to retrieve.

                      +
                      + +
                      +
                      + $facade + : + = Facade::MERCHANT
                      +
                      +

                      string The facade used to retrieve it.

                      +
                      + +
                      +
                      + $signRequest + : + = true
                      +
                      +

                      bool Signed request.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve a Bill

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Bill + — + + +
                      +
                      +

                      + getBills() + +

                      + + +

                      Retrieve a collection of BitPay bills.

                      + + + public + getBills([string $status = null ]) : array<string|int, Bill> + + +
                      Parameters
                      +
                      +
                      + $status + : string + = null
                      +
                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve Bills by Status

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, Bill> + — + + +
                      +
                      +

                      + getCurrencyPairRate() + +

                      + + +

                      Retrieve the rate for a cryptocurrency / fiat pair

                      + + + public + getCurrencyPairRate(string $baseCurrency, string $currency) : Rate + + +
                      Parameters
                      +
                      +
                      + $baseCurrency + : string +
                      +
                      +

                      The cryptocurrency for which you want to fetch the fiat-equivalent rate. +Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC

                      +
                      + +
                      +
                      + $currency + : string +
                      +
                      +

                      The fiat currency for which you want to fetch the baseCurrency rate

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve the rates for a cryptocurrency / fiat pair + +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Rate + — +

                      A Rate object populated with the currency rate for the requested baseCurrency.

                      +
                      + + +
                      +
                      +

                      + getCurrencyRates() + +

                      + + +

                      Retrieve all the rates for a given cryptocurrency

                      + + + public + getCurrencyRates(string $baseCurrency) : Rates + + +
                      Parameters
                      +
                      +
                      + $baseCurrency + : string +
                      +
                      +

                      The cryptocurrency for which you want to fetch the rates. +Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve all the rates for a given cryptocurrency + +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Rates + — +

                      A Rates object populated with the currency rates for the requested baseCurrency.

                      +
                      + + +
                      +
                      +

                      + getInvoice() + +

                      + + +

                      Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously +authorized for the specified facade (the public facade requires no authorization).

                      + + + public + getInvoice(string $invoiceId[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      The id of the invoice to retrieve.

                      +
                      + +
                      +
                      + $facade + : string + = Facade::MERCHANT
                      +
                      +

                      The facade used to create it.

                      +
                      + +
                      +
                      + $signRequest + : bool + = true
                      +
                      +

                      Signed request.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve an Invoice by GUID

                      +
                      + +
                      +
                      + throws +
                      +
                      + InvoiceQueryException + + +
                      +
                      + +
                      Return values
                      + Invoice + — + + +
                      +
                      +

                      + getInvoiceByGuid() + +

                      + + +

                      Retrieve a BitPay invoice by guid using the specified facade.

                      + + + public + getInvoiceByGuid(string $guid[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + +

                      The client must have been previously authorized for the specified facade.

                      +
                      + +
                      Parameters
                      +
                      +
                      + $guid + : string +
                      +
                      +

                      The guid of the invoice to retrieve.

                      +
                      + +
                      +
                      + $facade + : string + = Facade::MERCHANT
                      +
                      +

                      The facade used to create it.

                      +
                      + +
                      +
                      + $signRequest + : bool + = true
                      +
                      +

                      Signed request.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve an Invoice by GUID

                      +
                      + +
                      +
                      + throws +
                      +
                      + InvoiceQueryException + + +
                      +
                      + +
                      Return values
                      + Invoice + — + + +
                      +
                      +

                      + getInvoices() + +

                      + + +

                      Retrieve a collection of BitPay invoices.

                      + + + public + getInvoices(string $dateStart, string $dateEnd[, string|null $status = null ][, string|null $orderId = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Invoice> + + +
                      Parameters
                      +
                      +
                      + $dateStart + : string +
                      +
                      +

                      The start of the date window to query for invoices. Format YYYY-MM-DD.

                      +
                      + +
                      +
                      + $dateEnd + : string +
                      +
                      +

                      The end of the date window to query for invoices. Format YYYY-MM-DD.

                      +
                      + +
                      +
                      + $status + : string|null + = null
                      +
                      +

                      The invoice status you want to query on.

                      +
                      + +
                      +
                      + $orderId + : string|null + = null
                      +
                      +

                      The optional order id specified at time of invoice creation.

                      +
                      + +
                      +
                      + $limit + : int|null + = null
                      +
                      +

                      Maximum results that the query will return (useful for paging results).

                      +
                      + +
                      +
                      + $offset + : int|null + = null
                      +
                      +

                      Number of results to offset (ex. skip 10 will give you results starting +with the 11th result).

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve Invoices Filtered by Query + +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, Invoice> + — + + +
                      +
                      +

                      + getLedgerEntries() + +

                      + + +

                      Retrieve a list of ledgers by date range using the merchant facade.

                      + + + public + getLedgerEntries(string $currency, string $startDate, string $endDate) : array<string|int, LedgerEntry> + + +
                      Parameters
                      +
                      +
                      + $currency + : string +
                      +
                      +

                      The three digit currency string for the ledger to retrieve.

                      +
                      + +
                      +
                      + $startDate + : string +
                      +
                      +

                      The first date for the query filter.

                      +
                      + +
                      +
                      + $endDate + : string +
                      +
                      +

                      The last date for the query filter.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve Ledger Entries

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, LedgerEntry> + — +

                      A Ledger object populated with the BitPay ledger entries list.

                      +
                      + + +
                      +
                      +

                      + getLedgers() + +

                      + + +

                      Retrieve a list of ledgers using the merchant facade.

                      + + + public + getLedgers() : array<string|int, Ledger> + + + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve Account Balances

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, Ledger> + — +

                      A list of Ledger objects populated with the currency and current balance of each one.

                      +
                      + + +
                      +
                      +

                      + getPayout() + +

                      + + +

                      Retrieve a BitPay payout by payout id using. The client must have been previously authorized +for the payout facade.

                      + + + public + getPayout(string $payoutId) : Payout + + +
                      Parameters
                      +
                      +
                      + $payoutId + : string +
                      +
                      +

                      The id of the payout to retrieve.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve a Payout

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutQueryException + + +
                      +
                      + +
                      Return values
                      + Payout + — + + +
                      +
                      +

                      + getPayoutRecipient() + +

                      + + +

                      Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the +payout facade.

                      + + + public + getPayoutRecipient(string $recipientId) : PayoutRecipient + + +
                      Parameters
                      +
                      +
                      + $recipientId + : string +
                      +
                      +

                      The id of the recipient to retrieve.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve a Recipient

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutQueryException + + +
                      +
                      + throws +
                      +
                      + PayoutRecipientQueryException + + +
                      +
                      + +
                      Return values
                      + PayoutRecipient + — + + +
                      +
                      +

                      + getPayoutRecipients() + +

                      + + +

                      Retrieve a collection of BitPay Payout Recipients.

                      + + + public + getPayoutRecipients([string|null $status = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, PayoutRecipient> + + +
                      Parameters
                      +
                      +
                      + $status + : string|null + = null
                      +
                      +

                      The recipient status you want to query on.

                      +
                      + +
                      +
                      + $limit + : int|null + = null
                      +
                      +

                      Maximum results that the query will return (useful for paging results).

                      +
                      + +
                      +
                      + $offset + : int|null + = null
                      +
                      +

                      Number of results to offset (ex. skip 10 will give you results +starting with the 11th result).

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve Recipients by Status + +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, PayoutRecipient> + — + + +
                      +
                      +

                      + getPayouts() + +

                      + + +

                      Retrieve a collection of BitPay payouts.

                      + + + public + getPayouts([string|null $startDate = null ][, string|null $endDate = null ][, string|null $status = null ][, string|null $reference = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Payout> + + +
                      Parameters
                      +
                      +
                      + $startDate + : string|null + = null
                      +
                      +

                      The start date to filter the Payout Batches.

                      +
                      + +
                      +
                      + $endDate + : string|null + = null
                      +
                      +

                      The end date to filter the Payout Batches.

                      +
                      + +
                      +
                      + $status + : string|null + = null
                      +
                      +

                      The status to filter the Payout Batches.

                      +
                      + +
                      +
                      + $reference + : string|null + = null
                      +
                      +

                      The optional reference specified at payout request creation.

                      +
                      + +
                      +
                      + $limit + : int|null + = null
                      +
                      +

                      Maximum results that the query will return (useful for paging results).

                      +
                      + +
                      +
                      + $offset + : int|null + = null
                      +
                      +

                      Number of results to offset (ex. skip 10 will give you results +starting with the 11th result).

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve Payouts Filtered by Query + +
                      + +
                      +
                      + throws +
                      +
                      + PayoutQueryException + + +
                      +
                      + +
                      Return values
                      + array<string|int, Payout> + — + + +
                      +
                      +

                      + getRates() + +

                      + + +

                      Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.

                      + + + public + getRates() : Rates + + + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Rates + — + + +
                      +
                      +

                      + getRefund() + +

                      + + +

                      Retrieve a previously made refund request on a BitPay invoice.

                      + + + public + getRefund(string $refundId) : Refund + + +
                      Parameters
                      +
                      +
                      + $refundId + : string +
                      +
                      +

                      The BitPay refund ID.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve a Refund Request

                      +
                      + +
                      +
                      + throws +
                      +
                      + RefundQueryException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      $refund BitPay Refund object with the associated Refund object.

                      +
                      + + +
                      +
                      +

                      + getRefundByGuid() + +

                      + + +

                      Retrieve a previously made refund request on a BitPay invoice.

                      + + + public + getRefundByGuid(string $guid) : Refund + + +
                      Parameters
                      +
                      +
                      + $guid + : string +
                      +
                      +

                      The BitPay refund Guid

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve a Refund by GUID Request + +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + throws +
                      +
                      + RefundQueryException + + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      BitPay Refund object with the associated Refund object.

                      +
                      + + +
                      +
                      +

                      + getRefunds() + +

                      + + +

                      Retrieve all refund requests on a BitPay invoice.

                      + + + public + getRefunds(string $invoiceId) : array<string|int, Refund> + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      The BitPay invoice object having the associated refunds.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Retrieve Refunds of an Invoice + +
                      + +
                      +
                      + throws +
                      +
                      + RefundQueryException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, Refund> + — + + +
                      +
                      +

                      + getSettlement() + +

                      + + +

                      Retrieves a summary of the specified settlement.

                      + + + public + getSettlement(string $settlementId) : Settlement + + +
                      Parameters
                      +
                      +
                      + $settlementId + : string +
                      +
                      +

                      Settlement Id.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve a Settlement

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Settlement + — + + +
                      +
                      +

                      + getSettlementReconciliationReport() + +

                      + + +

                      Gets a detailed reconciliation report of the activity within the settlement period.

                      + + + public + getSettlementReconciliationReport(Settlement $settlement) : Settlement + + +
                      Parameters
                      +
                      +
                      + $settlement + : Settlement +
                      +
                      +

                      Settlement to generate report for.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Fetch a Reconciliation Report + +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Settlement + — + + +
                      +
                      +

                      + getSettlements() + +

                      + + +

                      Retrieves settlement reports for the calling merchant filtered by query.

                      + + + public + getSettlements( $currency,  $dateStart,  $dateEnd[, string|null $status = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Settlement> + +

                      The limit and offset parameters +specify pages for large query sets.

                      +
                      + +
                      Parameters
                      +
                      +
                      + $currency + : +
                      +
                      +

                      string The three digit currency string for the ledger to retrieve.

                      +
                      + +
                      +
                      + $dateStart + : +
                      +
                      +

                      string The start date for the query.

                      +
                      + +
                      +
                      + $dateEnd + : +
                      +
                      +

                      string The end date for the query.

                      +
                      + +
                      +
                      + $status + : string|null + = null
                      +
                      +

                      string Can be processing, completed, or failed.

                      +
                      + +
                      +
                      + $limit + : int|null + = null
                      +
                      +

                      int Maximum number of settlements to retrieve.

                      +
                      + +
                      +
                      + $offset + : int|null + = null
                      +
                      +

                      int Offset for paging.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve Settlements

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, Settlement> + — + + +
                      + +
                      +

                      + getTokens() + +

                      + + +

                      Get Tokens.

                      + + + public + getTokens() : array<string|int, mixed> + + + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + throws +
                      +
                      + JsonException + + +
                      +
                      + +
                      Return values
                      + array<string|int, mixed> + — + + +
                      +
                      +

                      + payInvoice() + +

                      + + +

                      Pay an invoice with a mock transaction

                      + + + public + payInvoice(string $invoiceId[, string $status = 'confirmed' ]) : Invoice + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      The id of the invoice.

                      +
                      + +
                      +
                      + $status + : string + = 'confirmed'
                      +
                      +

                      Status the invoice will become. Acceptable values are confirmed (default) and complete.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + InvoicePaymentException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Invoice + — +

                      $invoice Invoice object.

                      +
                      + + +
                      +
                      +

                      + requestInvoiceNotification() + +

                      + + +

                      Request a BitPay Invoice Webhook.

                      + + + public + requestInvoiceNotification(string $invoiceId) : bool + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      A BitPay invoice ID.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Retrieve an Event Token

                      +
                      + +
                      +
                      + throws +
                      +
                      + InvoiceQueryException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + bool + — +

                      True if the webhook was successfully requested, false otherwise.

                      +
                      + + +
                      +
                      +

                      + requestPayoutNotification() + +

                      + + +

                      Notify BitPay Payout.

                      + + + public + requestPayoutNotification(string $payoutId) : bool + + +
                      Parameters
                      +
                      +
                      + $payoutId + : string +
                      +
                      +

                      The id of the Payout to notify.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Request a Payout Webhook to be Resent + +
                      + +
                      +
                      + throws +
                      +
                      + PayoutNotificationException + +

                      BitPayException class

                      +
                      + +
                      +
                      + +
                      Return values
                      + bool + — + + +
                      +
                      +

                      + requestPayoutRecipientNotification() + +

                      + + +

                      Notify BitPay Payout Recipient.

                      + + + public + requestPayoutRecipientNotification(string $recipientId) : bool + + +
                      Parameters
                      +
                      +
                      + $recipientId + : string +
                      +
                      +

                      The id of the recipient to notify.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Request a Recipient Webhook to be Resent + +
                      + +
                      +
                      + throws +
                      +
                      + PayoutRecipientNotificationException + + +
                      +
                      + +
                      Return values
                      + bool + — +

                      True if the notification was successfully sent, false otherwise.

                      +
                      + + +
                      +
                      +

                      + sendRefundNotification() + +

                      + + +

                      Send a refund notification.

                      + + + public + sendRefundNotification(string $refundId) : bool + + +
                      Parameters
                      +
                      +
                      + $refundId + : string +
                      +
                      +

                      A BitPay refund ID.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Request a Refund Notification to be Resent + +
                      + +
                      +
                      + throws +
                      +
                      + RefundCreationException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + bool + — +

                      $result An updated Refund Object

                      +
                      + + +
                      +
                      +

                      + submitPayout() + +

                      + + +

                      Submit a BitPay Payout.

                      + + + public + submitPayout(Payout $payout) : Payout + + +
                      Parameters
                      +
                      +
                      + $payout + : Payout +
                      +
                      +

                      A Payout object with request parameters defined.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Create a Payout

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutCreationException + + +
                      +
                      + +
                      Return values
                      + Payout + — + + +
                      +
                      +

                      + submitPayoutRecipients() + +

                      + + +

                      Submit BitPay Payout Recipients.

                      + + + public + submitPayoutRecipients(PayoutRecipients $recipients) : array<string|int, PayoutRecipient> + + +
                      Parameters
                      +
                      +
                      + $recipients + : PayoutRecipients +
                      +
                      +

                      A PayoutRecipients object with request parameters defined.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Invite Recipients

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutRecipientCreationException + + +
                      +
                      + +
                      Return values
                      + array<string|int, PayoutRecipient> + — +

                      A list of BitPay PayoutRecipients objects.

                      +
                      + + +
                      +
                      +

                      + updateBill() + +

                      + + +

                      Update a BitPay Bill.

                      + + + public + updateBill(Bill $bill, string $billId) : Bill + + +
                      Parameters
                      +
                      +
                      + $bill + : Bill +
                      +
                      +

                      A Bill object with the parameters to update defined.

                      +
                      + +
                      +
                      + $billId + : string +
                      +
                      +

                      The Id of the Bill to update.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Update a Bill

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Bill + — + + +
                      +
                      +

                      + updateInvoice() + +

                      + + +

                      Update a BitPay invoice.

                      + + + public + updateInvoice(string $invoiceId, string|null $buyerSms, string|null $smsCode, string|null $buyerEmail[, bool $autoVerify = false ]) : Invoice + + +
                      Parameters
                      +
                      +
                      + $invoiceId + : string +
                      +
                      +

                      The id of the invoice to updated.

                      +
                      + +
                      +
                      + $buyerSms + : string|null +
                      +
                      +

                      The buyer's cell number.

                      +
                      + +
                      +
                      + $smsCode + : string|null +
                      +
                      +

                      The buyer's received verification code.

                      +
                      + +
                      +
                      + $buyerEmail + : string|null +
                      +
                      +

                      The buyer's email address.

                      +
                      + +
                      +
                      + $autoVerify + : bool + = false
                      +
                      +

                      Skip the user verification on sandbox ONLY.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Update an Invoice

                      +
                      + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + throws +
                      +
                      + InvoiceUpdateException + + +
                      +
                      + +
                      Return values
                      + Invoice + — + + +
                      +
                      +

                      + updatePayoutRecipient() + +

                      + + +

                      Update a Payout Recipient.

                      + + + public + updatePayoutRecipient(string $recipientId, PayoutRecipient $recipient) : PayoutRecipient + + +
                      Parameters
                      +
                      +
                      + $recipientId + : string +
                      +
                      +

                      The recipient id for the recipient to be updated.

                      +
                      + +
                      +
                      + $recipient + : PayoutRecipient +
                      +
                      +

                      A PayoutRecipient object with updated parameters defined.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Update a Recipient

                      +
                      + +
                      +
                      + throws +
                      +
                      + PayoutRecipientUpdateException + + +
                      +
                      + +
                      Return values
                      + PayoutRecipient + — + + +
                      +
                      +

                      + updateRefund() + +

                      + + +

                      Update the status of a BitPay invoice.

                      + + + public + updateRefund(string $refundId, string $status) : Refund + + +
                      Parameters
                      +
                      +
                      + $refundId + : string +
                      +
                      +

                      BitPay refund ID.

                      +
                      + +
                      +
                      + $status + : string +
                      +
                      +

                      The new status for the refund to be updated.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +

                      Update a Refund Request

                      +
                      + +
                      +
                      + throws +
                      +
                      + RefundUpdateException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      $refund Refund A BitPay generated Refund object.

                      +
                      + + +
                      +
                      +

                      + updateRefundByGuid() + +

                      + + +

                      Update the status of a BitPay invoice.

                      + + + public + updateRefundByGuid(string $guid, string $status) : Refund + + +
                      Parameters
                      +
                      +
                      + $guid + : string +
                      +
                      +

                      BitPay refund Guid.

                      +
                      + +
                      +
                      + $status + : string +
                      +
                      +

                      The new status for the refund to be updated.

                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + see +
                      +
                      + +
                      +Update a Refund by GUID Request + +
                      + +
                      +
                      + throws +
                      +
                      + RefundUpdateException + + +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + Refund + — +

                      $refund Refund A BitPay generated Refund object.

                      +
                      + + +
                      +
                      +

                      + getBillClient() + +

                      + + +

                      Gets bill client

                      + + + protected + getBillClient() : BillClient + + + + + +
                      Return values
                      + BillClient + — +

                      the bill client

                      +
                      + + +
                      +
                      +

                      + getInvoiceClient() + +

                      + + +

                      Gets invoice client

                      + + + protected + getInvoiceClient() : InvoiceClient + + + + + +
                      Return values
                      + InvoiceClient + — +

                      the invoice client

                      +
                      + + +
                      +
                      +

                      + getLedgerClient() + +

                      + + +

                      Gets ledger client

                      + + + protected + getLedgerClient() : LedgerClient + + + + + +
                      Return values
                      + LedgerClient + — +

                      the ledger client

                      +
                      + + +
                      +
                      +

                      + getPayoutClient() + +

                      + + +

                      Gets payout client

                      + + + protected + getPayoutClient() : PayoutClient + + + + + +
                      Return values
                      + PayoutClient + — +

                      the payout client

                      +
                      + + +
                      + +
                      +

                      + getRateClient() + +

                      + + +

                      Gets rate client

                      + + + protected + getRateClient() : RateClient + + + + + +
                      Return values
                      + RateClient + — +

                      the rate client

                      +
                      + + +
                      +
                      +

                      + getRefundClient() + +

                      + + +

                      Gets refund client

                      + + + protected + getRefundClient() : RefundClient + + + + + +
                      Return values
                      + RefundClient + — +

                      the refund client

                      +
                      + + +
                      +
                      +

                      + getSettlementClient() + +

                      + + +

                      Gets settlement client

                      + + + protected + getSettlementClient() : SettlementClient + + + + + +
                      Return values
                      + SettlementClient + — +

                      the settlements client

                      +
                      + + +
                      +
                      +

                      + getWalletClient() + +

                      + + +

                      Gets wallet client

                      + + + protected + getWalletClient() : WalletClient + + + + + +
                      Return values
                      + WalletClient + — +

                      the wallet client

                      +
                      + + +
                      +
                      +

                      + getConfigData() + +

                      + + + + + private + static getConfigData(string $configFilePath) : array<string|int, mixed> + + +
                      Parameters
                      +
                      +
                      + $configFilePath + : string +
                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + +
                      Return values
                      + array<string|int, mixed> + — + + +
                      +
                      +

                      + getTokenClient() + +

                      + + +

                      Gets token client

                      + + + private + getTokenClient() : TokenClient + + + + + +
                      Return values
                      + TokenClient + — + + +
                      +
                      +

                      + initKeys() + +

                      + + + + + private + static initKeys(string|null $privateKey, string|null $privateKeySecret) : PrivateKey|null + + +
                      Parameters
                      +
                      +
                      + $privateKey + : string|null +
                      +
                      + +
                      +
                      + $privateKeySecret + : string|null +
                      +
                      + +
                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + throws +
                      +
                      + BitPayException + + +
                      +
                      + throws +
                      +
                      + Exception + + +
                      +
                      + +
                      Return values
                      + PrivateKey|null + — + + +
                      +
                      + + + + +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Env.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Env.html new file mode 100644 index 0000000..b6f83a7 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Env.html @@ -0,0 +1,552 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                        +

                        Documentation

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

                        + Env +
                        + in + +
                        +

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

                        + Table of Contents + +

                        + +
                        +
                        + BITPAY_API_FRAME + +  = "std" +
                        +
                        + +
                        + BITPAY_API_FRAME_VERSION + +  = "1.0.0" +
                        +
                        + +
                        + BITPAY_API_VERSION + +  = "2.0.0" +
                        +
                        + +
                        + BITPAY_PLUGIN_INFO + +  = "BitPay_PHP_Client_v8.0.0" +
                        +
                        + +
                        + PROD + +  = "Prod" +
                        +
                        + +
                        + PROD_URL + +  = "https://bitpay.com/" +
                        +
                        + +
                        + TEST + +  = "Test" +
                        +
                        + +
                        + TEST_URL + +  = "https://test.bitpay.com/" +
                        +
                        + +
                        + + + + +
                        +

                        + Constants + +

                        +
                        +

                        + BITPAY_API_FRAME + +

                        + + + + + + public + mixed + BITPAY_API_FRAME + = "std" + + + +
                        + +
                        + + + +
                        +
                        +

                        + BITPAY_API_FRAME_VERSION + +

                        + + + + + + public + mixed + BITPAY_API_FRAME_VERSION + = "1.0.0" + + + +
                        + +
                        + + + +
                        +
                        +

                        + BITPAY_API_VERSION + +

                        + + + + + + public + mixed + BITPAY_API_VERSION + = "2.0.0" + + + +
                        + +
                        + + + +
                        +
                        +

                        + BITPAY_PLUGIN_INFO + +

                        + + + + + + public + mixed + BITPAY_PLUGIN_INFO + = "BitPay_PHP_Client_v8.0.0" + + + +
                        + +
                        + + + +
                        +
                        +

                        + PROD + +

                        + + + + + + public + mixed + PROD + = "Prod" + + + +
                        + +
                        + + + +
                        +
                        +

                        + PROD_URL + +

                        + + + + + + public + mixed + PROD_URL + = "https://bitpay.com/" + + + +
                        + +
                        + + + +
                        +
                        +

                        + TEST + +

                        + + + + + + public + mixed + TEST + = "Test" + + + +
                        + +
                        + + + +
                        +
                        +

                        + TEST_URL + +

                        + + + + + + public + mixed + TEST_URL + = "https://test.bitpay.com/" + + + +
                        + +
                        + + + +
                        +
                        + + + + + +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillCreationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillCreationException.html new file mode 100644 index 0000000..552b8bd --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillCreationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                          +

                          Documentation

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

                          + BillCreationException + + + extends BillException + + +
                          + in package + +
                          + + +

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

                          + Table of Contents + +

                          + +
                          +
                          + $apiCode + +  : string|null +
                          +
                          + +
                          + $bitPayCode + +  : string +
                          +
                          + +
                          + $bitPayMessage + +  : string +
                          +
                          + +
                          + __construct() + +  : mixed +
                          +
                          Construct the BillCreationException.
                          + +
                          + getApiCode() + +  : string +
                          +
                          + +
                          + + + + + + +
                          +

                          + Properties + +

                          +
                          +

                          + $apiCode + + + +

                          + + + + + protected + string|null + $apiCode + + +
                          + +
                          + + + +
                          +
                          +

                          + $bitPayCode + + + +

                          + + + + + private + string + $bitPayCode + = "BITPAY-BILL-CREATE" + +
                          + +
                          + + + +
                          +
                          +

                          + $bitPayMessage + + + +

                          + + + + + private + string + $bitPayMessage + = "Failed to create bill" + +
                          + +
                          + + + +
                          +
                          + +
                          +

                          + Methods + +

                          +
                          +

                          + __construct() + +

                          + + +

                          Construct the BillCreationException.

                          + + + public + __construct([string $message = "" ][, int $code = 112 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                          Parameters
                          +
                          +
                          + $message + : string + = ""
                          +
                          +

                          [optional] The Exception message to throw.

                          +
                          + +
                          +
                          + $code + : int + = 112
                          +
                          +

                          [optional] The Exception code to throw.

                          +
                          + +
                          +
                          + $previous + : Exception + = null
                          +
                          +
                          + +
                          +
                          + $apiCode + : string|null + = "000000"
                          +
                          +

                          [optional] The API Exception code to throw.

                          +
                          + +
                          +
                          + + + +
                          Return values
                          + mixed + — + + +
                          +
                          +

                          + getApiCode() + +

                          + + + + + public + getApiCode() : string + + + + + +
                          Return values
                          + string + — +

                          Error code provided by the BitPay REST API

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

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillDeliveryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillDeliveryException.html new file mode 100644 index 0000000..2bb0858 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillDeliveryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                            +

                            Documentation

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

                            + BillDeliveryException + + + extends BillException + + +
                            + in package + +
                            + + +

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

                            + Table of Contents + +

                            + +
                            +
                            + $apiCode + +  : string|null +
                            +
                            + +
                            + $bitPayCode + +  : string +
                            +
                            + +
                            + $bitPayMessage + +  : string +
                            +
                            + +
                            + __construct() + +  : mixed +
                            +
                            Construct the BillDeliveryException.
                            + +
                            + getApiCode() + +  : string +
                            +
                            + +
                            + + + + + + +
                            +

                            + Properties + +

                            +
                            +

                            + $apiCode + + + +

                            + + + + + protected + string|null + $apiCode + + +
                            + +
                            + + + +
                            +
                            +

                            + $bitPayCode + + + +

                            + + + + + private + string + $bitPayCode + = "BITPAY-BILL-DELIVERY" + +
                            + +
                            + + + +
                            +
                            +

                            + $bitPayMessage + + + +

                            + + + + + private + string + $bitPayMessage + = "Failed to deliver bill" + +
                            + +
                            + + + +
                            +
                            + +
                            +

                            + Methods + +

                            +
                            +

                            + __construct() + +

                            + + +

                            Construct the BillDeliveryException.

                            + + + public + __construct([string $message = "" ][, int $code = 115 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                            Parameters
                            +
                            +
                            + $message + : string + = ""
                            +
                            +

                            [optional] The Exception message to throw.

                            +
                            + +
                            +
                            + $code + : int + = 115
                            +
                            +

                            [optional] The Exception code to throw.

                            +
                            + +
                            +
                            + $previous + : Exception + = null
                            +
                            +
                            + +
                            +
                            + $apiCode + : string|null + = "000000"
                            +
                            +

                            [optional] The API Exception code to throw.

                            +
                            + +
                            +
                            + + + +
                            Return values
                            + mixed + — + + +
                            +
                            +

                            + getApiCode() + +

                            + + + + + public + getApiCode() : string + + + + + +
                            Return values
                            + string + — +

                            Error code provided by the BitPay REST API

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

                            Search results

                            + +
                            +
                            +
                              +
                              +
                              +
                              +
                              +
                              + + +
                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillException.html new file mode 100644 index 0000000..1c4858a --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                              +

                              Documentation

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

                              + BillException + + + extends BitPayException + + +
                              + in package + +
                              + + +

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

                              + Table of Contents + +

                              + +
                              +
                              + $apiCode + +  : string|null +
                              +
                              + +
                              + $bitPayCode + +  : string +
                              +
                              + +
                              + $bitPayMessage + +  : string +
                              +
                              + +
                              + __construct() + +  : mixed +
                              +
                              Construct the BillException.
                              + +
                              + getApiCode() + +  : string +
                              +
                              + +
                              + + + + + + +
                              +

                              + Properties + +

                              +
                              +

                              + $apiCode + + + +

                              + + + + + protected + string|null + $apiCode + + +
                              + +
                              + + + +
                              +
                              +

                              + $bitPayCode + + + +

                              + + + + + private + string + $bitPayCode + = "BITPAY-BILL-GENERIC" + +
                              + +
                              + + + +
                              +
                              +

                              + $bitPayMessage + + + +

                              + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the bill" + +
                              + +
                              + + + +
                              +
                              + +
                              +

                              + Methods + +

                              +
                              +

                              + __construct() + +

                              + + +

                              Construct the BillException.

                              + + + public + __construct([string $message = "" ][, int $code = 111 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                              Parameters
                              +
                              +
                              + $message + : string + = ""
                              +
                              +

                              [optional] The Exception message to throw.

                              +
                              + +
                              +
                              + $code + : int + = 111
                              +
                              +

                              [optional] The Exception code to throw.

                              +
                              + +
                              +
                              + $previous + : Exception + = null
                              +
                              +
                              + +
                              +
                              + $apiCode + : string|null + = "000000"
                              +
                              +

                              [optional] The API Exception code to throw.

                              +
                              + +
                              +
                              + + + +
                              Return values
                              + mixed + — + + +
                              +
                              +

                              + getApiCode() + +

                              + + + + + public + getApiCode() : string + + + + + +
                              Return values
                              + string + — +

                              Error code provided by the BitPay REST API

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

                              Search results

                              + +
                              +
                              +
                                +
                                +
                                +
                                +
                                +
                                + + +
                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillQueryException.html new file mode 100644 index 0000000..fc191c9 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                +

                                Documentation

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

                                + BillQueryException + + + extends BillException + + +
                                + in package + +
                                + + +

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

                                + Table of Contents + +

                                + +
                                +
                                + $apiCode + +  : string|null +
                                +
                                + +
                                + $bitPayCode + +  : string +
                                +
                                + +
                                + $bitPayMessage + +  : string +
                                +
                                + +
                                + __construct() + +  : mixed +
                                +
                                Construct the BillQueryException.
                                + +
                                + getApiCode() + +  : string +
                                +
                                + +
                                + + + + + + +
                                +

                                + Properties + +

                                +
                                +

                                + $apiCode + + + +

                                + + + + + protected + string|null + $apiCode + + +
                                + +
                                + + + +
                                +
                                +

                                + $bitPayCode + + + +

                                + + + + + private + string + $bitPayCode + = "BITPAY-BILL-GET" + +
                                + +
                                + + + +
                                +
                                +

                                + $bitPayMessage + + + +

                                + + + + + private + string + $bitPayMessage + = "Failed to retrieve bill" + +
                                + +
                                + + + +
                                +
                                + +
                                +

                                + Methods + +

                                +
                                +

                                + __construct() + +

                                + + +

                                Construct the BillQueryException.

                                + + + public + __construct([string $message = "" ][, int $code = 113 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                Parameters
                                +
                                +
                                + $message + : string + = ""
                                +
                                +

                                [optional] The Exception message to throw.

                                +
                                + +
                                +
                                + $code + : int + = 113
                                +
                                +

                                [optional] The Exception code to throw.

                                +
                                + +
                                +
                                + $previous + : Exception + = null
                                +
                                +
                                + +
                                +
                                + $apiCode + : string|null + = "000000"
                                +
                                +

                                [optional] The API Exception code to throw.

                                +
                                + +
                                +
                                + + + +
                                Return values
                                + mixed + — + + +
                                +
                                +

                                + getApiCode() + +

                                + + + + + public + getApiCode() : string + + + + + +
                                Return values
                                + string + — +

                                Error code provided by the BitPay REST API

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

                                Search results

                                + +
                                +
                                +
                                  +
                                  +
                                  +
                                  +
                                  +
                                  + + +
                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillUpdateException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillUpdateException.html new file mode 100644 index 0000000..8ed625f --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BillUpdateException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                  +

                                  Documentation

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

                                  + BillUpdateException + + + extends BillException + + +
                                  + in package + +
                                  + + +

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

                                  + Table of Contents + +

                                  + +
                                  +
                                  + $apiCode + +  : string|null +
                                  +
                                  + +
                                  + $bitPayCode + +  : string +
                                  +
                                  + +
                                  + $bitPayMessage + +  : string +
                                  +
                                  + +
                                  + __construct() + +  : mixed +
                                  +
                                  Construct the BillUpdateException.
                                  + +
                                  + getApiCode() + +  : string +
                                  +
                                  + +
                                  + + + + + + +
                                  +

                                  + Properties + +

                                  +
                                  +

                                  + $apiCode + + + +

                                  + + + + + protected + string|null + $apiCode + + +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $bitPayCode + + + +

                                  + + + + + private + string + $bitPayCode + = "BITPAY-BILL-UPDATE" + +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $bitPayMessage + + + +

                                  + + + + + private + string + $bitPayMessage + = "Failed to update bill" + +
                                  + +
                                  + + + +
                                  +
                                  + +
                                  +

                                  + Methods + +

                                  +
                                  +

                                  + __construct() + +

                                  + + +

                                  Construct the BillUpdateException.

                                  + + + public + __construct([string $message = "" ][, int $code = 114 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                  Parameters
                                  +
                                  +
                                  + $message + : string + = ""
                                  +
                                  +

                                  [optional] The Exception message to throw.

                                  +
                                  + +
                                  +
                                  + $code + : int + = 114
                                  +
                                  +

                                  [optional] The Exception code to throw.

                                  +
                                  + +
                                  +
                                  + $previous + : Exception + = null
                                  +
                                  +
                                  + +
                                  +
                                  + $apiCode + : string|null + = "000000"
                                  +
                                  +

                                  [optional] The API Exception code to throw.

                                  +
                                  + +
                                  +
                                  + + + +
                                  Return values
                                  + mixed + — + + +
                                  +
                                  +

                                  + getApiCode() + +

                                  + + + + + public + getApiCode() : string + + + + + +
                                  Return values
                                  + string + — +

                                  Error code provided by the BitPay REST API

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

                                  Search results

                                  + +
                                  +
                                  +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + + +
                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BitPayException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BitPayException.html new file mode 100644 index 0000000..2d086e4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-BitPayException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                    +

                                    Documentation

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

                                    + BitPayException + + + extends Exception + + +
                                    + in package + +
                                    + + +

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

                                    + Table of Contents + +

                                    + +
                                    +
                                    + $apiCode + +  : string|null +
                                    +
                                    + +
                                    + $bitPayCode + +  : string +
                                    +
                                    + +
                                    + $bitPayMessage + +  : string +
                                    +
                                    + +
                                    + __construct() + +  : mixed +
                                    +
                                    Construct the BitPayException.
                                    + +
                                    + getApiCode() + +  : string +
                                    +
                                    + +
                                    + + + + + + +
                                    +

                                    + Properties + +

                                    +
                                    +

                                    + $apiCode + + + +

                                    + + + + + protected + string|null + $apiCode + + +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $bitPayCode + + + +

                                    + + + + + private + string + $bitPayCode + = "BITPAY-GENERIC" + +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $bitPayMessage + + + +

                                    + + + + + private + string + $bitPayMessage + = "Unexpected Bitpay exeption." + +
                                    + +
                                    + + + +
                                    +
                                    + +
                                    +

                                    + Methods + +

                                    +
                                    +

                                    + __construct() + +

                                    + + +

                                    Construct the BitPayException.

                                    + + + public + __construct([string $message = "" ][, int $code = 100 ][, Exception $previous = null ][, string|null $apiCode = null ]) : mixed + + +
                                    Parameters
                                    +
                                    +
                                    + $message + : string + = ""
                                    +
                                    +

                                    [optional] The Exception message to throw.

                                    +
                                    + +
                                    +
                                    + $code + : int + = 100
                                    +
                                    +

                                    [optional] The Exception code to throw.

                                    +
                                    + +
                                    +
                                    + $previous + : Exception + = null
                                    +
                                    +
                                    + +
                                    +
                                    + $apiCode + : string|null + = null
                                    +
                                    +

                                    [optional] The API Exception code to throw.

                                    +
                                    + +
                                    +
                                    + + + +
                                    Return values
                                    + mixed + — + + +
                                    +
                                    +

                                    + getApiCode() + +

                                    + + + + + public + getApiCode() : string + + + + + +
                                    Return values
                                    + string + — +

                                    Error code provided by the BitPay REST API

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

                                    Search results

                                    + +
                                    +
                                    +
                                      +
                                      +
                                      +
                                      +
                                      +
                                      + + +
                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyException.html new file mode 100644 index 0000000..c23054c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyException.html @@ -0,0 +1,521 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                      +

                                      Documentation

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

                                      + CurrencyException + + + extends BitPayException + + +
                                      + in package + +
                                      + + +

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

                                      + Table of Contents + +

                                      + +
                                      +
                                      + $apiCode + +  : string|null +
                                      +
                                      + +
                                      + $bitPayCode + +  : string +
                                      +
                                      + +
                                      + $bitPayMessage + +  : string +
                                      +
                                      + +
                                      + __construct() + +  : mixed +
                                      +
                                      Construct the CurrencyException.
                                      + +
                                      + getApiCode() + +  : string +
                                      +
                                      + +
                                      + + + + + + +
                                      +

                                      + Properties + +

                                      +
                                      +

                                      + $apiCode + + + +

                                      + + + + + protected + string|null + $apiCode + + +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $bitPayCode + + + +

                                      + + + + + private + string + $bitPayCode + = "BITPAY-CURRENCY-GENERIC" + +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $bitPayMessage + + + +

                                      + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the currencies" + +
                                      + +
                                      + + + +
                                      +
                                      + +
                                      +

                                      + Methods + +

                                      +
                                      +

                                      + __construct() + +

                                      + + +

                                      Construct the CurrencyException.

                                      + + + public + __construct([string $message = "" ][, int $code = 181 ][, Exception|null $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                      Parameters
                                      +
                                      +
                                      + $message + : string + = ""
                                      +
                                      +

                                      [optional] The Exception message to throw.

                                      +
                                      + +
                                      +
                                      + $code + : int + = 181
                                      +
                                      +

                                      [optional] The Exception code to throw.

                                      +
                                      + +
                                      +
                                      + $previous + : Exception|null + = null
                                      +
                                      + +
                                      +
                                      + $apiCode + : string|null + = "000000"
                                      +
                                      +

                                      [optional] The API Exception code to throw.

                                      +
                                      + +
                                      +
                                      + + + +
                                      Return values
                                      + mixed + — + + +
                                      +
                                      +

                                      + getApiCode() + +

                                      + + + + + public + getApiCode() : string + + + + + +
                                      Return values
                                      + string + — +

                                      Error code provided by the BitPay REST API

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

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyQueryException.html new file mode 100644 index 0000000..98a805c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-CurrencyQueryException.html @@ -0,0 +1,521 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                        +

                                        Documentation

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

                                        + CurrencyQueryException + + + extends CurrencyException + + +
                                        + in package + +
                                        + + +

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

                                        + Table of Contents + +

                                        + +
                                        +
                                        + $apiCode + +  : string|null +
                                        +
                                        + +
                                        + $bitPayCode + +  : string +
                                        +
                                        + +
                                        + $bitPayMessage + +  : string +
                                        +
                                        + +
                                        + __construct() + +  : mixed +
                                        +
                                        Construct the CurrencyQueryException.
                                        + +
                                        + getApiCode() + +  : string +
                                        +
                                        + +
                                        + + + + + + +
                                        +

                                        + Properties + +

                                        +
                                        +

                                        + $apiCode + + + +

                                        + + + + + protected + string|null + $apiCode + + +
                                        + +
                                        + + + +
                                        +
                                        +

                                        + $bitPayCode + + + +

                                        + + + + + private + string + $bitPayCode + = "BITPAY-CURRENCY-GET" + +
                                        + +
                                        + + + +
                                        +
                                        +

                                        + $bitPayMessage + + + +

                                        + + + + + private + string + $bitPayMessage + = "Failed to retrieve currencies" + +
                                        + +
                                        + + + +
                                        +
                                        + +
                                        +

                                        + Methods + +

                                        +
                                        +

                                        + __construct() + +

                                        + + +

                                        Construct the CurrencyQueryException.

                                        + + + public + __construct([string $message = "" ][, int $code = 182 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                        Parameters
                                        +
                                        +
                                        + $message + : string + = ""
                                        +
                                        +

                                        [optional] The Exception message to throw.

                                        +
                                        + +
                                        +
                                        + $code + : int + = 182
                                        +
                                        +

                                        [optional] The Exception code to throw.

                                        +
                                        + +
                                        +
                                        + $previous + : Exception + = null
                                        +
                                        + +
                                        +
                                        + $apiCode + : string|null + = "000000"
                                        +
                                        +

                                        [optional] The API Exception code to throw.

                                        +
                                        + +
                                        +
                                        + + + +
                                        Return values
                                        + mixed + — + + +
                                        +
                                        +

                                        + getApiCode() + +

                                        + + + + + public + getApiCode() : string + + + + + +
                                        Return values
                                        + string + — +

                                        Error code provided by the BitPay REST API

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

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCancellationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCancellationException.html new file mode 100644 index 0000000..05c5a15 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCancellationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                          +

                                          Documentation

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

                                          + InvoiceCancellationException + + + extends InvoiceException + + +
                                          + in package + +
                                          + + +

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

                                          + Table of Contents + +

                                          + +
                                          +
                                          + $apiCode + +  : string|null +
                                          +
                                          + +
                                          + $bitPayCode + +  : string +
                                          +
                                          + +
                                          + $bitPayMessage + +  : string +
                                          +
                                          + +
                                          + __construct() + +  : mixed +
                                          +
                                          Construct the InvoiceCancellationException.
                                          + +
                                          + getApiCode() + +  : string +
                                          +
                                          + +
                                          + + + + + + +
                                          +

                                          + Properties + +

                                          +
                                          +

                                          + $apiCode + + + +

                                          + + + + + protected + string|null + $apiCode + + +
                                          + +
                                          + + + +
                                          + +
                                          +

                                          + $bitPayMessage + + + +

                                          + + + + + private + string + $bitPayMessage + = "Failed to cancel invoice object" + +
                                          + +
                                          + + + +
                                          +
                                          + +
                                          +

                                          + Methods + +

                                          +
                                          +

                                          + __construct() + +

                                          + + +

                                          Construct the InvoiceCancellationException.

                                          + + + public + __construct([string $message = "" ][, int $code = 105 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                          Parameters
                                          +
                                          +
                                          + $message + : string + = ""
                                          +
                                          +

                                          [optional] The Exception message to throw.

                                          +
                                          + +
                                          +
                                          + $code + : int + = 105
                                          +
                                          +

                                          [optional] The Exception code to throw.

                                          +
                                          + +
                                          +
                                          + $previous + : Exception + = null
                                          +
                                          +
                                          + +
                                          +
                                          + $apiCode + : string|null + = "000000"
                                          +
                                          +

                                          [optional] The API Exception code to throw.

                                          +
                                          + +
                                          +
                                          + + + +
                                          Return values
                                          + mixed + — + + +
                                          +
                                          +

                                          + getApiCode() + +

                                          + + + + + public + getApiCode() : string + + + + + +
                                          Return values
                                          + string + — +

                                          Error code provided by the BitPay REST API

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

                                          Search results

                                          + +
                                          +
                                          +
                                            +
                                            +
                                            +
                                            +
                                            +
                                            + + +
                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCreationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCreationException.html new file mode 100644 index 0000000..e3100a4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceCreationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                            +

                                            Documentation

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

                                            + InvoiceCreationException + + + extends InvoiceException + + +
                                            + in package + +
                                            + + +

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

                                            + Table of Contents + +

                                            + +
                                            +
                                            + $apiCode + +  : string|null +
                                            +
                                            + +
                                            + $bitPayCode + +  : string +
                                            +
                                            + +
                                            + $bitPayMessage + +  : string +
                                            +
                                            + +
                                            + __construct() + +  : mixed +
                                            +
                                            Construct the InvoiceCreationException.
                                            + +
                                            + getApiCode() + +  : string +
                                            +
                                            + +
                                            + + + + + + +
                                            +

                                            + Properties + +

                                            +
                                            +

                                            + $apiCode + + + +

                                            + + + + + protected + string|null + $apiCode + + +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $bitPayCode + + + +

                                            + + + + + private + string + $bitPayCode + = "BITPAY-INVOICE-CREATE" + +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $bitPayMessage + + + +

                                            + + + + + private + string + $bitPayMessage + = "Failed to create invoice" + +
                                            + +
                                            + + + +
                                            +
                                            + +
                                            +

                                            + Methods + +

                                            +
                                            +

                                            + __construct() + +

                                            + + +

                                            Construct the InvoiceCreationException.

                                            + + + public + __construct([string $message = "" ][, int $code = 102 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                            Parameters
                                            +
                                            +
                                            + $message + : string + = ""
                                            +
                                            +

                                            [optional] The Exception message to throw.

                                            +
                                            + +
                                            +
                                            + $code + : int + = 102
                                            +
                                            +

                                            [optional] The Exception code to throw.

                                            +
                                            + +
                                            +
                                            + $previous + : Exception + = null
                                            +
                                            +
                                            + +
                                            +
                                            + $apiCode + : string|null + = "000000"
                                            +
                                            +

                                            [optional] The API Exception code to throw.

                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + mixed + — + + +
                                            +
                                            +

                                            + getApiCode() + +

                                            + + + + + public + getApiCode() : string + + + + + +
                                            Return values
                                            + string + — +

                                            Error code provided by the BitPay REST API

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

                                            Search results

                                            + +
                                            +
                                            +
                                              +
                                              +
                                              +
                                              +
                                              +
                                              + + +
                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceException.html new file mode 100644 index 0000000..9f62d7c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                              +

                                              Documentation

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

                                              + InvoiceException + + + extends BitPayException + + +
                                              + in package + +
                                              + + +

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

                                              + Table of Contents + +

                                              + +
                                              +
                                              + $apiCode + +  : string|null +
                                              +
                                              + +
                                              + $bitPayCode + +  : string +
                                              +
                                              + +
                                              + $bitPayMessage + +  : string +
                                              +
                                              + +
                                              + __construct() + +  : mixed +
                                              +
                                              Construct the InvoiceException.
                                              + +
                                              + getApiCode() + +  : string +
                                              +
                                              + +
                                              + + + + + + +
                                              +

                                              + Properties + +

                                              +
                                              +

                                              + $apiCode + + + +

                                              + + + + + protected + string|null + $apiCode + + +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $bitPayCode + + + +

                                              + + + + + private + string + $bitPayCode + = "BITPAY-INVOICE-GENERIC" + +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $bitPayMessage + + + +

                                              + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the invoice" + +
                                              + +
                                              + + + +
                                              +
                                              + +
                                              +

                                              + Methods + +

                                              +
                                              +

                                              + __construct() + +

                                              + + +

                                              Construct the InvoiceException.

                                              + + + public + __construct([string $message = "" ][, int $code = 101 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                              Parameters
                                              +
                                              +
                                              + $message + : string + = ""
                                              +
                                              +

                                              [optional] The Exception message to throw.

                                              +
                                              + +
                                              +
                                              + $code + : int + = 101
                                              +
                                              +

                                              [optional] The Exception code to throw.

                                              +
                                              + +
                                              +
                                              + $previous + : Exception + = null
                                              +
                                              +
                                              + +
                                              +
                                              + $apiCode + : string|null + = "000000"
                                              +
                                              +

                                              [optional] The API Exception code to throw.

                                              +
                                              + +
                                              +
                                              + + + +
                                              Return values
                                              + mixed + — + + +
                                              +
                                              +

                                              + getApiCode() + +

                                              + + + + + public + getApiCode() : string + + + + + +
                                              Return values
                                              + string + — +

                                              Error code provided by the BitPay REST API

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

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoicePaymentException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoicePaymentException.html new file mode 100644 index 0000000..125fdb8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoicePaymentException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                +

                                                Documentation

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

                                                + InvoicePaymentException + + + extends InvoiceException + + +
                                                + in package + +
                                                + + +

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

                                                + Table of Contents + +

                                                + +
                                                +
                                                + $apiCode + +  : string|null +
                                                +
                                                + +
                                                + $bitPayCode + +  : string +
                                                +
                                                + +
                                                + $bitPayMessage + +  : string +
                                                +
                                                + +
                                                + __construct() + +  : mixed +
                                                +
                                                Construct the InvoicePaymentException.
                                                + +
                                                + getApiCode() + +  : string +
                                                +
                                                + +
                                                + + + + + + +
                                                +

                                                + Properties + +

                                                +
                                                +

                                                + $apiCode + + + +

                                                + + + + + protected + string|null + $apiCode + + +
                                                + +
                                                + + + +
                                                +
                                                +

                                                + $bitPayCode + + + +

                                                + + + + + private + string + $bitPayCode + = "BITPAY-INVOICE-PAY-UPDATE" + +
                                                + +
                                                + + + +
                                                +
                                                +

                                                + $bitPayMessage + + + +

                                                + + + + + private + string + $bitPayMessage + = "Failed to pay invoice" + +
                                                + +
                                                + + + +
                                                +
                                                + +
                                                +

                                                + Methods + +

                                                +
                                                +

                                                + __construct() + +

                                                + + +

                                                Construct the InvoicePaymentException.

                                                + + + public + __construct([string $message = "" ][, int $code = 107 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                Parameters
                                                +
                                                +
                                                + $message + : string + = ""
                                                +
                                                +

                                                [optional] The Exception message to throw.

                                                +
                                                + +
                                                +
                                                + $code + : int + = 107
                                                +
                                                +

                                                [optional] The Exception code to throw.

                                                +
                                                + +
                                                +
                                                + $previous + : Exception + = null
                                                +
                                                +
                                                + +
                                                +
                                                + $apiCode + : string|null + = "000000"
                                                +
                                                +

                                                [optional] The API Exception code to throw.

                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + mixed + — + + +
                                                +
                                                +

                                                + getApiCode() + +

                                                + + + + + public + getApiCode() : string + + + + + +
                                                Return values
                                                + string + — +

                                                Error code provided by the BitPay REST API

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

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceQueryException.html new file mode 100644 index 0000000..186aff2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                  +

                                                  Documentation

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

                                                  + InvoiceQueryException + + + extends InvoiceException + + +
                                                  + in package + +
                                                  + + +

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

                                                  + Table of Contents + +

                                                  + +
                                                  +
                                                  + $apiCode + +  : string|null +
                                                  +
                                                  + +
                                                  + $bitPayCode + +  : string +
                                                  +
                                                  + +
                                                  + $bitPayMessage + +  : string +
                                                  +
                                                  + +
                                                  + __construct() + +  : mixed +
                                                  +
                                                  Construct the InvoiceQueryException.
                                                  + +
                                                  + getApiCode() + +  : string +
                                                  +
                                                  + +
                                                  + + + + + + +
                                                  +

                                                  + Properties + +

                                                  +
                                                  +

                                                  + $apiCode + + + +

                                                  + + + + + protected + string|null + $apiCode + + +
                                                  + +
                                                  + + + +
                                                  +
                                                  +

                                                  + $bitPayCode + + + +

                                                  + + + + + private + string + $bitPayCode + = "BITPAY-INVOICE-GET" + +
                                                  + +
                                                  + + + +
                                                  +
                                                  +

                                                  + $bitPayMessage + + + +

                                                  + + + + + private + string + $bitPayMessage + = "Failed to retrieve invoice" + +
                                                  + +
                                                  + + + +
                                                  +
                                                  + +
                                                  +

                                                  + Methods + +

                                                  +
                                                  +

                                                  + __construct() + +

                                                  + + +

                                                  Construct the InvoiceQueryException.

                                                  + + + public + __construct([string $message = "" ][, int $code = 103 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $message + : string + = ""
                                                  +
                                                  +

                                                  [optional] The Exception message to throw.

                                                  +
                                                  + +
                                                  +
                                                  + $code + : int + = 103
                                                  +
                                                  +

                                                  [optional] The Exception code to throw.

                                                  +
                                                  + +
                                                  +
                                                  + $previous + : Exception + = null
                                                  +
                                                  +
                                                  + +
                                                  +
                                                  + $apiCode + : string|null + = "000000"
                                                  +
                                                  +

                                                  [optional] The API Exception code to throw.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + mixed + — + + +
                                                  +
                                                  +

                                                  + getApiCode() + +

                                                  + + + + + public + getApiCode() : string + + + + + +
                                                  Return values
                                                  + string + — +

                                                  Error code provided by the BitPay REST API

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

                                                  Search results

                                                  + +
                                                  +
                                                  +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    + + +
                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceUpdateException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceUpdateException.html new file mode 100644 index 0000000..ffc0740 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-InvoiceUpdateException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                    +

                                                    Documentation

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

                                                    + InvoiceUpdateException + + + extends InvoiceException + + +
                                                    + in package + +
                                                    + + +

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

                                                    + Table of Contents + +

                                                    + +
                                                    +
                                                    + $apiCode + +  : string|null +
                                                    +
                                                    + +
                                                    + $bitPayCode + +  : string +
                                                    +
                                                    + +
                                                    + $bitPayMessage + +  : string +
                                                    +
                                                    + +
                                                    + __construct() + +  : mixed +
                                                    +
                                                    Construct the InvoiceUpdateException.
                                                    + +
                                                    + getApiCode() + +  : string +
                                                    +
                                                    + +
                                                    + + + + + + +
                                                    +

                                                    + Properties + +

                                                    +
                                                    +

                                                    + $apiCode + + + +

                                                    + + + + + protected + string|null + $apiCode + + +
                                                    + +
                                                    + + + +
                                                    +
                                                    +

                                                    + $bitPayCode + + + +

                                                    + + + + + private + string + $bitPayCode + = "BITPAY-INVOICE-UPDATE" + +
                                                    + +
                                                    + + + +
                                                    +
                                                    +

                                                    + $bitPayMessage + + + +

                                                    + + + + + private + string + $bitPayMessage + = "Failed to update invoice" + +
                                                    + +
                                                    + + + +
                                                    +
                                                    + +
                                                    +

                                                    + Methods + +

                                                    +
                                                    +

                                                    + __construct() + +

                                                    + + +

                                                    Construct the InvoiceUpdateException.

                                                    + + + public + __construct([string $message = "" ][, int $code = 104 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                    Parameters
                                                    +
                                                    +
                                                    + $message + : string + = ""
                                                    +
                                                    +

                                                    [optional] The Exception message to throw.

                                                    +
                                                    + +
                                                    +
                                                    + $code + : int + = 104
                                                    +
                                                    +

                                                    [optional] The Exception code to throw.

                                                    +
                                                    + +
                                                    +
                                                    + $previous + : Exception + = null
                                                    +
                                                    +
                                                    + +
                                                    +
                                                    + $apiCode + : string|null + = "000000"
                                                    +
                                                    +

                                                    [optional] The API Exception code to throw.

                                                    +
                                                    + +
                                                    +
                                                    + + + +
                                                    Return values
                                                    + mixed + — + + +
                                                    +
                                                    +

                                                    + getApiCode() + +

                                                    + + + + + public + getApiCode() : string + + + + + +
                                                    Return values
                                                    + string + — +

                                                    Error code provided by the BitPay REST API

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

                                                    Search results

                                                    + +
                                                    +
                                                    +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      + + +
                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerException.html new file mode 100644 index 0000000..bf02fbc --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                      +

                                                      Documentation

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

                                                      + LedgerException + + + extends BitPayException + + +
                                                      + in package + +
                                                      + + +

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

                                                      + Table of Contents + +

                                                      + +
                                                      +
                                                      + $apiCode + +  : string|null +
                                                      +
                                                      + +
                                                      + $bitPayCode + +  : string +
                                                      +
                                                      + +
                                                      + $bitPayMessage + +  : string +
                                                      +
                                                      + +
                                                      + __construct() + +  : mixed +
                                                      +
                                                      Construct the LedgerException.
                                                      + +
                                                      + getApiCode() + +  : string +
                                                      +
                                                      + +
                                                      + + + + + + +
                                                      +

                                                      + Properties + +

                                                      +
                                                      +

                                                      + $apiCode + + + +

                                                      + + + + + protected + string|null + $apiCode + + +
                                                      + +
                                                      + + + +
                                                      +
                                                      +

                                                      + $bitPayCode + + + +

                                                      + + + + + private + string + $bitPayCode + = "BITPAY-LEDGER-GENERIC" + +
                                                      + +
                                                      + + + +
                                                      +
                                                      +

                                                      + $bitPayMessage + + + +

                                                      + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the ledger" + +
                                                      + +
                                                      + + + +
                                                      +
                                                      + +
                                                      +

                                                      + Methods + +

                                                      +
                                                      +

                                                      + __construct() + +

                                                      + + +

                                                      Construct the LedgerException.

                                                      + + + public + __construct([string $message = "" ][, int $code = 131 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                      Parameters
                                                      +
                                                      +
                                                      + $message + : string + = ""
                                                      +
                                                      +

                                                      [optional] The Exception message to throw.

                                                      +
                                                      + +
                                                      +
                                                      + $code + : int + = 131
                                                      +
                                                      +

                                                      [optional] The Exception code to throw.

                                                      +
                                                      + +
                                                      +
                                                      + $previous + : Exception + = null
                                                      +
                                                      +
                                                      + +
                                                      +
                                                      + $apiCode + : string|null + = "000000"
                                                      +
                                                      +

                                                      [optional] The API Exception code to throw.

                                                      +
                                                      + +
                                                      +
                                                      + + + +
                                                      Return values
                                                      + mixed + — + + +
                                                      +
                                                      +

                                                      + getApiCode() + +

                                                      + + + + + public + getApiCode() : string + + + + + +
                                                      Return values
                                                      + string + — +

                                                      Error code provided by the BitPay REST API

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

                                                      Search results

                                                      + +
                                                      +
                                                      +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        + + +
                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerQueryException.html new file mode 100644 index 0000000..da394e0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-LedgerQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                        +

                                                        Documentation

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

                                                        + LedgerQueryException + + + extends LedgerException + + +
                                                        + in package + +
                                                        + + +

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

                                                        + Table of Contents + +

                                                        + +
                                                        +
                                                        + $apiCode + +  : string|null +
                                                        +
                                                        + +
                                                        + $bitPayCode + +  : string +
                                                        +
                                                        + +
                                                        + $bitPayMessage + +  : string +
                                                        +
                                                        + +
                                                        + __construct() + +  : mixed +
                                                        +
                                                        Construct the LedgerQueryException.
                                                        + +
                                                        + getApiCode() + +  : string +
                                                        +
                                                        + +
                                                        + + + + + + +
                                                        +

                                                        + Properties + +

                                                        +
                                                        +

                                                        + $apiCode + + + +

                                                        + + + + + protected + string|null + $apiCode + + +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $bitPayCode + + + +

                                                        + + + + + private + string + $bitPayCode + = "BITPAY-LEDGER-GET" + +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $bitPayMessage + + + +

                                                        + + + + + private + string + $bitPayMessage + = "Failed to retrieve ledger" + +
                                                        + +
                                                        + + + +
                                                        +
                                                        + +
                                                        +

                                                        + Methods + +

                                                        +
                                                        +

                                                        + __construct() + +

                                                        + + +

                                                        Construct the LedgerQueryException.

                                                        + + + public + __construct([string $message = "" ][, int $code = 132 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $message + : string + = ""
                                                        +
                                                        +

                                                        [optional] The Exception message to throw.

                                                        +
                                                        + +
                                                        +
                                                        + $code + : int + = 132
                                                        +
                                                        +

                                                        [optional] The Exception code to throw.

                                                        +
                                                        + +
                                                        +
                                                        + $previous + : Exception + = null
                                                        +
                                                        +
                                                        + +
                                                        +
                                                        + $apiCode + : string|null + = "000000"
                                                        +
                                                        +

                                                        [optional] The API Exception code to throw.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + mixed + — + + +
                                                        +
                                                        +

                                                        + getApiCode() + +

                                                        + + + + + public + getApiCode() : string + + + + + +
                                                        Return values
                                                        + string + — +

                                                        Error code provided by the BitPay REST API

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

                                                        Search results

                                                        + +
                                                        +
                                                        +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          + + +
                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html new file mode 100644 index 0000000..a9d5be9 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                          +

                                                          Documentation

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

                                                          + PayoutBatchCancellationException + + + extends PayoutBatchException + + +
                                                          + in package + +
                                                          + + +

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

                                                          + Table of Contents + +

                                                          + +
                                                          +
                                                          + $apiCode + +  : string|null +
                                                          +
                                                          + +
                                                          + $bitPayCode + +  : string +
                                                          +
                                                          + +
                                                          + $bitPayMessage + +  : string +
                                                          +
                                                          + +
                                                          + __construct() + +  : mixed +
                                                          +
                                                          Construct the PayoutBatchCancellationException.
                                                          + +
                                                          + getApiCode() + +  : string +
                                                          +
                                                          + +
                                                          + + + + + + +
                                                          +

                                                          + Properties + +

                                                          +
                                                          +

                                                          + $apiCode + + + +

                                                          + + + + + protected + string|null + $apiCode + + +
                                                          + +
                                                          + + + +
                                                          + + +
                                                          + +
                                                          +

                                                          + Methods + +

                                                          +
                                                          +

                                                          + __construct() + +

                                                          + + +

                                                          Construct the PayoutBatchCancellationException.

                                                          + + + public + __construct([string $message = "" ][, int $code = 204 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                          Parameters
                                                          +
                                                          +
                                                          + $message + : string + = ""
                                                          +
                                                          +

                                                          [optional] The Exception message to throw.

                                                          +
                                                          + +
                                                          +
                                                          + $code + : int + = 204
                                                          +
                                                          +

                                                          [optional] The Exception code to throw.

                                                          +
                                                          + +
                                                          +
                                                          + $previous + : Exception + = null
                                                          +
                                                          +
                                                          + +
                                                          +
                                                          + $apiCode + : string|null + = "000000"
                                                          +
                                                          +

                                                          [optional] The API Exception code to throw.

                                                          +
                                                          + +
                                                          +
                                                          + + + +
                                                          Return values
                                                          + mixed + — + + +
                                                          +
                                                          +

                                                          + getApiCode() + +

                                                          + + + + + public + getApiCode() : string + + + + + +
                                                          Return values
                                                          + string + — +

                                                          Error code provided by the BitPay REST API

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

                                                          Search results

                                                          + +
                                                          +
                                                          +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            + + +
                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html new file mode 100644 index 0000000..13b83d1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                            +

                                                            Documentation

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

                                                            + PayoutBatchCreationException + + + extends PayoutBatchException + + +
                                                            + in package + +
                                                            + + +

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

                                                            + Table of Contents + +

                                                            + +
                                                            +
                                                            + $apiCode + +  : string|null +
                                                            +
                                                            + +
                                                            + $bitPayCode + +  : string +
                                                            +
                                                            + +
                                                            + $bitPayMessage + +  : string +
                                                            +
                                                            + +
                                                            + __construct() + +  : mixed +
                                                            +
                                                            Construct the PayoutBatchCreationException.
                                                            + +
                                                            + getApiCode() + +  : string +
                                                            +
                                                            + +
                                                            + + + + + + +
                                                            +

                                                            + Properties + +

                                                            +
                                                            +

                                                            + $apiCode + + + +

                                                            + + + + + protected + string|null + $apiCode + + +
                                                            + +
                                                            + + + +
                                                            +
                                                            +

                                                            + $bitPayCode + + + +

                                                            + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-BATCH-SUBMIT" + +
                                                            + +
                                                            + + + +
                                                            +
                                                            +

                                                            + $bitPayMessage + + + +

                                                            + + + + + private + string + $bitPayMessage + = "Failed to create payout batch" + +
                                                            + +
                                                            + + + +
                                                            +
                                                            + +
                                                            +

                                                            + Methods + +

                                                            +
                                                            +

                                                            + __construct() + +

                                                            + + +

                                                            Construct the PayoutBatchCreationException.

                                                            + + + public + __construct([string $message = "" ][, int $code = 202 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                            Parameters
                                                            +
                                                            +
                                                            + $message + : string + = ""
                                                            +
                                                            +

                                                            [optional] The Exception message to throw.

                                                            +
                                                            + +
                                                            +
                                                            + $code + : int + = 202
                                                            +
                                                            +

                                                            [optional] The Exception code to throw.

                                                            +
                                                            + +
                                                            +
                                                            + $previous + : Exception + = null
                                                            +
                                                            +
                                                            + +
                                                            +
                                                            + $apiCode + : string|null + = "000000"
                                                            +
                                                            +

                                                            [optional] The API Exception code to throw.

                                                            +
                                                            + +
                                                            +
                                                            + + + +
                                                            Return values
                                                            + mixed + — + + +
                                                            +
                                                            +

                                                            + getApiCode() + +

                                                            + + + + + public + getApiCode() : string + + + + + +
                                                            Return values
                                                            + string + — +

                                                            Error code provided by the BitPay REST API

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

                                                            Search results

                                                            + +
                                                            +
                                                            +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              + + +
                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchException.html new file mode 100644 index 0000000..1b08ca9 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                              +

                                                              Documentation

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

                                                              + PayoutBatchException + + + extends BitPayException + + +
                                                              + in package + +
                                                              + + +

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

                                                              + Table of Contents + +

                                                              + +
                                                              +
                                                              + $apiCode + +  : string|null +
                                                              +
                                                              + +
                                                              + $bitPayCode + +  : string +
                                                              +
                                                              + +
                                                              + $bitPayMessage + +  : string +
                                                              +
                                                              + +
                                                              + __construct() + +  : mixed +
                                                              +
                                                              Construct the PayoutBatchException.
                                                              + +
                                                              + getApiCode() + +  : string +
                                                              +
                                                              + +
                                                              + + + + + + +
                                                              +

                                                              + Properties + +

                                                              +
                                                              +

                                                              + $apiCode + + + +

                                                              + + + + + protected + string|null + $apiCode + + +
                                                              + +
                                                              + + + +
                                                              +
                                                              +

                                                              + $bitPayCode + + + +

                                                              + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-BATCH-GENERIC" + +
                                                              + +
                                                              + + + +
                                                              +
                                                              +

                                                              + $bitPayMessage + + + +

                                                              + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the payout batch" + +
                                                              + +
                                                              + + + +
                                                              +
                                                              + +
                                                              +

                                                              + Methods + +

                                                              +
                                                              +

                                                              + __construct() + +

                                                              + + +

                                                              Construct the PayoutBatchException.

                                                              + + + public + __construct([string $message = "" ][, int $code = 201 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                              Parameters
                                                              +
                                                              +
                                                              + $message + : string + = ""
                                                              +
                                                              +

                                                              [optional] The Exception message to throw.

                                                              +
                                                              + +
                                                              +
                                                              + $code + : int + = 201
                                                              +
                                                              +

                                                              [optional] The Exception code to throw.

                                                              +
                                                              + +
                                                              +
                                                              + $previous + : Exception + = null
                                                              +
                                                              +
                                                              + +
                                                              +
                                                              + $apiCode + : string|null + = "000000"
                                                              +
                                                              +

                                                              [optional] The API Exception code to throw.

                                                              +
                                                              + +
                                                              +
                                                              + + + +
                                                              Return values
                                                              + mixed + — + + +
                                                              +
                                                              +

                                                              + getApiCode() + +

                                                              + + + + + public + getApiCode() : string + + + + + +
                                                              Return values
                                                              + string + — +

                                                              Error code provided by the BitPay REST API

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

                                                              Search results

                                                              + +
                                                              +
                                                              +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                + + +
                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html new file mode 100644 index 0000000..96a65a5 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                +

                                                                Documentation

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

                                                                + PayoutBatchNotificationException + + + extends PayoutBatchException + + +
                                                                + in package + +
                                                                + + +

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

                                                                + Table of Contents + +

                                                                + +
                                                                +
                                                                + $apiCode + +  : string|null +
                                                                +
                                                                + +
                                                                + $bitPayCode + +  : string +
                                                                +
                                                                + +
                                                                + $bitPayMessage + +  : string +
                                                                +
                                                                + +
                                                                + __construct() + +  : mixed +
                                                                +
                                                                Construct the PayoutBatchNotificationException.
                                                                + +
                                                                + getApiCode() + +  : string +
                                                                +
                                                                + +
                                                                + + + + + + +
                                                                +

                                                                + Properties + +

                                                                +
                                                                +

                                                                + $apiCode + + + +

                                                                + + + + + protected + string|null + $apiCode + + +
                                                                + +
                                                                + + + +
                                                                + +
                                                                +

                                                                + $bitPayMessage + + + +

                                                                + + + + + private + string + $bitPayMessage + = "Failed to send payout batch notification" + +
                                                                + +
                                                                + + + +
                                                                +
                                                                + +
                                                                +

                                                                + Methods + +

                                                                +
                                                                +

                                                                + __construct() + +

                                                                + + +

                                                                Construct the PayoutBatchNotificationException.

                                                                + + + public + __construct([string $message = "" ][, int $code = 205 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                Parameters
                                                                +
                                                                +
                                                                + $message + : string + = ""
                                                                +
                                                                +

                                                                [optional] The Exception message to throw.

                                                                +
                                                                + +
                                                                +
                                                                + $code + : int + = 205
                                                                +
                                                                +

                                                                [optional] The Exception code to throw.

                                                                +
                                                                + +
                                                                +
                                                                + $previous + : Exception + = null
                                                                +
                                                                +
                                                                + +
                                                                +
                                                                + $apiCode + : string|null + = "000000"
                                                                +
                                                                +

                                                                [optional] The API Exception code to throw.

                                                                +
                                                                + +
                                                                +
                                                                + + + +
                                                                Return values
                                                                + mixed + — + + +
                                                                +
                                                                +

                                                                + getApiCode() + +

                                                                + + + + + public + getApiCode() : string + + + + + +
                                                                Return values
                                                                + string + — +

                                                                Error code provided by the BitPay REST API

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

                                                                Search results

                                                                + +
                                                                +
                                                                +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  + + +
                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html new file mode 100644 index 0000000..d180d02 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                  +

                                                                  Documentation

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

                                                                  + PayoutBatchQueryException + + + extends PayoutBatchException + + +
                                                                  + in package + +
                                                                  + + +

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

                                                                  + Table of Contents + +

                                                                  + +
                                                                  +
                                                                  + $apiCode + +  : string|null +
                                                                  +
                                                                  + +
                                                                  + $bitPayCode + +  : string +
                                                                  +
                                                                  + +
                                                                  + $bitPayMessage + +  : string +
                                                                  +
                                                                  + +
                                                                  + __construct() + +  : mixed +
                                                                  +
                                                                  Construct the PayoutBatchQueryException.
                                                                  + +
                                                                  + getApiCode() + +  : string +
                                                                  +
                                                                  + +
                                                                  + + + + + + +
                                                                  +

                                                                  + Properties + +

                                                                  +
                                                                  +

                                                                  + $apiCode + + + +

                                                                  + + + + + protected + string|null + $apiCode + + +
                                                                  + +
                                                                  + + + +
                                                                  +
                                                                  +

                                                                  + $bitPayCode + + + +

                                                                  + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-BATCH-GET" + +
                                                                  + +
                                                                  + + + +
                                                                  +
                                                                  +

                                                                  + $bitPayMessage + + + +

                                                                  + + + + + private + string + $bitPayMessage + = "Failed to retrieve payout batch" + +
                                                                  + +
                                                                  + + + +
                                                                  +
                                                                  + +
                                                                  +

                                                                  + Methods + +

                                                                  +
                                                                  +

                                                                  + __construct() + +

                                                                  + + +

                                                                  Construct the PayoutBatchQueryException.

                                                                  + + + public + __construct([string $message = "" ][, int $code = 203 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                  Parameters
                                                                  +
                                                                  +
                                                                  + $message + : string + = ""
                                                                  +
                                                                  +

                                                                  [optional] The Exception message to throw.

                                                                  +
                                                                  + +
                                                                  +
                                                                  + $code + : int + = 203
                                                                  +
                                                                  +

                                                                  [optional] The Exception code to throw.

                                                                  +
                                                                  + +
                                                                  +
                                                                  + $previous + : Exception + = null
                                                                  +
                                                                  +
                                                                  + +
                                                                  +
                                                                  + $apiCode + : string|null + = "000000"
                                                                  +
                                                                  +

                                                                  [optional] The API Exception code to throw.

                                                                  +
                                                                  + +
                                                                  +
                                                                  + + + +
                                                                  Return values
                                                                  + mixed + — + + +
                                                                  +
                                                                  +

                                                                  + getApiCode() + +

                                                                  + + + + + public + getApiCode() : string + + + + + +
                                                                  Return values
                                                                  + string + — +

                                                                  Error code provided by the BitPay REST API

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

                                                                  Search results

                                                                  + +
                                                                  +
                                                                  +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    + + +
                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCancellationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCancellationException.html new file mode 100644 index 0000000..e1c5f7d --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCancellationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                    +

                                                                    Documentation

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

                                                                    + PayoutCancellationException + + + extends PayoutException + + +
                                                                    + in package + +
                                                                    + + +

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

                                                                    + Table of Contents + +

                                                                    + +
                                                                    +
                                                                    + $apiCode + +  : string|null +
                                                                    +
                                                                    + +
                                                                    + $bitPayCode + +  : string +
                                                                    +
                                                                    + +
                                                                    + $bitPayMessage + +  : string +
                                                                    +
                                                                    + +
                                                                    + __construct() + +  : mixed +
                                                                    +
                                                                    Construct the PayoutCancellationException.
                                                                    + +
                                                                    + getApiCode() + +  : string +
                                                                    +
                                                                    + +
                                                                    + + + + + + +
                                                                    +

                                                                    + Properties + +

                                                                    +
                                                                    +

                                                                    + $apiCode + + + +

                                                                    + + + + + protected + string|null + $apiCode + + +
                                                                    + +
                                                                    + + + +
                                                                    +
                                                                    +

                                                                    + $bitPayCode + + + +

                                                                    + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-CANCEL" + +
                                                                    + +
                                                                    + + + +
                                                                    +
                                                                    +

                                                                    + $bitPayMessage + + + +

                                                                    + + + + + private + string + $bitPayMessage + = "Failed to cancel payout" + +
                                                                    + +
                                                                    + + + +
                                                                    +
                                                                    + +
                                                                    +

                                                                    + Methods + +

                                                                    +
                                                                    +

                                                                    + __construct() + +

                                                                    + + +

                                                                    Construct the PayoutCancellationException.

                                                                    + + + public + __construct([string $message = "" ][, int $code = 124 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $message + : string + = ""
                                                                    +
                                                                    +

                                                                    [optional] The Exception message to throw.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + $code + : int + = 124
                                                                    +
                                                                    +

                                                                    [optional] The Exception code to throw.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + $previous + : Exception + = null
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + $apiCode + : string|null + = "000000"
                                                                    +
                                                                    +

                                                                    [optional] The API Exception code to throw.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +
                                                                    Return values
                                                                    + mixed + — + + +
                                                                    +
                                                                    +

                                                                    + getApiCode() + +

                                                                    + + + + + public + getApiCode() : string + + + + + +
                                                                    Return values
                                                                    + string + — +

                                                                    Error code provided by the BitPay REST API

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

                                                                    Search results

                                                                    + +
                                                                    +
                                                                    +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      + + +
                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCreationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCreationException.html new file mode 100644 index 0000000..7ba8649 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutCreationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                      +

                                                                      Documentation

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

                                                                      + PayoutCreationException + + + extends PayoutException + + +
                                                                      + in package + +
                                                                      + + +

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

                                                                      + Table of Contents + +

                                                                      + +
                                                                      +
                                                                      + $apiCode + +  : string|null +
                                                                      +
                                                                      + +
                                                                      + $bitPayCode + +  : string +
                                                                      +
                                                                      + +
                                                                      + $bitPayMessage + +  : string +
                                                                      +
                                                                      + +
                                                                      + __construct() + +  : mixed +
                                                                      +
                                                                      Construct the PayoutCreationException.
                                                                      + +
                                                                      + getApiCode() + +  : string +
                                                                      +
                                                                      + +
                                                                      + + + + + + +
                                                                      +

                                                                      + Properties + +

                                                                      +
                                                                      +

                                                                      + $apiCode + + + +

                                                                      + + + + + protected + string|null + $apiCode + + +
                                                                      + +
                                                                      + + + +
                                                                      +
                                                                      +

                                                                      + $bitPayCode + + + +

                                                                      + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-SUBMIT" + +
                                                                      + +
                                                                      + + + +
                                                                      +
                                                                      +

                                                                      + $bitPayMessage + + + +

                                                                      + + + + + private + string + $bitPayMessage + = "Failed to create payout" + +
                                                                      + +
                                                                      + + + +
                                                                      +
                                                                      + +
                                                                      +

                                                                      + Methods + +

                                                                      +
                                                                      +

                                                                      + __construct() + +

                                                                      + + +

                                                                      Construct the PayoutCreationException.

                                                                      + + + public + __construct([string $message = "" ][, int $code = 122 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                      Parameters
                                                                      +
                                                                      +
                                                                      + $message + : string + = ""
                                                                      +
                                                                      +

                                                                      [optional] The Exception message to throw.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + $code + : int + = 122
                                                                      +
                                                                      +

                                                                      [optional] The Exception code to throw.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + $previous + : Exception + = null
                                                                      +
                                                                      +
                                                                      + +
                                                                      +
                                                                      + $apiCode + : string|null + = "000000"
                                                                      +
                                                                      +

                                                                      [optional] The API Exception code to throw.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + + + +
                                                                      Return values
                                                                      + mixed + — + + +
                                                                      +
                                                                      +

                                                                      + getApiCode() + +

                                                                      + + + + + public + getApiCode() : string + + + + + +
                                                                      Return values
                                                                      + string + — +

                                                                      Error code provided by the BitPay REST API

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

                                                                      Search results

                                                                      + +
                                                                      +
                                                                      +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + + +
                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutException.html new file mode 100644 index 0000000..ec4e9d8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                        +

                                                                        Documentation

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

                                                                        + PayoutException + + + extends BitPayException + + +
                                                                        + in package + +
                                                                        + + +

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

                                                                        + Table of Contents + +

                                                                        + +
                                                                        +
                                                                        + $apiCode + +  : string|null +
                                                                        +
                                                                        + +
                                                                        + $bitPayCode + +  : string +
                                                                        +
                                                                        + +
                                                                        + $bitPayMessage + +  : string +
                                                                        +
                                                                        + +
                                                                        + __construct() + +  : mixed +
                                                                        +
                                                                        Construct the PayoutException.
                                                                        + +
                                                                        + getApiCode() + +  : string +
                                                                        +
                                                                        + +
                                                                        + + + + + + +
                                                                        +

                                                                        + Properties + +

                                                                        +
                                                                        +

                                                                        + $apiCode + + + +

                                                                        + + + + + protected + string|null + $apiCode + + +
                                                                        + +
                                                                        + + + +
                                                                        +
                                                                        +

                                                                        + $bitPayCode + + + +

                                                                        + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-GENERIC" + +
                                                                        + +
                                                                        + + + +
                                                                        +
                                                                        +

                                                                        + $bitPayMessage + + + +

                                                                        + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the payout" + +
                                                                        + +
                                                                        + + + +
                                                                        +
                                                                        + +
                                                                        +

                                                                        + Methods + +

                                                                        +
                                                                        +

                                                                        + __construct() + +

                                                                        + + +

                                                                        Construct the PayoutException.

                                                                        + + + public + __construct([string $message = "" ][, int $code = 121 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                        Parameters
                                                                        +
                                                                        +
                                                                        + $message + : string + = ""
                                                                        +
                                                                        +

                                                                        [optional] The Exception message to throw.

                                                                        +
                                                                        + +
                                                                        +
                                                                        + $code + : int + = 121
                                                                        +
                                                                        +

                                                                        [optional] The Exception code to throw.

                                                                        +
                                                                        + +
                                                                        +
                                                                        + $previous + : Exception + = null
                                                                        +
                                                                        +
                                                                        + +
                                                                        +
                                                                        + $apiCode + : string|null + = "000000"
                                                                        +
                                                                        +

                                                                        [optional] The API Exception code to throw.

                                                                        +
                                                                        + +
                                                                        +
                                                                        + + + +
                                                                        Return values
                                                                        + mixed + — + + +
                                                                        +
                                                                        +

                                                                        + getApiCode() + +

                                                                        + + + + + public + getApiCode() : string + + + + + +
                                                                        Return values
                                                                        + string + — +

                                                                        Error code provided by the BitPay REST API

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

                                                                        Search results

                                                                        + +
                                                                        +
                                                                        +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          + + +
                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutNotificationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutNotificationException.html new file mode 100644 index 0000000..abf113e --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutNotificationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                          +

                                                                          Documentation

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

                                                                          + PayoutNotificationException + + + extends PayoutException + + +
                                                                          + in package + +
                                                                          + + +

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

                                                                          + Table of Contents + +

                                                                          + +
                                                                          +
                                                                          + $apiCode + +  : string|null +
                                                                          +
                                                                          + +
                                                                          + $bitPayCode + +  : string +
                                                                          +
                                                                          + +
                                                                          + $bitPayMessage + +  : string +
                                                                          +
                                                                          + +
                                                                          + __construct() + +  : mixed +
                                                                          +
                                                                          Construct the PayoutNotificationException.
                                                                          + +
                                                                          + getApiCode() + +  : string +
                                                                          +
                                                                          + +
                                                                          + + + + + + +
                                                                          +

                                                                          + Properties + +

                                                                          +
                                                                          +

                                                                          + $apiCode + + + +

                                                                          + + + + + protected + string|null + $apiCode + + +
                                                                          + +
                                                                          + + + +
                                                                          +
                                                                          +

                                                                          + $bitPayCode + + + +

                                                                          + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-NOTIFICATION" + +
                                                                          + +
                                                                          + + + +
                                                                          +
                                                                          +

                                                                          + $bitPayMessage + + + +

                                                                          + + + + + private + string + $bitPayMessage + = "Failed to send payout notification" + +
                                                                          + +
                                                                          + + + +
                                                                          +
                                                                          + +
                                                                          +

                                                                          + Methods + +

                                                                          +
                                                                          +

                                                                          + __construct() + +

                                                                          + + +

                                                                          Construct the PayoutNotificationException.

                                                                          + + + public + __construct([string $message = "" ][, int $code = 126 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                          Parameters
                                                                          +
                                                                          +
                                                                          + $message + : string + = ""
                                                                          +
                                                                          +

                                                                          [optional] The Exception message to throw.

                                                                          +
                                                                          + +
                                                                          +
                                                                          + $code + : int + = 126
                                                                          +
                                                                          +

                                                                          [optional] The Exception code to throw.

                                                                          +
                                                                          + +
                                                                          +
                                                                          + $previous + : Exception + = null
                                                                          +
                                                                          +
                                                                          + +
                                                                          +
                                                                          + $apiCode + : string|null + = "000000"
                                                                          +
                                                                          +

                                                                          [optional] The API Exception code to throw.

                                                                          +
                                                                          + +
                                                                          +
                                                                          + + + +
                                                                          Return values
                                                                          + mixed + — + + +
                                                                          +
                                                                          +

                                                                          + getApiCode() + +

                                                                          + + + + + public + getApiCode() : string + + + + + +
                                                                          Return values
                                                                          + string + — +

                                                                          Error code provided by the BitPay REST API

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

                                                                          Search results

                                                                          + +
                                                                          +
                                                                          +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            + + +
                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutQueryException.html new file mode 100644 index 0000000..ff14385 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                            +

                                                                            Documentation

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

                                                                            + PayoutQueryException + + + extends PayoutException + + +
                                                                            + in package + +
                                                                            + + +

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

                                                                            + Table of Contents + +

                                                                            + +
                                                                            +
                                                                            + $apiCode + +  : string|null +
                                                                            +
                                                                            + +
                                                                            + $bitPayCode + +  : string +
                                                                            +
                                                                            + +
                                                                            + $bitPayMessage + +  : string +
                                                                            +
                                                                            + +
                                                                            + __construct() + +  : mixed +
                                                                            +
                                                                            Construct the PayoutQueryException.
                                                                            + +
                                                                            + getApiCode() + +  : string +
                                                                            +
                                                                            + +
                                                                            + + + + + + +
                                                                            +

                                                                            + Properties + +

                                                                            +
                                                                            +

                                                                            + $apiCode + + + +

                                                                            + + + + + protected + string|null + $apiCode + + +
                                                                            + +
                                                                            + + + +
                                                                            +
                                                                            +

                                                                            + $bitPayCode + + + +

                                                                            + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-BATCH-GET" + +
                                                                            + +
                                                                            + + + +
                                                                            +
                                                                            +

                                                                            + $bitPayMessage + + + +

                                                                            + + + + + private + string + $bitPayMessage + = "Failed to retrieve payout batch" + +
                                                                            + +
                                                                            + + + +
                                                                            +
                                                                            + +
                                                                            +

                                                                            + Methods + +

                                                                            +
                                                                            +

                                                                            + __construct() + +

                                                                            + + +

                                                                            Construct the PayoutQueryException.

                                                                            + + + public + __construct([string $message = "" ][, int $code = 123 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                            Parameters
                                                                            +
                                                                            +
                                                                            + $message + : string + = ""
                                                                            +
                                                                            +

                                                                            [optional] The Exception message to throw.

                                                                            +
                                                                            + +
                                                                            +
                                                                            + $code + : int + = 123
                                                                            +
                                                                            +

                                                                            [optional] The Exception code to throw.

                                                                            +
                                                                            + +
                                                                            +
                                                                            + $previous + : Exception + = null
                                                                            +
                                                                            +
                                                                            + +
                                                                            +
                                                                            + $apiCode + : string|null + = "000000"
                                                                            +
                                                                            +

                                                                            [optional] The API Exception code to throw.

                                                                            +
                                                                            + +
                                                                            +
                                                                            + + + +
                                                                            Return values
                                                                            + mixed + — + + +
                                                                            +
                                                                            +

                                                                            + getApiCode() + +

                                                                            + + + + + public + getApiCode() : string + + + + + +
                                                                            Return values
                                                                            + string + — +

                                                                            Error code provided by the BitPay REST API

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

                                                                            Search results

                                                                            + +
                                                                            +
                                                                            +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + + +
                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html new file mode 100644 index 0000000..6500c13 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                              +

                                                                              Documentation

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

                                                                              + PayoutRecipientCancellationException + + + extends PayoutRecipientException + + +
                                                                              + in package + +
                                                                              + + +

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

                                                                              + Table of Contents + +

                                                                              + +
                                                                              +
                                                                              + $apiCode + +  : string|null +
                                                                              +
                                                                              + +
                                                                              + $bitPayCode + +  : string +
                                                                              +
                                                                              + +
                                                                              + $bitPayMessage + +  : string +
                                                                              +
                                                                              + +
                                                                              + __construct() + +  : mixed +
                                                                              +
                                                                              Construct the PayoutRecipientCancellationException.
                                                                              + +
                                                                              + getApiCode() + +  : string +
                                                                              +
                                                                              + +
                                                                              + + + + + + +
                                                                              +

                                                                              + Properties + +

                                                                              +
                                                                              +

                                                                              + $apiCode + + + +

                                                                              + + + + + protected + string|null + $apiCode + + +
                                                                              + +
                                                                              + + + +
                                                                              + + +
                                                                              + +
                                                                              +

                                                                              + Methods + +

                                                                              +
                                                                              +

                                                                              + __construct() + +

                                                                              + + +

                                                                              Construct the PayoutRecipientCancellationException.

                                                                              + + + public + __construct([string $message = "" ][, int $code = 194 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                              Parameters
                                                                              +
                                                                              +
                                                                              + $message + : string + = ""
                                                                              +
                                                                              +

                                                                              [optional] The Exception message to throw.

                                                                              +
                                                                              + +
                                                                              +
                                                                              + $code + : int + = 194
                                                                              +
                                                                              +

                                                                              [optional] The Exception code to throw.

                                                                              +
                                                                              + +
                                                                              +
                                                                              + $previous + : Exception + = null
                                                                              +
                                                                              +
                                                                              + +
                                                                              +
                                                                              + $apiCode + : string|null + = "000000"
                                                                              +
                                                                              +

                                                                              [optional] The API Exception code to throw.

                                                                              +
                                                                              + +
                                                                              +
                                                                              + + + +
                                                                              Return values
                                                                              + mixed + — + + +
                                                                              +
                                                                              +

                                                                              + getApiCode() + +

                                                                              + + + + + public + getApiCode() : string + + + + + +
                                                                              Return values
                                                                              + string + — +

                                                                              Error code provided by the BitPay REST API

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

                                                                              Search results

                                                                              + +
                                                                              +
                                                                              +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                + + +
                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html new file mode 100644 index 0000000..2e5e64f --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                +

                                                                                Documentation

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

                                                                                + PayoutRecipientCreationException + + + extends PayoutRecipientException + + +
                                                                                + in package + +
                                                                                + + +

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

                                                                                + Table of Contents + +

                                                                                + +
                                                                                +
                                                                                + $apiCode + +  : string|null +
                                                                                +
                                                                                + +
                                                                                + $bitPayCode + +  : string +
                                                                                +
                                                                                + +
                                                                                + $bitPayMessage + +  : string +
                                                                                +
                                                                                + +
                                                                                + __construct() + +  : mixed +
                                                                                +
                                                                                Construct the PayoutRecipientCreationException.
                                                                                + +
                                                                                + getApiCode() + +  : string +
                                                                                +
                                                                                + +
                                                                                + + + + + + +
                                                                                +

                                                                                + Properties + +

                                                                                +
                                                                                +

                                                                                + $apiCode + + + +

                                                                                + + + + + protected + string|null + $apiCode + + +
                                                                                + +
                                                                                + + + +
                                                                                + + +
                                                                                + +
                                                                                +

                                                                                + Methods + +

                                                                                +
                                                                                +

                                                                                + __construct() + +

                                                                                + + +

                                                                                Construct the PayoutRecipientCreationException.

                                                                                + + + public + __construct([string $message = "" ][, int $code = 192 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                Parameters
                                                                                +
                                                                                +
                                                                                + $message + : string + = ""
                                                                                +
                                                                                +

                                                                                [optional] The Exception message to throw.

                                                                                +
                                                                                + +
                                                                                +
                                                                                + $code + : int + = 192
                                                                                +
                                                                                +

                                                                                [optional] The Exception code to throw.

                                                                                +
                                                                                + +
                                                                                +
                                                                                + $previous + : Exception + = null
                                                                                +
                                                                                +
                                                                                + +
                                                                                +
                                                                                + $apiCode + : string|null + = "000000"
                                                                                +
                                                                                +

                                                                                [optional] The API Exception code to throw.

                                                                                +
                                                                                + +
                                                                                +
                                                                                + + + +
                                                                                Return values
                                                                                + mixed + — + + +
                                                                                +
                                                                                +

                                                                                + getApiCode() + +

                                                                                + + + + + public + getApiCode() : string + + + + + +
                                                                                Return values
                                                                                + string + — +

                                                                                Error code provided by the BitPay REST API

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

                                                                                Search results

                                                                                + +
                                                                                +
                                                                                +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + + +
                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientException.html new file mode 100644 index 0000000..31ede42 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                  +

                                                                                  Documentation

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

                                                                                  + PayoutRecipientException + + + extends BitPayException + + +
                                                                                  + in package + +
                                                                                  + + +

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

                                                                                  + Table of Contents + +

                                                                                  + +
                                                                                  +
                                                                                  + $apiCode + +  : string|null +
                                                                                  +
                                                                                  + +
                                                                                  + $bitPayCode + +  : string +
                                                                                  +
                                                                                  + +
                                                                                  + $bitPayMessage + +  : string +
                                                                                  +
                                                                                  + +
                                                                                  + __construct() + +  : mixed +
                                                                                  +
                                                                                  Construct the PayoutRecipientException.
                                                                                  + +
                                                                                  + getApiCode() + +  : string +
                                                                                  +
                                                                                  + +
                                                                                  + + + + + + +
                                                                                  +

                                                                                  + Properties + +

                                                                                  +
                                                                                  +

                                                                                  + $apiCode + + + +

                                                                                  + + + + + protected + string|null + $apiCode + + +
                                                                                  + +
                                                                                  + + + +
                                                                                  +
                                                                                  +

                                                                                  + $bitPayCode + + + +

                                                                                  + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-RECIPIENT-GENERIC" + +
                                                                                  + +
                                                                                  + + + +
                                                                                  +
                                                                                  +

                                                                                  + $bitPayMessage + + + +

                                                                                  + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the payout recipient" + +
                                                                                  + +
                                                                                  + + + +
                                                                                  +
                                                                                  + +
                                                                                  +

                                                                                  + Methods + +

                                                                                  +
                                                                                  +

                                                                                  + __construct() + +

                                                                                  + + +

                                                                                  Construct the PayoutRecipientException.

                                                                                  + + + public + __construct([string $message = "" ][, int $code = 191 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                  Parameters
                                                                                  +
                                                                                  +
                                                                                  + $message + : string + = ""
                                                                                  +
                                                                                  +

                                                                                  [optional] The Exception message to throw.

                                                                                  +
                                                                                  + +
                                                                                  +
                                                                                  + $code + : int + = 191
                                                                                  +
                                                                                  +

                                                                                  [optional] The Exception code to throw.

                                                                                  +
                                                                                  + +
                                                                                  +
                                                                                  + $previous + : Exception + = null
                                                                                  +
                                                                                  +
                                                                                  + +
                                                                                  +
                                                                                  + $apiCode + : string|null + = "000000"
                                                                                  +
                                                                                  +

                                                                                  [optional] The API Exception code to throw.

                                                                                  +
                                                                                  + +
                                                                                  +
                                                                                  + + + +
                                                                                  Return values
                                                                                  + mixed + — + + +
                                                                                  +
                                                                                  +

                                                                                  + getApiCode() + +

                                                                                  + + + + + public + getApiCode() : string + + + + + +
                                                                                  Return values
                                                                                  + string + — +

                                                                                  Error code provided by the BitPay REST API

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

                                                                                  Search results

                                                                                  + +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    + + +
                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html new file mode 100644 index 0000000..b69e576 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                    +

                                                                                    Documentation

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

                                                                                    + PayoutRecipientNotificationException + + + extends PayoutRecipientException + + +
                                                                                    + in package + +
                                                                                    + + +

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

                                                                                    + Table of Contents + +

                                                                                    + +
                                                                                    +
                                                                                    + $apiCode + +  : string|null +
                                                                                    +
                                                                                    + +
                                                                                    + $bitPayCode + +  : string +
                                                                                    +
                                                                                    + +
                                                                                    + $bitPayMessage + +  : string +
                                                                                    +
                                                                                    + +
                                                                                    + __construct() + +  : mixed +
                                                                                    +
                                                                                    Construct the PayoutRecipientNotificationException.
                                                                                    + +
                                                                                    + getApiCode() + +  : string +
                                                                                    +
                                                                                    + +
                                                                                    + + + + + + +
                                                                                    +

                                                                                    + Properties + +

                                                                                    +
                                                                                    +

                                                                                    + $apiCode + + + +

                                                                                    + + + + + protected + string|null + $apiCode + + +
                                                                                    + +
                                                                                    + + + +
                                                                                    + + +
                                                                                    + +
                                                                                    +

                                                                                    + Methods + +

                                                                                    +
                                                                                    +

                                                                                    + __construct() + +

                                                                                    + + +

                                                                                    Construct the PayoutRecipientNotificationException.

                                                                                    + + + public + __construct([string $message = "" ][, int $code = 196 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                    Parameters
                                                                                    +
                                                                                    +
                                                                                    + $message + : string + = ""
                                                                                    +
                                                                                    +

                                                                                    [optional] The Exception message to throw.

                                                                                    +
                                                                                    + +
                                                                                    +
                                                                                    + $code + : int + = 196
                                                                                    +
                                                                                    +

                                                                                    [optional] The Exception code to throw.

                                                                                    +
                                                                                    + +
                                                                                    +
                                                                                    + $previous + : Exception + = null
                                                                                    +
                                                                                    +
                                                                                    + +
                                                                                    +
                                                                                    + $apiCode + : string|null + = "000000"
                                                                                    +
                                                                                    +

                                                                                    [optional] The API Exception code to throw.

                                                                                    +
                                                                                    + +
                                                                                    +
                                                                                    + + + +
                                                                                    Return values
                                                                                    + mixed + — + + +
                                                                                    +
                                                                                    +

                                                                                    + getApiCode() + +

                                                                                    + + + + + public + getApiCode() : string + + + + + +
                                                                                    Return values
                                                                                    + string + — +

                                                                                    Error code provided by the BitPay REST API

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

                                                                                    Search results

                                                                                    + +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      + + +
                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html new file mode 100644 index 0000000..d201597 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                      +

                                                                                      Documentation

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

                                                                                      + PayoutRecipientQueryException + + + extends PayoutRecipientException + + +
                                                                                      + in package + +
                                                                                      + + +

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

                                                                                      + Table of Contents + +

                                                                                      + +
                                                                                      +
                                                                                      + $apiCode + +  : string|null +
                                                                                      +
                                                                                      + +
                                                                                      + $bitPayCode + +  : string +
                                                                                      +
                                                                                      + +
                                                                                      + $bitPayMessage + +  : string +
                                                                                      +
                                                                                      + +
                                                                                      + __construct() + +  : mixed +
                                                                                      +
                                                                                      Construct the PayoutRecipientQueryException.
                                                                                      + +
                                                                                      + getApiCode() + +  : string +
                                                                                      +
                                                                                      + +
                                                                                      + + + + + + +
                                                                                      +

                                                                                      + Properties + +

                                                                                      +
                                                                                      +

                                                                                      + $apiCode + + + +

                                                                                      + + + + + protected + string|null + $apiCode + + +
                                                                                      + +
                                                                                      + + + +
                                                                                      + +
                                                                                      +

                                                                                      + $bitPayMessage + + + +

                                                                                      + + + + + private + string + $bitPayMessage + = "Failed to retrieve payout recipient" + +
                                                                                      + +
                                                                                      + + + +
                                                                                      +
                                                                                      + +
                                                                                      +

                                                                                      + Methods + +

                                                                                      +
                                                                                      +

                                                                                      + __construct() + +

                                                                                      + + +

                                                                                      Construct the PayoutRecipientQueryException.

                                                                                      + + + public + __construct([string $message = "" ][, int $code = 193 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                      Parameters
                                                                                      +
                                                                                      +
                                                                                      + $message + : string + = ""
                                                                                      +
                                                                                      +

                                                                                      [optional] The Exception message to throw.

                                                                                      +
                                                                                      + +
                                                                                      +
                                                                                      + $code + : int + = 193
                                                                                      +
                                                                                      +

                                                                                      [optional] The Exception code to throw.

                                                                                      +
                                                                                      + +
                                                                                      +
                                                                                      + $previous + : Exception + = null
                                                                                      +
                                                                                      +
                                                                                      + +
                                                                                      +
                                                                                      + $apiCode + : string|null + = "000000"
                                                                                      +
                                                                                      +

                                                                                      [optional] The API Exception code to throw.

                                                                                      +
                                                                                      + +
                                                                                      +
                                                                                      + + + +
                                                                                      Return values
                                                                                      + mixed + — + + +
                                                                                      +
                                                                                      +

                                                                                      + getApiCode() + +

                                                                                      + + + + + public + getApiCode() : string + + + + + +
                                                                                      Return values
                                                                                      + string + — +

                                                                                      Error code provided by the BitPay REST API

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

                                                                                      Search results

                                                                                      + +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        + + +
                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html new file mode 100644 index 0000000..23e76e4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                        +

                                                                                        Documentation

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

                                                                                        + PayoutRecipientUpdateException + + + extends PayoutRecipientException + + +
                                                                                        + in package + +
                                                                                        + + +

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

                                                                                        + Table of Contents + +

                                                                                        + +
                                                                                        +
                                                                                        + $apiCode + +  : string|null +
                                                                                        +
                                                                                        + +
                                                                                        + $bitPayCode + +  : string +
                                                                                        +
                                                                                        + +
                                                                                        + $bitPayMessage + +  : string +
                                                                                        +
                                                                                        + +
                                                                                        + __construct() + +  : mixed +
                                                                                        +
                                                                                        Construct the PayoutRecipientUpdateException.
                                                                                        + +
                                                                                        + getApiCode() + +  : string +
                                                                                        +
                                                                                        + +
                                                                                        + + + + + + +
                                                                                        +

                                                                                        + Properties + +

                                                                                        +
                                                                                        +

                                                                                        + $apiCode + + + +

                                                                                        + + + + + protected + string|null + $apiCode + + +
                                                                                        + +
                                                                                        + + + +
                                                                                        + +
                                                                                        +

                                                                                        + $bitPayMessage + + + +

                                                                                        + + + + + private + string + $bitPayMessage + = "Failed to update payout recipient" + +
                                                                                        + +
                                                                                        + + + +
                                                                                        +
                                                                                        + +
                                                                                        +

                                                                                        + Methods + +

                                                                                        +
                                                                                        +

                                                                                        + __construct() + +

                                                                                        + + +

                                                                                        Construct the PayoutRecipientUpdateException.

                                                                                        + + + public + __construct([string $message = "" ][, int $code = 195 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                        Parameters
                                                                                        +
                                                                                        +
                                                                                        + $message + : string + = ""
                                                                                        +
                                                                                        +

                                                                                        [optional] The Exception message to throw.

                                                                                        +
                                                                                        + +
                                                                                        +
                                                                                        + $code + : int + = 195
                                                                                        +
                                                                                        +

                                                                                        [optional] The Exception code to throw.

                                                                                        +
                                                                                        + +
                                                                                        +
                                                                                        + $previous + : Exception + = null
                                                                                        +
                                                                                        +
                                                                                        + +
                                                                                        +
                                                                                        + $apiCode + : string|null + = "000000"
                                                                                        +
                                                                                        +

                                                                                        [optional] The API Exception code to throw.

                                                                                        +
                                                                                        + +
                                                                                        +
                                                                                        + + + +
                                                                                        Return values
                                                                                        + mixed + — + + +
                                                                                        +
                                                                                        +

                                                                                        + getApiCode() + +

                                                                                        + + + + + public + getApiCode() : string + + + + + +
                                                                                        Return values
                                                                                        + string + — +

                                                                                        Error code provided by the BitPay REST API

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

                                                                                        Search results

                                                                                        + +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          + + +
                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutUpdateException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutUpdateException.html new file mode 100644 index 0000000..75fdddc --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-PayoutUpdateException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                          +

                                                                                          Documentation

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

                                                                                          + PayoutUpdateException + + + extends PayoutException + + +
                                                                                          + in package + +
                                                                                          + + +

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

                                                                                          + Table of Contents + +

                                                                                          + +
                                                                                          +
                                                                                          + $apiCode + +  : string|null +
                                                                                          +
                                                                                          + +
                                                                                          + $bitPayCode + +  : string +
                                                                                          +
                                                                                          + +
                                                                                          + $bitPayMessage + +  : string +
                                                                                          +
                                                                                          + +
                                                                                          + __construct() + +  : mixed +
                                                                                          +
                                                                                          Construct the PayoutUpdateException.
                                                                                          + +
                                                                                          + getApiCode() + +  : string +
                                                                                          +
                                                                                          + +
                                                                                          + + + + + + +
                                                                                          +

                                                                                          + Properties + +

                                                                                          +
                                                                                          +

                                                                                          + $apiCode + + + +

                                                                                          + + + + + protected + string|null + $apiCode + + +
                                                                                          + +
                                                                                          + + + +
                                                                                          +
                                                                                          +

                                                                                          + $bitPayCode + + + +

                                                                                          + + + + + private + string + $bitPayCode + = "BITPAY-PAYOUT-BATCH-UPDATE" + +
                                                                                          + +
                                                                                          + + + +
                                                                                          +
                                                                                          +

                                                                                          + $bitPayMessage + + + +

                                                                                          + + + + + private + string + $bitPayMessage + = "Failed to update payout batch" + +
                                                                                          + +
                                                                                          + + + +
                                                                                          +
                                                                                          + +
                                                                                          +

                                                                                          + Methods + +

                                                                                          +
                                                                                          +

                                                                                          + __construct() + +

                                                                                          + + +

                                                                                          Construct the PayoutUpdateException.

                                                                                          + + + public + __construct([string $message = "" ][, int $code = 125 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                          Parameters
                                                                                          +
                                                                                          +
                                                                                          + $message + : string + = ""
                                                                                          +
                                                                                          +

                                                                                          [optional] The Exception message to throw.

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + $code + : int + = 125
                                                                                          +
                                                                                          +

                                                                                          [optional] The Exception code to throw.

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + $previous + : Exception + = null
                                                                                          +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + $apiCode + : string|null + = "000000"
                                                                                          +
                                                                                          +

                                                                                          [optional] The API Exception code to throw.

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + + + +
                                                                                          Return values
                                                                                          + mixed + — + + +
                                                                                          +
                                                                                          +

                                                                                          + getApiCode() + +

                                                                                          + + + + + public + getApiCode() : string + + + + + +
                                                                                          Return values
                                                                                          + string + — +

                                                                                          Error code provided by the BitPay REST API

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

                                                                                          Search results

                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            + + +
                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateException.html new file mode 100644 index 0000000..4a240a0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                            +

                                                                                            Documentation

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

                                                                                            + RateException + + + extends BitPayException + + +
                                                                                            + in package + +
                                                                                            + + +

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

                                                                                            + Table of Contents + +

                                                                                            + +
                                                                                            +
                                                                                            + $apiCode + +  : string|null +
                                                                                            +
                                                                                            + +
                                                                                            + $bitPayCode + +  : string +
                                                                                            +
                                                                                            + +
                                                                                            + $bitPayMessage + +  : string +
                                                                                            +
                                                                                            + +
                                                                                            + __construct() + +  : mixed +
                                                                                            +
                                                                                            Construct the RateException.
                                                                                            + +
                                                                                            + getApiCode() + +  : string +
                                                                                            +
                                                                                            + +
                                                                                            + + + + + + +
                                                                                            +

                                                                                            + Properties + +

                                                                                            +
                                                                                            +

                                                                                            + $apiCode + + + +

                                                                                            + + + + + protected + string|null + $apiCode + + +
                                                                                            + +
                                                                                            + + + +
                                                                                            +
                                                                                            +

                                                                                            + $bitPayCode + + + +

                                                                                            + + + + + private + string + $bitPayCode + = "BITPAY-RATES-GENERIC" + +
                                                                                            + +
                                                                                            + + + +
                                                                                            +
                                                                                            +

                                                                                            + $bitPayMessage + + + +

                                                                                            + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the rates" + +
                                                                                            + +
                                                                                            + + + +
                                                                                            +
                                                                                            + +
                                                                                            +

                                                                                            + Methods + +

                                                                                            +
                                                                                            +

                                                                                            + __construct() + +

                                                                                            + + +

                                                                                            Construct the RateException.

                                                                                            + + + public + __construct([string $message = "" ][, int $code = 141 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                            Parameters
                                                                                            +
                                                                                            +
                                                                                            + $message + : string + = ""
                                                                                            +
                                                                                            +

                                                                                            [optional] The Exception message to throw.

                                                                                            +
                                                                                            + +
                                                                                            +
                                                                                            + $code + : int + = 141
                                                                                            +
                                                                                            +

                                                                                            [optional] The Exception code to throw.

                                                                                            +
                                                                                            + +
                                                                                            +
                                                                                            + $previous + : Exception + = null
                                                                                            +
                                                                                            +
                                                                                            + +
                                                                                            +
                                                                                            + $apiCode + : string|null + = "000000"
                                                                                            +
                                                                                            +

                                                                                            [optional] The API Exception code to throw.

                                                                                            +
                                                                                            + +
                                                                                            +
                                                                                            + + + +
                                                                                            Return values
                                                                                            + mixed + — + + +
                                                                                            +
                                                                                            +

                                                                                            + getApiCode() + +

                                                                                            + + + + + public + getApiCode() : string + + + + + +
                                                                                            Return values
                                                                                            + string + — +

                                                                                            Error code provided by the BitPay REST API

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

                                                                                            Search results

                                                                                            + +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              + + +
                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateQueryException.html new file mode 100644 index 0000000..8987a08 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RateQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                              +

                                                                                              Documentation

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

                                                                                              + RateQueryException + + + extends RateException + + +
                                                                                              + in package + +
                                                                                              + + +

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

                                                                                              + Table of Contents + +

                                                                                              + +
                                                                                              +
                                                                                              + $apiCode + +  : string|null +
                                                                                              +
                                                                                              + +
                                                                                              + $bitPayCode + +  : string +
                                                                                              +
                                                                                              + +
                                                                                              + $bitPayMessage + +  : string +
                                                                                              +
                                                                                              + +
                                                                                              + __construct() + +  : mixed +
                                                                                              +
                                                                                              Construct the RateQueryException.
                                                                                              + +
                                                                                              + getApiCode() + +  : string +
                                                                                              +
                                                                                              + +
                                                                                              + + + + + + +
                                                                                              +

                                                                                              + Properties + +

                                                                                              +
                                                                                              +

                                                                                              + $apiCode + + + +

                                                                                              + + + + + protected + string|null + $apiCode + + +
                                                                                              + +
                                                                                              + + + +
                                                                                              +
                                                                                              +

                                                                                              + $bitPayCode + + + +

                                                                                              + + + + + private + string + $bitPayCode + = "BITPAY-RATES-GET" + +
                                                                                              + +
                                                                                              + + + +
                                                                                              +
                                                                                              +

                                                                                              + $bitPayMessage + + + +

                                                                                              + + + + + private + string + $bitPayMessage + = "Failed to retrieve rates" + +
                                                                                              + +
                                                                                              + + + +
                                                                                              +
                                                                                              + +
                                                                                              +

                                                                                              + Methods + +

                                                                                              +
                                                                                              +

                                                                                              + __construct() + +

                                                                                              + + +

                                                                                              Construct the RateQueryException.

                                                                                              + + + public + __construct([string $message = "" ][, int $code = 142 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                              Parameters
                                                                                              +
                                                                                              +
                                                                                              + $message + : string + = ""
                                                                                              +
                                                                                              +

                                                                                              [optional] The Exception message to throw.

                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              + $code + : int + = 142
                                                                                              +
                                                                                              +

                                                                                              [optional] The Exception code to throw.

                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              + $previous + : Exception + = null
                                                                                              +
                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              + $apiCode + : string|null + = "000000"
                                                                                              +
                                                                                              +

                                                                                              [optional] The API Exception code to throw.

                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              + + + +
                                                                                              Return values
                                                                                              + mixed + — + + +
                                                                                              +
                                                                                              +

                                                                                              + getApiCode() + +

                                                                                              + + + + + public + getApiCode() : string + + + + + +
                                                                                              Return values
                                                                                              + string + — +

                                                                                              Error code provided by the BitPay REST API

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

                                                                                              Search results

                                                                                              + +
                                                                                              +
                                                                                              +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                + + +
                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCancellationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCancellationException.html new file mode 100644 index 0000000..2ead6fc --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCancellationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                +

                                                                                                Documentation

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

                                                                                                + RefundCancellationException + + + extends RefundException + + +
                                                                                                + in package + +
                                                                                                + + +

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

                                                                                                + Table of Contents + +

                                                                                                + +
                                                                                                +
                                                                                                + $apiCode + +  : string|null +
                                                                                                +
                                                                                                + +
                                                                                                + $bitPayCode + +  : string +
                                                                                                +
                                                                                                + +
                                                                                                + $bitPayMessage + +  : string +
                                                                                                +
                                                                                                + +
                                                                                                + __construct() + +  : mixed +
                                                                                                +
                                                                                                Construct the RefundCancellationException.
                                                                                                + +
                                                                                                + getApiCode() + +  : string +
                                                                                                +
                                                                                                + +
                                                                                                + + + + + + +
                                                                                                +

                                                                                                + Properties + +

                                                                                                +
                                                                                                +

                                                                                                + $apiCode + + + +

                                                                                                + + + + + protected + string|null + $apiCode + + +
                                                                                                + +
                                                                                                + + + +
                                                                                                +
                                                                                                +

                                                                                                + $bitPayCode + + + +

                                                                                                + + + + + private + string + $bitPayCode + = "BITPAY-REFUND-CANCEL" + +
                                                                                                + +
                                                                                                + + + +
                                                                                                +
                                                                                                +

                                                                                                + $bitPayMessage + + + +

                                                                                                + + + + + private + string + $bitPayMessage + = "Failed to cancel refund object" + +
                                                                                                + +
                                                                                                + + + +
                                                                                                +
                                                                                                + +
                                                                                                +

                                                                                                + Methods + +

                                                                                                +
                                                                                                +

                                                                                                + __construct() + +

                                                                                                + + +

                                                                                                Construct the RefundCancellationException.

                                                                                                + + + public + __construct([string $message = "" ][, int $code = 165 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                Parameters
                                                                                                +
                                                                                                +
                                                                                                + $message + : string + = ""
                                                                                                +
                                                                                                +

                                                                                                [optional] The Exception message to throw.

                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + $code + : int + = 165
                                                                                                +
                                                                                                +

                                                                                                [optional] The Exception code to throw.

                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + $previous + : Exception + = null
                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + $apiCode + : string|null + = "000000"
                                                                                                +
                                                                                                +

                                                                                                [optional] The API Exception code to throw.

                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + + + +
                                                                                                Return values
                                                                                                + mixed + — + + +
                                                                                                +
                                                                                                +

                                                                                                + getApiCode() + +

                                                                                                + + + + + public + getApiCode() : string + + + + + +
                                                                                                Return values
                                                                                                + string + — +

                                                                                                Error code provided by the BitPay REST API

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

                                                                                                Search results

                                                                                                + +
                                                                                                +
                                                                                                +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  + + +
                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCreationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCreationException.html new file mode 100644 index 0000000..ad1bb6f --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundCreationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                  +

                                                                                                  Documentation

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

                                                                                                  + RefundCreationException + + + extends RefundException + + +
                                                                                                  + in package + +
                                                                                                  + + +

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

                                                                                                  + Table of Contents + +

                                                                                                  + +
                                                                                                  +
                                                                                                  + $apiCode + +  : string|null +
                                                                                                  +
                                                                                                  + +
                                                                                                  + $bitPayCode + +  : string +
                                                                                                  +
                                                                                                  + +
                                                                                                  + $bitPayMessage + +  : string +
                                                                                                  +
                                                                                                  + +
                                                                                                  + __construct() + +  : mixed +
                                                                                                  +
                                                                                                  Construct the RefundCreationException.
                                                                                                  + +
                                                                                                  + getApiCode() + +  : string +
                                                                                                  +
                                                                                                  + +
                                                                                                  + + + + + + +
                                                                                                  +

                                                                                                  + Properties + +

                                                                                                  +
                                                                                                  +

                                                                                                  + $apiCode + + + +

                                                                                                  + + + + + protected + string|null + $apiCode + + +
                                                                                                  + +
                                                                                                  + + + +
                                                                                                  +
                                                                                                  +

                                                                                                  + $bitPayCode + + + +

                                                                                                  + + + + + private + string + $bitPayCode + = "BITPAY-REFUND-CREATE" + +
                                                                                                  + +
                                                                                                  + + + +
                                                                                                  +
                                                                                                  +

                                                                                                  + $bitPayMessage + + + +

                                                                                                  + + + + + private + string + $bitPayMessage + = "Failed to create refund" + +
                                                                                                  + +
                                                                                                  + + + +
                                                                                                  +
                                                                                                  + +
                                                                                                  +

                                                                                                  + Methods + +

                                                                                                  +
                                                                                                  +

                                                                                                  + __construct() + +

                                                                                                  + + +

                                                                                                  Construct the RefundCreationException.

                                                                                                  + + + public + __construct([string $message = "" ][, int $code = 162 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                  Parameters
                                                                                                  +
                                                                                                  +
                                                                                                  + $message + : string + = ""
                                                                                                  +
                                                                                                  +

                                                                                                  [optional] The Exception message to throw.

                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  + $code + : int + = 162
                                                                                                  +
                                                                                                  +

                                                                                                  [optional] The Exception code to throw.

                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  + $previous + : Exception + = null
                                                                                                  +
                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  + $apiCode + : string|null + = "000000"
                                                                                                  +
                                                                                                  +

                                                                                                  [optional] The API Exception code to throw.

                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  + + + +
                                                                                                  Return values
                                                                                                  + mixed + — + + +
                                                                                                  +
                                                                                                  +

                                                                                                  + getApiCode() + +

                                                                                                  + + + + + public + getApiCode() : string + + + + + +
                                                                                                  Return values
                                                                                                  + string + — +

                                                                                                  Error code provided by the BitPay REST API

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

                                                                                                  Search results

                                                                                                  + +
                                                                                                  +
                                                                                                  +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    + + +
                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundException.html new file mode 100644 index 0000000..a38a840 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                    +

                                                                                                    Documentation

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

                                                                                                    + RefundException + + + extends BitPayException + + +
                                                                                                    + in package + +
                                                                                                    + + +

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

                                                                                                    + Table of Contents + +

                                                                                                    + +
                                                                                                    +
                                                                                                    + $apiCode + +  : string|null +
                                                                                                    +
                                                                                                    + +
                                                                                                    + $bitPayCode + +  : string +
                                                                                                    +
                                                                                                    + +
                                                                                                    + $bitPayMessage + +  : string +
                                                                                                    +
                                                                                                    + +
                                                                                                    + __construct() + +  : mixed +
                                                                                                    +
                                                                                                    Construct the RefundException.
                                                                                                    + +
                                                                                                    + getApiCode() + +  : string +
                                                                                                    +
                                                                                                    + +
                                                                                                    + + + + + + +
                                                                                                    +

                                                                                                    + Properties + +

                                                                                                    +
                                                                                                    +

                                                                                                    + $apiCode + + + +

                                                                                                    + + + + + protected + string|null + $apiCode + + +
                                                                                                    + +
                                                                                                    + + + +
                                                                                                    +
                                                                                                    +

                                                                                                    + $bitPayCode + + + +

                                                                                                    + + + + + private + string + $bitPayCode + = "BITPAY-REFUND-GENERIC" + +
                                                                                                    + +
                                                                                                    + + + +
                                                                                                    +
                                                                                                    +

                                                                                                    + $bitPayMessage + + + +

                                                                                                    + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the refund" + +
                                                                                                    + +
                                                                                                    + + + +
                                                                                                    +
                                                                                                    + +
                                                                                                    +

                                                                                                    + Methods + +

                                                                                                    +
                                                                                                    +

                                                                                                    + __construct() + +

                                                                                                    + + +

                                                                                                    Construct the RefundException.

                                                                                                    + + + public + __construct([string $message = "" ][, int $code = 161 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                    Parameters
                                                                                                    +
                                                                                                    +
                                                                                                    + $message + : string + = ""
                                                                                                    +
                                                                                                    +

                                                                                                    [optional] The Exception message to throw.

                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    + $code + : int + = 161
                                                                                                    +
                                                                                                    +

                                                                                                    [optional] The Exception code to throw.

                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    + $previous + : Exception + = null
                                                                                                    +
                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    + $apiCode + : string|null + = "000000"
                                                                                                    +
                                                                                                    +

                                                                                                    [optional] The API Exception code to throw.

                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    + + + +
                                                                                                    Return values
                                                                                                    + mixed + — + + +
                                                                                                    +
                                                                                                    +

                                                                                                    + getApiCode() + +

                                                                                                    + + + + + public + getApiCode() : string + + + + + +
                                                                                                    Return values
                                                                                                    + string + — +

                                                                                                    Error code provided by the BitPay REST API

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

                                                                                                    Search results

                                                                                                    + +
                                                                                                    +
                                                                                                    +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      + + +
                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundNotificationException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundNotificationException.html new file mode 100644 index 0000000..50fabfe --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundNotificationException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                      +

                                                                                                      Documentation

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

                                                                                                      + RefundNotificationException + + + extends RefundException + + +
                                                                                                      + in package + +
                                                                                                      + + +

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

                                                                                                      + Table of Contents + +

                                                                                                      + +
                                                                                                      +
                                                                                                      + $apiCode + +  : string|null +
                                                                                                      +
                                                                                                      + +
                                                                                                      + $bitPayCode + +  : string +
                                                                                                      +
                                                                                                      + +
                                                                                                      + $bitPayMessage + +  : string +
                                                                                                      +
                                                                                                      + +
                                                                                                      + __construct() + +  : mixed +
                                                                                                      +
                                                                                                      Construct the RefundNotificationException.
                                                                                                      + +
                                                                                                      + getApiCode() + +  : string +
                                                                                                      +
                                                                                                      + +
                                                                                                      + + + + + + +
                                                                                                      +

                                                                                                      + Properties + +

                                                                                                      +
                                                                                                      +

                                                                                                      + $apiCode + + + +

                                                                                                      + + + + + protected + string|null + $apiCode + + +
                                                                                                      + +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      +

                                                                                                      + $bitPayCode + + + +

                                                                                                      + + + + + private + string + $bitPayCode + = "BITPAY-REFUND-NOTIFICATION" + +
                                                                                                      + +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      +

                                                                                                      + $bitPayMessage + + + +

                                                                                                      + + + + + private + string + $bitPayMessage + = "Failed to send refund notification" + +
                                                                                                      + +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      + +
                                                                                                      +

                                                                                                      + Methods + +

                                                                                                      +
                                                                                                      +

                                                                                                      + __construct() + +

                                                                                                      + + +

                                                                                                      Construct the RefundNotificationException.

                                                                                                      + + + public + __construct([string $message = "" ][, int $code = 166 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                      Parameters
                                                                                                      +
                                                                                                      +
                                                                                                      + $message + : string + = ""
                                                                                                      +
                                                                                                      +

                                                                                                      [optional] The Exception message to throw.

                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + $code + : int + = 166
                                                                                                      +
                                                                                                      +

                                                                                                      [optional] The Exception code to throw.

                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + $previous + : Exception + = null
                                                                                                      +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + $apiCode + : string|null + = "000000"
                                                                                                      +
                                                                                                      +

                                                                                                      [optional] The API Exception code to throw.

                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + +
                                                                                                      Return values
                                                                                                      + mixed + — + + +
                                                                                                      +
                                                                                                      +

                                                                                                      + getApiCode() + +

                                                                                                      + + + + + public + getApiCode() : string + + + + + +
                                                                                                      Return values
                                                                                                      + string + — +

                                                                                                      Error code provided by the BitPay REST API

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

                                                                                                      Search results

                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        + + +
                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundQueryException.html new file mode 100644 index 0000000..4b072a7 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                        +

                                                                                                        Documentation

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

                                                                                                        + RefundQueryException + + + extends RefundException + + +
                                                                                                        + in package + +
                                                                                                        + + +

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

                                                                                                        + Table of Contents + +

                                                                                                        + +
                                                                                                        +
                                                                                                        + $apiCode + +  : string|null +
                                                                                                        +
                                                                                                        + +
                                                                                                        + $bitPayCode + +  : string +
                                                                                                        +
                                                                                                        + +
                                                                                                        + $bitPayMessage + +  : string +
                                                                                                        +
                                                                                                        + +
                                                                                                        + __construct() + +  : mixed +
                                                                                                        +
                                                                                                        Construct the RefundQueryException.
                                                                                                        + +
                                                                                                        + getApiCode() + +  : string +
                                                                                                        +
                                                                                                        + +
                                                                                                        + + + + + + +
                                                                                                        +

                                                                                                        + Properties + +

                                                                                                        +
                                                                                                        +

                                                                                                        + $apiCode + + + +

                                                                                                        + + + + + protected + string|null + $apiCode + + +
                                                                                                        + +
                                                                                                        + + + +
                                                                                                        +
                                                                                                        +

                                                                                                        + $bitPayCode + + + +

                                                                                                        + + + + + private + string + $bitPayCode + = "BITPAY-REFUND-GET" + +
                                                                                                        + +
                                                                                                        + + + +
                                                                                                        +
                                                                                                        +

                                                                                                        + $bitPayMessage + + + +

                                                                                                        + + + + + private + string + $bitPayMessage + = "Failed to retrieve refund" + +
                                                                                                        + +
                                                                                                        + + + +
                                                                                                        +
                                                                                                        + +
                                                                                                        +

                                                                                                        + Methods + +

                                                                                                        +
                                                                                                        +

                                                                                                        + __construct() + +

                                                                                                        + + +

                                                                                                        Construct the RefundQueryException.

                                                                                                        + + + public + __construct([string $message = "" ][, int $code = 163 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                        Parameters
                                                                                                        +
                                                                                                        +
                                                                                                        + $message + : string + = ""
                                                                                                        +
                                                                                                        +

                                                                                                        [optional] The Exception message to throw.

                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + $code + : int + = 163
                                                                                                        +
                                                                                                        +

                                                                                                        [optional] The Exception code to throw.

                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + $previous + : Exception + = null
                                                                                                        +
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + $apiCode + : string|null + = "000000"
                                                                                                        +
                                                                                                        +

                                                                                                        [optional] The API Exception code to throw.

                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + + + +
                                                                                                        Return values
                                                                                                        + mixed + — + + +
                                                                                                        +
                                                                                                        +

                                                                                                        + getApiCode() + +

                                                                                                        + + + + + public + getApiCode() : string + + + + + +
                                                                                                        Return values
                                                                                                        + string + — +

                                                                                                        Error code provided by the BitPay REST API

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

                                                                                                        Search results

                                                                                                        + +
                                                                                                        +
                                                                                                        +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + + +
                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundUpdateException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundUpdateException.html new file mode 100644 index 0000000..db848d6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-RefundUpdateException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                          +

                                                                                                          Documentation

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

                                                                                                          + RefundUpdateException + + + extends RefundException + + +
                                                                                                          + in package + +
                                                                                                          + + +

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

                                                                                                          + Table of Contents + +

                                                                                                          + +
                                                                                                          +
                                                                                                          + $apiCode + +  : string|null +
                                                                                                          +
                                                                                                          + +
                                                                                                          + $bitPayCode + +  : string +
                                                                                                          +
                                                                                                          + +
                                                                                                          + $bitPayMessage + +  : string +
                                                                                                          +
                                                                                                          + +
                                                                                                          + __construct() + +  : mixed +
                                                                                                          +
                                                                                                          Construct the RefundUpdateException.
                                                                                                          + +
                                                                                                          + getApiCode() + +  : string +
                                                                                                          +
                                                                                                          + +
                                                                                                          + + + + + + +
                                                                                                          +

                                                                                                          + Properties + +

                                                                                                          +
                                                                                                          +

                                                                                                          + $apiCode + + + +

                                                                                                          + + + + + protected + string|null + $apiCode + + +
                                                                                                          + +
                                                                                                          + + + +
                                                                                                          +
                                                                                                          +

                                                                                                          + $bitPayCode + + + +

                                                                                                          + + + + + private + string + $bitPayCode + = "BITPAY-REFUND-UPDATE" + +
                                                                                                          + +
                                                                                                          + + + +
                                                                                                          +
                                                                                                          +

                                                                                                          + $bitPayMessage + + + +

                                                                                                          + + + + + private + string + $bitPayMessage + = "Failed to update refund" + +
                                                                                                          + +
                                                                                                          + + + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +

                                                                                                          + Methods + +

                                                                                                          +
                                                                                                          +

                                                                                                          + __construct() + +

                                                                                                          + + +

                                                                                                          Construct the RefundUpdateException.

                                                                                                          + + + public + __construct([string $message = "" ][, int $code = 164 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                          Parameters
                                                                                                          +
                                                                                                          +
                                                                                                          + $message + : string + = ""
                                                                                                          +
                                                                                                          +

                                                                                                          [optional] The Exception message to throw.

                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + $code + : int + = 164
                                                                                                          +
                                                                                                          +

                                                                                                          [optional] The Exception code to throw.

                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + $previous + : Exception + = null
                                                                                                          +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + $apiCode + : string|null + = "000000"
                                                                                                          +
                                                                                                          +

                                                                                                          [optional] The API Exception code to throw.

                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + + + +
                                                                                                          Return values
                                                                                                          + mixed + — + + +
                                                                                                          +
                                                                                                          +

                                                                                                          + getApiCode() + +

                                                                                                          + + + + + public + getApiCode() : string + + + + + +
                                                                                                          Return values
                                                                                                          + string + — +

                                                                                                          Error code provided by the BitPay REST API

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

                                                                                                          Search results

                                                                                                          + +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            + + +
                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementException.html new file mode 100644 index 0000000..16b4800 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                            +

                                                                                                            Documentation

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

                                                                                                            + SettlementException + + + extends BitPayException + + +
                                                                                                            + in package + +
                                                                                                            + + +

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

                                                                                                            + Table of Contents + +

                                                                                                            + +
                                                                                                            +
                                                                                                            + $apiCode + +  : string|null +
                                                                                                            +
                                                                                                            + +
                                                                                                            + $bitPayCode + +  : string +
                                                                                                            +
                                                                                                            + +
                                                                                                            + $bitPayMessage + +  : string +
                                                                                                            +
                                                                                                            + +
                                                                                                            + __construct() + +  : mixed +
                                                                                                            +
                                                                                                            Construct the SettlementException.
                                                                                                            + +
                                                                                                            + getApiCode() + +  : string +
                                                                                                            +
                                                                                                            + +
                                                                                                            + + + + + + +
                                                                                                            +

                                                                                                            + Properties + +

                                                                                                            +
                                                                                                            +

                                                                                                            + $apiCode + + + +

                                                                                                            + + + + + protected + string|null + $apiCode + + +
                                                                                                            + +
                                                                                                            + + + +
                                                                                                            +
                                                                                                            +

                                                                                                            + $bitPayCode + + + +

                                                                                                            + + + + + private + string + $bitPayCode + = "BITPAY-SETTLEMENTS-GENERIC" + +
                                                                                                            + +
                                                                                                            + + + +
                                                                                                            +
                                                                                                            +

                                                                                                            + $bitPayMessage + + + +

                                                                                                            + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the settlements" + +
                                                                                                            + +
                                                                                                            + + + +
                                                                                                            +
                                                                                                            + +
                                                                                                            +

                                                                                                            + Methods + +

                                                                                                            +
                                                                                                            +

                                                                                                            + __construct() + +

                                                                                                            + + +

                                                                                                            Construct the SettlementException.

                                                                                                            + + + public + __construct([string $message = "" ][, int $code = 151 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                            Parameters
                                                                                                            +
                                                                                                            +
                                                                                                            + $message + : string + = ""
                                                                                                            +
                                                                                                            +

                                                                                                            [optional] The Exception message to throw.

                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            + $code + : int + = 151
                                                                                                            +
                                                                                                            +

                                                                                                            [optional] The Exception code to throw.

                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            + $previous + : Exception + = null
                                                                                                            +
                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            + $apiCode + : string|null + = "000000"
                                                                                                            +
                                                                                                            +

                                                                                                            [optional] The API Exception code to throw.

                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            + + + +
                                                                                                            Return values
                                                                                                            + mixed + — + + +
                                                                                                            +
                                                                                                            +

                                                                                                            + getApiCode() + +

                                                                                                            + + + + + public + getApiCode() : string + + + + + +
                                                                                                            Return values
                                                                                                            + string + — +

                                                                                                            Error code provided by the BitPay REST API

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

                                                                                                            Search results

                                                                                                            + +
                                                                                                            +
                                                                                                            +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              + + +
                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementQueryException.html new file mode 100644 index 0000000..cef8173 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-SettlementQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                              +

                                                                                                              Documentation

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

                                                                                                              + SettlementQueryException + + + extends SettlementException + + +
                                                                                                              + in package + +
                                                                                                              + + +

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

                                                                                                              + Table of Contents + +

                                                                                                              + +
                                                                                                              +
                                                                                                              + $apiCode + +  : string|null +
                                                                                                              +
                                                                                                              + +
                                                                                                              + $bitPayCode + +  : string +
                                                                                                              +
                                                                                                              + +
                                                                                                              + $bitPayMessage + +  : string +
                                                                                                              +
                                                                                                              + +
                                                                                                              + __construct() + +  : mixed +
                                                                                                              +
                                                                                                              Construct the SettlementQueryException.
                                                                                                              + +
                                                                                                              + getApiCode() + +  : string +
                                                                                                              +
                                                                                                              + +
                                                                                                              + + + + + + +
                                                                                                              +

                                                                                                              + Properties + +

                                                                                                              +
                                                                                                              +

                                                                                                              + $apiCode + + + +

                                                                                                              + + + + + protected + string|null + $apiCode + + +
                                                                                                              + +
                                                                                                              + + + +
                                                                                                              +
                                                                                                              +

                                                                                                              + $bitPayCode + + + +

                                                                                                              + + + + + private + string + $bitPayCode + = "BITPAY-SETTLEMENTS-GET" + +
                                                                                                              + +
                                                                                                              + + + +
                                                                                                              +
                                                                                                              +

                                                                                                              + $bitPayMessage + + + +

                                                                                                              + + + + + private + string + $bitPayMessage + = "Failed to retrieve settlements" + +
                                                                                                              + +
                                                                                                              + + + +
                                                                                                              +
                                                                                                              + +
                                                                                                              +

                                                                                                              + Methods + +

                                                                                                              +
                                                                                                              +

                                                                                                              + __construct() + +

                                                                                                              + + +

                                                                                                              Construct the SettlementQueryException.

                                                                                                              + + + public + __construct([string $message = "" ][, int $code = 152 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                              Parameters
                                                                                                              +
                                                                                                              +
                                                                                                              + $message + : string + = ""
                                                                                                              +
                                                                                                              +

                                                                                                              [optional] The Exception message to throw.

                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              + $code + : int + = 152
                                                                                                              +
                                                                                                              +

                                                                                                              [optional] The Exception code to throw.

                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              + $previous + : Exception + = null
                                                                                                              +
                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              + $apiCode + : string|null + = "000000"
                                                                                                              +
                                                                                                              +

                                                                                                              [optional] The API Exception code to throw.

                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              + + + +
                                                                                                              Return values
                                                                                                              + mixed + — + + +
                                                                                                              +
                                                                                                              +

                                                                                                              + getApiCode() + +

                                                                                                              + + + + + public + getApiCode() : string + + + + + +
                                                                                                              Return values
                                                                                                              + string + — +

                                                                                                              Error code provided by the BitPay REST API

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

                                                                                                              Search results

                                                                                                              + +
                                                                                                              +
                                                                                                              +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                + + +
                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletException.html new file mode 100644 index 0000000..884cd3e --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                +

                                                                                                                Documentation

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

                                                                                                                + WalletException + + + extends BitPayException + + +
                                                                                                                + in package + +
                                                                                                                + + +

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

                                                                                                                + Table of Contents + +

                                                                                                                + +
                                                                                                                +
                                                                                                                + $apiCode + +  : string|null +
                                                                                                                +
                                                                                                                + +
                                                                                                                + $bitPayCode + +  : string +
                                                                                                                +
                                                                                                                + +
                                                                                                                + $bitPayMessage + +  : string +
                                                                                                                +
                                                                                                                + +
                                                                                                                + __construct() + +  : mixed +
                                                                                                                +
                                                                                                                Construct the WalletException.
                                                                                                                + +
                                                                                                                + getApiCode() + +  : string +
                                                                                                                +
                                                                                                                + +
                                                                                                                + + + + + + +
                                                                                                                +

                                                                                                                + Properties + +

                                                                                                                +
                                                                                                                +

                                                                                                                + $apiCode + + + +

                                                                                                                + + + + + protected + string|null + $apiCode + + +
                                                                                                                + +
                                                                                                                + + + +
                                                                                                                +
                                                                                                                +

                                                                                                                + $bitPayCode + + + +

                                                                                                                + + + + + private + string + $bitPayCode + = "BITPAY-WALLET-GENERIC" + +
                                                                                                                + +
                                                                                                                + + + +
                                                                                                                +
                                                                                                                +

                                                                                                                + $bitPayMessage + + + +

                                                                                                                + + + + + private + string + $bitPayMessage + = "An unexpected error occurred while trying to manage the wallet" + +
                                                                                                                + +
                                                                                                                + + + +
                                                                                                                +
                                                                                                                + +
                                                                                                                +

                                                                                                                + Methods + +

                                                                                                                +
                                                                                                                +

                                                                                                                + __construct() + +

                                                                                                                + + +

                                                                                                                Construct the WalletException.

                                                                                                                + + + public + __construct([string $message = "" ][, int $code = 181 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                                Parameters
                                                                                                                +
                                                                                                                +
                                                                                                                + $message + : string + = ""
                                                                                                                +
                                                                                                                +

                                                                                                                [optional] The Exception message to throw.

                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                + $code + : int + = 181
                                                                                                                +
                                                                                                                +

                                                                                                                [optional] The Exception code to throw.

                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                + $previous + : Exception + = null
                                                                                                                +
                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                + $apiCode + : string|null + = "000000"
                                                                                                                +
                                                                                                                +

                                                                                                                [optional] The API Exception code to throw.

                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                + + + +
                                                                                                                Return values
                                                                                                                + mixed + — + + +
                                                                                                                +
                                                                                                                +

                                                                                                                + getApiCode() + +

                                                                                                                + + + + + public + getApiCode() : string + + + + + +
                                                                                                                Return values
                                                                                                                + string + — +

                                                                                                                Error code provided by the BitPay REST API

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

                                                                                                                Search results

                                                                                                                + +
                                                                                                                +
                                                                                                                +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + + +
                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletQueryException.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletQueryException.html new file mode 100644 index 0000000..d6188ab --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Exceptions-WalletQueryException.html @@ -0,0 +1,522 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                  +

                                                                                                                  Documentation

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

                                                                                                                  + WalletQueryException + + + extends WalletException + + +
                                                                                                                  + in package + +
                                                                                                                  + + +

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

                                                                                                                  + Table of Contents + +

                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + $apiCode + +  : string|null +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  + $bitPayCode + +  : string +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  + $bitPayMessage + +  : string +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  + __construct() + +  : mixed +
                                                                                                                  +
                                                                                                                  Construct the WalletQueryException.
                                                                                                                  + +
                                                                                                                  + getApiCode() + +  : string +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  + + + + + + +
                                                                                                                  +

                                                                                                                  + Properties + +

                                                                                                                  +
                                                                                                                  +

                                                                                                                  + $apiCode + + + +

                                                                                                                  + + + + + protected + string|null + $apiCode + + +
                                                                                                                  + +
                                                                                                                  + + + +
                                                                                                                  +
                                                                                                                  +

                                                                                                                  + $bitPayCode + + + +

                                                                                                                  + + + + + private + string + $bitPayCode + = "BITPAY-WALLET-GET" + +
                                                                                                                  + +
                                                                                                                  + + + +
                                                                                                                  +
                                                                                                                  +

                                                                                                                  + $bitPayMessage + + + +

                                                                                                                  + + + + + private + string + $bitPayMessage + = "Failed to retrieve supported wallets" + +
                                                                                                                  + +
                                                                                                                  + + + +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +

                                                                                                                  + Methods + +

                                                                                                                  +
                                                                                                                  +

                                                                                                                  + __construct() + +

                                                                                                                  + + +

                                                                                                                  Construct the WalletQueryException.

                                                                                                                  + + + public + __construct([string $message = "" ][, int $code = 183 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed + + +
                                                                                                                  Parameters
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + $message + : string + = ""
                                                                                                                  +
                                                                                                                  +

                                                                                                                  [optional] The Exception message to throw.

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + $code + : int + = 183
                                                                                                                  +
                                                                                                                  +

                                                                                                                  [optional] The Exception code to throw.

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + $previous + : Exception + = null
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + $apiCode + : string|null + = "000000"
                                                                                                                  +
                                                                                                                  +

                                                                                                                  [optional] The API Exception code to throw.

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + + + +
                                                                                                                  Return values
                                                                                                                  + mixed + — + + +
                                                                                                                  +
                                                                                                                  +

                                                                                                                  + getApiCode() + +

                                                                                                                  + + + + + public + getApiCode() : string + + + + + +
                                                                                                                  Return values
                                                                                                                  + string + — +

                                                                                                                  Error code provided by the BitPay REST API

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

                                                                                                                  Search results

                                                                                                                  + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Bill.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Bill.html new file mode 100644 index 0000000..3a23aa3 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Bill.html @@ -0,0 +1,3318 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                    +

                                                                                                                    Documentation

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

                                                                                                                    + Bill + + +
                                                                                                                    + in package + +
                                                                                                                    + + +

                                                                                                                    + + + + + + +
                                                                                                                    + Tags + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + see +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    REST API Bills

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + + + + +

                                                                                                                    + Table of Contents + +

                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + $address1 + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $address2 + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $cc + +  : array<string|int, mixed>|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $city + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $country + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $createDate + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $currency + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $dueDate + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $email + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $id + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $items + +  : array<string|int, mixed> +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $merchant + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $name + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $number + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $passProcessingFee + +  : bool|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $phone + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $state + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $status + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $token + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $url + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + $zip + +  : string|null +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    + __construct() + +  : mixed +
                                                                                                                    +
                                                                                                                    Constructor, create a minimal request Bill object.
                                                                                                                    + +
                                                                                                                    + getAddress1() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's address
                                                                                                                    + +
                                                                                                                    + getAddress2() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's address
                                                                                                                    + +
                                                                                                                    + getCc() + +  : array<string|int, mixed>|null +
                                                                                                                    +
                                                                                                                    Gets Bill cc
                                                                                                                    + +
                                                                                                                    + getCity() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's city
                                                                                                                    + +
                                                                                                                    + getCountry() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's country
                                                                                                                    + +
                                                                                                                    + getCreateDate() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill create date
                                                                                                                    + +
                                                                                                                    + getCurrency() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill currency
                                                                                                                    + +
                                                                                                                    + getDueDate() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill due date
                                                                                                                    + +
                                                                                                                    + getEmail() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill email
                                                                                                                    + +
                                                                                                                    + getId() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill id
                                                                                                                    + +
                                                                                                                    + getItems() + +  : array<string|int, mixed> +
                                                                                                                    +
                                                                                                                    Gets items from bill
                                                                                                                    + +
                                                                                                                    + getItemsAsArray() + +  : array<string|int, mixed>|null +
                                                                                                                    +
                                                                                                                    Gets items as array from bill
                                                                                                                    + +
                                                                                                                    + getMerchant() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill merchant
                                                                                                                    + +
                                                                                                                    + getName() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's name
                                                                                                                    + +
                                                                                                                    + getNumber() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill number
                                                                                                                    + +
                                                                                                                    + getPassProcessingFee() + +  : bool|null +
                                                                                                                    +
                                                                                                                    Gets bill pass processing fee
                                                                                                                    + +
                                                                                                                    + getPhone() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's phone number
                                                                                                                    + +
                                                                                                                    + getState() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's state or province
                                                                                                                    + +
                                                                                                                    + getStatus() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill status
                                                                                                                    + +
                                                                                                                    + getToken() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets token
                                                                                                                    + +
                                                                                                                    + getUrl() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets bill url
                                                                                                                    + +
                                                                                                                    + getZip() + +  : string|null +
                                                                                                                    +
                                                                                                                    Gets Bill recipient's ZIP code
                                                                                                                    + +
                                                                                                                    + setAddress1() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's address
                                                                                                                    + +
                                                                                                                    + setAddress2() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's address
                                                                                                                    + +
                                                                                                                    + setCc() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's cc
                                                                                                                    + +
                                                                                                                    + setCity() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's city
                                                                                                                    + +
                                                                                                                    + setCountry() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's country
                                                                                                                    + +
                                                                                                                    + setCreateDate() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's create date
                                                                                                                    + +
                                                                                                                    + setCurrency() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's currency
                                                                                                                    + +
                                                                                                                    + setDueDate() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's due date
                                                                                                                    + +
                                                                                                                    + setEmail() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's email
                                                                                                                    + +
                                                                                                                    + setId() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's id
                                                                                                                    + +
                                                                                                                    + setItems() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's items
                                                                                                                    + +
                                                                                                                    + setMerchant() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's merchant
                                                                                                                    + +
                                                                                                                    + setName() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's name
                                                                                                                    + +
                                                                                                                    + setNumber() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's number
                                                                                                                    + +
                                                                                                                    + setPassProcessingFee() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's pass processing fee
                                                                                                                    + +
                                                                                                                    + setPhone() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's phone number
                                                                                                                    + +
                                                                                                                    + setState() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's state or province
                                                                                                                    + +
                                                                                                                    + setStatus() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's status
                                                                                                                    + +
                                                                                                                    + setToken() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's token
                                                                                                                    + +
                                                                                                                    + setUrl() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill's url
                                                                                                                    + +
                                                                                                                    + setZip() + +  : void +
                                                                                                                    +
                                                                                                                    Sets Bill recipient's ZIP code
                                                                                                                    + +
                                                                                                                    + toArray() + +  : array<string|int, mixed> +
                                                                                                                    +
                                                                                                                    Get bill data as array
                                                                                                                    + +
                                                                                                                    + + + + + + +
                                                                                                                    +

                                                                                                                    + Properties + +

                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $address1 + + + +

                                                                                                                    + + + + + protected + string|null + $address1 + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $address2 + + + +

                                                                                                                    + + + + + protected + string|null + $address2 + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $cc + + + +

                                                                                                                    + + + + + protected + array<string|int, mixed>|null + $cc + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $city + + + +

                                                                                                                    + + + + + protected + string|null + $city + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $country + + + +

                                                                                                                    + + + + + protected + string|null + $country + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $createDate + + + +

                                                                                                                    + + + + + protected + string|null + $createDate + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $currency + + + +

                                                                                                                    + + + + + protected + string|null + $currency + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $dueDate + + + +

                                                                                                                    + + + + + protected + string|null + $dueDate + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $email + + + +

                                                                                                                    + + + + + protected + string|null + $email + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $id + + + +

                                                                                                                    + + + + + protected + string|null + $id + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $items + + + +

                                                                                                                    + + + + + protected + array<string|int, mixed> + $items + = [] + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $merchant + + + +

                                                                                                                    + + + + + protected + string|null + $merchant + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $name + + + +

                                                                                                                    + + + + + protected + string|null + $name + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $number + + + +

                                                                                                                    + + + + + protected + string|null + $number + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $passProcessingFee + + + +

                                                                                                                    + + + + + protected + bool|null + $passProcessingFee + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $phone + + + +

                                                                                                                    + + + + + protected + string|null + $phone + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $state + + + +

                                                                                                                    + + + + + protected + string|null + $state + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $status + + + +

                                                                                                                    + + + + + protected + string|null + $status + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $token + + + +

                                                                                                                    + + + + + protected + string|null + $token + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $url + + + +

                                                                                                                    + + + + + protected + string|null + $url + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + $zip + + + +

                                                                                                                    + + + + + protected + string|null + $zip + = null + +
                                                                                                                    + +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +

                                                                                                                    + Methods + +

                                                                                                                    +
                                                                                                                    +

                                                                                                                    + __construct() + +

                                                                                                                    + + +

                                                                                                                    Constructor, create a minimal request Bill object.

                                                                                                                    + + + public + __construct([string|null $number = null ][, string|null $currency = null ][, string|null $email = null ][, array<string|int, mixed>|null $items = null ]) : mixed + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $number + : string|null + = null
                                                                                                                    +
                                                                                                                    +

                                                                                                                    string A string for tracking purposes.

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + $currency + : string|null + = null
                                                                                                                    +
                                                                                                                    +

                                                                                                                    string The three digit currency type used to compute the bill's amount.

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + $email + : string|null + = null
                                                                                                                    +
                                                                                                                    +

                                                                                                                    string The email address of the receiver for this bill.

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + $items + : array<string|int, mixed>|null + = null
                                                                                                                    +
                                                                                                                    +

                                                                                                                    array The list of items to add to this bill.

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + mixed + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getAddress1() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's address

                                                                                                                    + + + public + getAddress1() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the address1

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getAddress2() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's address

                                                                                                                    + + + public + getAddress2() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the address2

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getCc() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill cc

                                                                                                                    + + + public + getCc() : array<string|int, mixed>|null + +

                                                                                                                    Email addresses to which a copy of the bill must be sent

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + array<string|int, mixed>|null + — +

                                                                                                                    the cc

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getCity() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's city

                                                                                                                    + + + public + getCity() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the city

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getCountry() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's country

                                                                                                                    + + + public + getCountry() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the country

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getCreateDate() + +

                                                                                                                    + + +

                                                                                                                    Gets bill create date

                                                                                                                    + + + public + getCreateDate() : string|null + +

                                                                                                                    Date and time of Bill creation, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC)

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the creation date

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getCurrency() + +

                                                                                                                    + + +

                                                                                                                    Gets bill currency

                                                                                                                    + + + public + getCurrency() : string|null + +

                                                                                                                    ISO 4217 3-character currency code. This is the currency associated with the price field

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the bill currency

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getDueDate() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill due date

                                                                                                                    + + + public + getDueDate() : string|null + +

                                                                                                                    Date and time at which a bill is due, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC)

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the number

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getEmail() + +

                                                                                                                    + + +

                                                                                                                    Gets bill email

                                                                                                                    + + + public + getEmail() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the email

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getId() + +

                                                                                                                    + + +

                                                                                                                    Gets bill id

                                                                                                                    + + + public + getId() : string|null + +

                                                                                                                    Bill resource id

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the id

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getItems() + +

                                                                                                                    + + +

                                                                                                                    Gets items from bill

                                                                                                                    + + + public + getItems() : array<string|int, mixed> + + + + + +
                                                                                                                    Return values
                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                    Item[]

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getItemsAsArray() + +

                                                                                                                    + + +

                                                                                                                    Gets items as array from bill

                                                                                                                    + + + public + getItemsAsArray() : array<string|int, mixed>|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + array<string|int, mixed>|null + — +

                                                                                                                    items as array from bill

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getMerchant() + +

                                                                                                                    + + +

                                                                                                                    Gets bill merchant

                                                                                                                    + + + public + getMerchant() : string|null + +

                                                                                                                    Internal identifier for BitPay, this field can be ignored by the merchants.

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the merchant

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getName() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's name

                                                                                                                    + + + public + getName() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the name

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getNumber() + +

                                                                                                                    + + +

                                                                                                                    Gets bill number

                                                                                                                    + + + public + getNumber() : string|null + +

                                                                                                                    Bill identifier, specified by merchant

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the number

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getPassProcessingFee() + +

                                                                                                                    + + +

                                                                                                                    Gets bill pass processing fee

                                                                                                                    + + + public + getPassProcessingFee() : bool|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + bool|null + — +

                                                                                                                    the pass processing fee

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getPhone() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's phone number

                                                                                                                    + + + public + getPhone() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the phone

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getState() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's state or province

                                                                                                                    + + + public + getState() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the state

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getStatus() + +

                                                                                                                    + + +

                                                                                                                    Gets bill status

                                                                                                                    + + + public + getStatus() : string|null + +

                                                                                                                    Can "draft", "sent", "new", "paid", or "complete"

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the status

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getToken() + +

                                                                                                                    + + +

                                                                                                                    Gets token

                                                                                                                    + + + public + getToken() : string|null + +

                                                                                                                    API token for bill resource. This token is actually derived from the API token used to +create the bill and is tied to the specific resource id created.

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the token

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getUrl() + +

                                                                                                                    + + +

                                                                                                                    Gets bill url

                                                                                                                    + + + public + getUrl() : string|null + +

                                                                                                                    Web address of bill

                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the url

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + getZip() + +

                                                                                                                    + + +

                                                                                                                    Gets Bill recipient's ZIP code

                                                                                                                    + + + public + getZip() : string|null + + + + + +
                                                                                                                    Return values
                                                                                                                    + string|null + — +

                                                                                                                    the zip

                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setAddress1() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's address

                                                                                                                    + + + public + setAddress1(string $address1) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $address1 + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setAddress2() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's address

                                                                                                                    + + + public + setAddress2(string $address2) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $address2 + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setCc() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's cc

                                                                                                                    + + + public + setCc(array<string|int, mixed> $cc) : void + +

                                                                                                                    Email addresses to which a copy of the bill must be sent

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $cc + : array<string|int, mixed> +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setCity() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's city

                                                                                                                    + + + public + setCity(string $city) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $city + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setCountry() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's country

                                                                                                                    + + + public + setCountry(string $country) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $country + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setCreateDate() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's create date

                                                                                                                    + + + public + setCreateDate(string $createDate) : void + +

                                                                                                                    Date and time of Bill creation, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC)

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $createDate + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setCurrency() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's currency

                                                                                                                    + + + public + setCurrency(string $currency) : void + +

                                                                                                                    ISO 4217 3-character currency code. This is the currency associated with the price field

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $currency + : string +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    the currency

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    + Tags + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + throws +
                                                                                                                    +
                                                                                                                    + BitPayException + + +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setDueDate() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's due date

                                                                                                                    + + + public + setDueDate(string $dueDate) : void + +

                                                                                                                    Date and time at which a bill is due, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC)

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $dueDate + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setEmail() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's email

                                                                                                                    + + + public + setEmail(string $email) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $email + : string +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    the email

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setId() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's id

                                                                                                                    + + + public + setId(string $id) : void + +

                                                                                                                    Bill resource id

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $id + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setItems() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's items

                                                                                                                    + + + public + setItems(array<string|int, mixed> $items) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $items + : array<string|int, mixed> +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    Item[]

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setMerchant() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's merchant

                                                                                                                    + + + public + setMerchant(string $merchant) : void + +

                                                                                                                    Internal identifier for BitPay, this field can be ignored by the merchants.

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $merchant + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setName() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's name

                                                                                                                    + + + public + setName(string $name) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $name + : string +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    the name

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setNumber() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's number

                                                                                                                    + + + public + setNumber(string $number) : void + +

                                                                                                                    Bill identifier, specified by merchant

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $number + : string +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    the number

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setPassProcessingFee() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's pass processing fee

                                                                                                                    + + + public + setPassProcessingFee(bool $passProcessingFee) : void + +

                                                                                                                    If set to true, BitPay's processing fee will be included in the amount charged on the invoice

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $passProcessingFee + : bool +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setPhone() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's phone number

                                                                                                                    + + + public + setPhone(string $phone) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $phone + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setState() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's state or province

                                                                                                                    + + + public + setState(string $state) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $state + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setStatus() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's status

                                                                                                                    + + + public + setStatus(string $status) : void + +

                                                                                                                    Can "draft", "sent", "new", "paid", or "complete"

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $status + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setToken() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's token

                                                                                                                    + + + public + setToken(string $token) : void + +

                                                                                                                    API token for bill resource. This token is actually derived from the API token used to +create the bill and is tied to the specific resource id created.

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $token + : string +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    the token

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setUrl() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill's url

                                                                                                                    + + + public + setUrl(string $url) : void + +

                                                                                                                    Web address of bill

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $url + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + setZip() + +

                                                                                                                    + + +

                                                                                                                    Sets Bill recipient's ZIP code

                                                                                                                    + + + public + setZip(string $zip) : void + + +
                                                                                                                    Parameters
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + $zip + : string +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    Return values
                                                                                                                    + void + — + + +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    + toArray() + +

                                                                                                                    + + +

                                                                                                                    Get bill data as array

                                                                                                                    + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                    Return values
                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                    bill data as array

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

                                                                                                                    Search results

                                                                                                                    + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + + +
                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-BillStatus.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-BillStatus.html new file mode 100644 index 0000000..1c8c157 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-BillStatus.html @@ -0,0 +1,461 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                      +

                                                                                                                      Documentation

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

                                                                                                                      + BillStatus +
                                                                                                                      + in + +
                                                                                                                      +

                                                                                                                      + + + +

                                                                                                                      Contains bill statuses: Can be "draft", "sent", "new", "paid", or "complete"

                                                                                                                      + + + +
                                                                                                                      + Tags + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + see +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      REST API Bills

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + + + + + + +

                                                                                                                      + Table of Contents + +

                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + COMPLETE + +  = "complete" +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      + DRAFT + +  = "draft" +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      + NEW + +  = "new" +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      + PAID + +  = "paid" +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      + SENT + +  = "sent" +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      + + + + +
                                                                                                                      +

                                                                                                                      + Constants + +

                                                                                                                      +
                                                                                                                      +

                                                                                                                      + COMPLETE + +

                                                                                                                      + + + + + + public + mixed + COMPLETE + = "complete" + + + +
                                                                                                                      + +
                                                                                                                      + + + +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      + DRAFT + +

                                                                                                                      + + + + + + public + mixed + DRAFT + = "draft" + + + +
                                                                                                                      + +
                                                                                                                      + + + +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      + NEW + +

                                                                                                                      + + + + + + public + mixed + NEW + = "new" + + + +
                                                                                                                      + +
                                                                                                                      + + + +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      + PAID + +

                                                                                                                      + + + + + + public + mixed + PAID + = "paid" + + + +
                                                                                                                      + +
                                                                                                                      + + + +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      + SENT + +

                                                                                                                      + + + + + + public + mixed + SENT + = "sent" + + + +
                                                                                                                      + +
                                                                                                                      + + + +
                                                                                                                      +
                                                                                                                      + + + + + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      Search results

                                                                                                                      + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Item.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Item.html new file mode 100644 index 0000000..6eb5cd4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Bill-Item.html @@ -0,0 +1,965 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                        +

                                                                                                                        Documentation

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

                                                                                                                        + Item + + +
                                                                                                                        + in package + +
                                                                                                                        + + +

                                                                                                                        + + + + + + +
                                                                                                                        + Tags + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + see +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        REST API Bills

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + + + + +

                                                                                                                        + Table of Contents + +

                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + $description + +  : string|null +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        + $id + +  : string|null +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        + $price + +  : float|null +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        + $quantity + +  : int|null +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        + __construct() + +  : mixed +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        + createFromArray() + +  : Item +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        + getDescription() + +  : string|null +
                                                                                                                        +
                                                                                                                        Gets Line item description
                                                                                                                        + +
                                                                                                                        + getId() + +  : string|null +
                                                                                                                        +
                                                                                                                        Gets id.
                                                                                                                        + +
                                                                                                                        + getPrice() + +  : float|null +
                                                                                                                        +
                                                                                                                        Gets Line item unit price for the corresponding currency
                                                                                                                        + +
                                                                                                                        + getQuantity() + +  : int|null +
                                                                                                                        +
                                                                                                                        Gets Line item number of units
                                                                                                                        + +
                                                                                                                        + setDescription() + +  : void +
                                                                                                                        +
                                                                                                                        Sets Line item description
                                                                                                                        + +
                                                                                                                        + setId() + +  : void +
                                                                                                                        +
                                                                                                                        Sets id.
                                                                                                                        + +
                                                                                                                        + setPrice() + +  : void +
                                                                                                                        +
                                                                                                                        Sets Line item unit price for the corresponding currency
                                                                                                                        + +
                                                                                                                        + setQuantity() + +  : void +
                                                                                                                        +
                                                                                                                        Sets Line item number of units
                                                                                                                        + +
                                                                                                                        + toArray() + +  : array<string|int, mixed> +
                                                                                                                        +
                                                                                                                        Gets Item data as array
                                                                                                                        + +
                                                                                                                        + + + + + + +
                                                                                                                        +

                                                                                                                        + Properties + +

                                                                                                                        +
                                                                                                                        +

                                                                                                                        + $description + + + +

                                                                                                                        + + + + + protected + string|null + $description + = null + +
                                                                                                                        + +
                                                                                                                        + + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + $id + + + +

                                                                                                                        + + + + + protected + string|null + $id + = null + +
                                                                                                                        + +
                                                                                                                        + + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + $price + + + +

                                                                                                                        + + + + + protected + float|null + $price + = null + +
                                                                                                                        + +
                                                                                                                        + + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + $quantity + + + +

                                                                                                                        + + + + + protected + int|null + $quantity + = null + +
                                                                                                                        + +
                                                                                                                        + + + +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +

                                                                                                                        + Methods + +

                                                                                                                        +
                                                                                                                        +

                                                                                                                        + __construct() + +

                                                                                                                        + + + + + public + __construct() : mixed + +
                                                                                                                        + + + + +
                                                                                                                        Return values
                                                                                                                        + mixed + — + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + createFromArray() + +

                                                                                                                        + + + + + public + static createFromArray(array<string|int, mixed> $item) : Item + + +
                                                                                                                        Parameters
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + $item + : array<string|int, mixed> +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        List of line items

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        Return values
                                                                                                                        + Item + — + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + getDescription() + +

                                                                                                                        + + +

                                                                                                                        Gets Line item description

                                                                                                                        + + + public + getDescription() : string|null + + + + + +
                                                                                                                        Return values
                                                                                                                        + string|null + — +

                                                                                                                        the description

                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + getId() + +

                                                                                                                        + + +

                                                                                                                        Gets id.

                                                                                                                        + + + public + getId() : string|null + + + + + +
                                                                                                                        Return values
                                                                                                                        + string|null + — +

                                                                                                                        the id

                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + getPrice() + +

                                                                                                                        + + +

                                                                                                                        Gets Line item unit price for the corresponding currency

                                                                                                                        + + + public + getPrice() : float|null + + + + + +
                                                                                                                        Return values
                                                                                                                        + float|null + — +

                                                                                                                        the price

                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + getQuantity() + +

                                                                                                                        + + +

                                                                                                                        Gets Line item number of units

                                                                                                                        + + + public + getQuantity() : int|null + + + + + +
                                                                                                                        Return values
                                                                                                                        + int|null + — +

                                                                                                                        the quantity

                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + setDescription() + +

                                                                                                                        + + +

                                                                                                                        Sets Line item description

                                                                                                                        + + + public + setDescription(string $description) : void + + +
                                                                                                                        Parameters
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + $description + : string +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        the description

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        Return values
                                                                                                                        + void + — + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + setId() + +

                                                                                                                        + + +

                                                                                                                        Sets id.

                                                                                                                        + + + public + setId(string $id) : void + + +
                                                                                                                        Parameters
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + $id + : string +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        the id

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        Return values
                                                                                                                        + void + — + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + setPrice() + +

                                                                                                                        + + +

                                                                                                                        Sets Line item unit price for the corresponding currency

                                                                                                                        + + + public + setPrice(float $price) : void + + +
                                                                                                                        Parameters
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + $price + : float +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        the price

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        Return values
                                                                                                                        + void + — + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + setQuantity() + +

                                                                                                                        + + +

                                                                                                                        Sets Line item number of units

                                                                                                                        + + + public + setQuantity(int $quantity) : void + + +
                                                                                                                        Parameters
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + $quantity + : int +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        the quantity

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        Return values
                                                                                                                        + void + — + + +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        + toArray() + +

                                                                                                                        + + +

                                                                                                                        Gets Item data as array

                                                                                                                        + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                        Return values
                                                                                                                        + array<string|int, mixed> + — +

                                                                                                                        item data as array

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

                                                                                                                        Search results

                                                                                                                        + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Currency.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Currency.html new file mode 100644 index 0000000..f82ecdd --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Currency.html @@ -0,0 +1,8475 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                          +

                                                                                                                          Documentation

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

                                                                                                                          + Currency + + +
                                                                                                                          + in package + +
                                                                                                                          + + +

                                                                                                                          + + + +

                                                                                                                          Object containing currency information

                                                                                                                          + + + + + + + + + +

                                                                                                                          + Table of Contents + +

                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + AED + +  = "AED" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + AFN + +  = "AFN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ALL + +  = "ALL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + AMD + +  = "AMD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ANG + +  = "ANG" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + AOA + +  = "AOA" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ARS + +  = "ARS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + AUD + +  = "AUD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + AWG + +  = "AWG" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + AZN + +  = "AZN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BAM + +  = "BAM" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BBD + +  = "BBD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BCH + +  = "BCH" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BDT + +  = "BDT" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BGN + +  = "BGN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BHD + +  = "BHD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BIF + +  = "BIF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BMD + +  = "BMD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BND + +  = "BND" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BOB + +  = "BOB" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BOV + +  = "BOV" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BRL + +  = "BRL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BSD + +  = "BSD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BTC + +  = "BTC" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BTN + +  = "BTN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BUSD + +  = "BUSD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BWP + +  = "BWP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BYR + +  = "BYR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + BZD + +  = "BZD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CAD + +  = "CAD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CDF + +  = "CDF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CHE + +  = "CHE" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CHF + +  = "CHF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CHW + +  = "CHW" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CLF + +  = "CLF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CLP + +  = "CLP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CNY + +  = "CNY" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + COP + +  = "COP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + COU + +  = "COU" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CRC + +  = "CRC" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CUC + +  = "CUC" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CUP + +  = "CUP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CVE + +  = "CVE" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + CZK + +  = "CZK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + DJF + +  = "DJF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + DKK + +  = "DKK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + DOGE + +  = "DOGE" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + DOP + +  = "DOP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + DZD + +  = "DZD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + EGP + +  = "EGP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ERN + +  = "ERN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ETB + +  = "ETB" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ETH + +  = "ETH" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + EUR + +  = "EUR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + FJD + +  = "FJD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + FKP + +  = "FKP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GBP + +  = "GBP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GEL + +  = "GEL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GHS + +  = "GHS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GIP + +  = "GIP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GMD + +  = "GMD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GNF + +  = "GNF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GTQ + +  = "GTQ" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GUSD + +  = "GUSD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + GYD + +  = "GYD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + HKD + +  = "HKD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + HNL + +  = "HNL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + HRK + +  = "HRK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + HTG + +  = "HTG" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + HUF + +  = "HUF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + IDR + +  = "IDR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ILS + +  = "ILS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + INR + +  = "INR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + IQD + +  = "IQD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + IRR + +  = "IRR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ISK + +  = "ISK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + JMD + +  = "JMD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + JOD + +  = "JOD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + JPY + +  = "JPY" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KES + +  = "KES" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KGS + +  = "KGS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KHR + +  = "KHR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KMF + +  = "KMF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KPW + +  = "KPW" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KRW + +  = "KRW" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KWD + +  = "KWD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KYD + +  = "KYD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + KZT + +  = "KZT" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LAK + +  = "LAK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LBP + +  = "LBP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LKR + +  = "LKR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LRD + +  = "LRD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LSL + +  = "LSL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LTC + +  = "LTC" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + LYD + +  = "LYD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MAD + +  = "MAD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MDL + +  = "MDL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MGA + +  = "MGA" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MKD + +  = "MKD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MMK + +  = "MMK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MNT + +  = "MNT" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MOP + +  = "MOP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MRU + +  = "MRU" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MUR + +  = "MUR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MVR + +  = "MVR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MWK + +  = "MWK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MXN + +  = "MXN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MXV + +  = "MXV" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MYR + +  = "MYR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + MZN + +  = "MZN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + NAD + +  = "NAD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + NGN + +  = "NGN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + NIO + +  = "NIO" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + NOK + +  = "NOK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + NPR + +  = "NPR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + NZD + +  = "NZD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + OMR + +  = "OMR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PAB + +  = "PAB" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PAX + +  = "PAX" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PEN + +  = "PEN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PGK + +  = "PGK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PHP + +  = "PHP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PKR + +  = "PKR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PLN + +  = "PLN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + PYG + +  = "PYG" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + QAR + +  = "QAR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + RON + +  = "RON" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + RSD + +  = "RSD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + RUB + +  = "RUB" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + RWF + +  = "RWF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SAR + +  = "SAR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SBD + +  = "SBD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SCR + +  = "SCR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SDG + +  = "SDG" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SEK + +  = "SEK" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SGD + +  = "SGD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SHIB + +  = "SHIB" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SHP + +  = "SHP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SLL + +  = "SLL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SOS + +  = "SOS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SRD + +  = "SRD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SSP + +  = "SSP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + STN + +  = "STN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SVC + +  = "SVC" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SYP + +  = "SYP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + SZL + +  = "SZL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + THB + +  = "THB" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TJS + +  = "TJS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TMT + +  = "TMT" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TND + +  = "TND" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TOP + +  = "TOP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TRY + +  = "TRY" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TTD + +  = "TTD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TWD + +  = "TWD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + TZS + +  = "TZS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + UAH + +  = "UAH" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + UGX + +  = "UGX" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + USD + +  = "USD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + USDC + +  = "USDC" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + USN + +  = "USN" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + UYI + +  = "UYI" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + UYU + +  = "UYU" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + UZS + +  = "UZS" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + VEF + +  = "VEF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + VND + +  = "VND" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + VUV + +  = "VUV" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + WST + +  = "WST" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XAF + +  = "XAF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XCD + +  = "XCD" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XDR + +  = "XDR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XOF + +  = "XOF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XPF + +  = "XPF" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XRP + +  = "XRP" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XSU + +  = "XSU" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + XUA + +  = "XUA" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + YER + +  = "YER" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ZAR + +  = "ZAR" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ZMW + +  = "ZMW" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + ZWL + +  = "ZWL" +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $alts + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $code + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $currentlySettled + +  : bool|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $decimals + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $minimum + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $name + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $payoutFields + +  : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $plural + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $precision + +  : int|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $sanctioned + +  : bool|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $settlementMinimum + +  : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + $symbol + +  : string|null +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + __construct() + +  : mixed +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + getAlts() + +  : string|null +
                                                                                                                          +
                                                                                                                          Gets alternative currency name(s)
                                                                                                                          + +
                                                                                                                          + getCode() + +  : string|null +
                                                                                                                          +
                                                                                                                          Get ISO 4217 3-character currency code
                                                                                                                          + +
                                                                                                                          + getCurrentlySettled() + +  : bool|null +
                                                                                                                          +
                                                                                                                          Gets currently settled value
                                                                                                                          + +
                                                                                                                          + getDecimals() + +  : string|null +
                                                                                                                          +
                                                                                                                          Gets decimal precision
                                                                                                                          + +
                                                                                                                          + getMinimum() + +  : string|null +
                                                                                                                          +
                                                                                                                          Gets minimum supported value when creating an invoice, bill or payout for instance
                                                                                                                          + +
                                                                                                                          + getName() + +  : string|null +
                                                                                                                          +
                                                                                                                          Gets currency name
                                                                                                                          + +
                                                                                                                          + getPayoutFields() + +  : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          Gets payout fields
                                                                                                                          + +
                                                                                                                          + getPlural() + +  : string|null +
                                                                                                                          +
                                                                                                                          Gets English plural form
                                                                                                                          + +
                                                                                                                          + getPrecision() + +  : int|null +
                                                                                                                          +
                                                                                                                          Number of decimal places
                                                                                                                          + +
                                                                                                                          + getSanctioned() + +  : bool|null +
                                                                                                                          +
                                                                                                                          Gets if the currency is linked to a sanctionned country
                                                                                                                          + +
                                                                                                                          + getSettlementMinimum() + +  : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          Gets settlement minimum
                                                                                                                          + +
                                                                                                                          + getSymbol() + +  : string|null +
                                                                                                                          +
                                                                                                                          Display symbol
                                                                                                                          + +
                                                                                                                          + isValid() + +  : bool +
                                                                                                                          +
                                                                                                                          Currency validation
                                                                                                                          + +
                                                                                                                          + setAlts() + +  : void +
                                                                                                                          +
                                                                                                                          Sets alternative currency name(s)
                                                                                                                          + +
                                                                                                                          + setCode() + +  : void +
                                                                                                                          +
                                                                                                                          Sets ISO 4217 3-character currency code
                                                                                                                          + +
                                                                                                                          + setCurrentlySettled() + +  : void +
                                                                                                                          +
                                                                                                                          Sets currently settled value
                                                                                                                          + +
                                                                                                                          + setDecimals() + +  : void +
                                                                                                                          +
                                                                                                                          Sets decimal precision
                                                                                                                          + +
                                                                                                                          + setMinimum() + +  : void +
                                                                                                                          +
                                                                                                                          Sets minimum supported value when creating an invoice, bill or payout for instance
                                                                                                                          + +
                                                                                                                          + setName() + +  : void +
                                                                                                                          +
                                                                                                                          Sets currency name
                                                                                                                          + +
                                                                                                                          + setPayoutFields() + +  : void +
                                                                                                                          +
                                                                                                                          Sets payout fields
                                                                                                                          + +
                                                                                                                          + setPlural() + +  : void +
                                                                                                                          +
                                                                                                                          Sets English plural form
                                                                                                                          + +
                                                                                                                          + setPrecision() + +  : void +
                                                                                                                          +
                                                                                                                          Sets number of decimal places
                                                                                                                          + +
                                                                                                                          + setSanctioned() + +  : void +
                                                                                                                          +
                                                                                                                          Sets if the currency is linked to a sanctionned country
                                                                                                                          + +
                                                                                                                          + setSettlementMinimum() + +  : void +
                                                                                                                          +
                                                                                                                          Sets settlement minimum
                                                                                                                          + +
                                                                                                                          + setSymbol() + +  : void +
                                                                                                                          +
                                                                                                                          Sets symbol
                                                                                                                          + +
                                                                                                                          + toArray() + +  : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          Gets currency data as array
                                                                                                                          + +
                                                                                                                          + + + + +
                                                                                                                          +

                                                                                                                          + Constants + +

                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AED + +

                                                                                                                          + + + + + + public + mixed + AED + = "AED" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AFN + +

                                                                                                                          + + + + + + public + mixed + AFN + = "AFN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ALL + +

                                                                                                                          + + + + + + public + mixed + ALL + = "ALL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AMD + +

                                                                                                                          + + + + + + public + mixed + AMD + = "AMD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ANG + +

                                                                                                                          + + + + + + public + mixed + ANG + = "ANG" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AOA + +

                                                                                                                          + + + + + + public + mixed + AOA + = "AOA" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ARS + +

                                                                                                                          + + + + + + public + mixed + ARS + = "ARS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AUD + +

                                                                                                                          + + + + + + public + mixed + AUD + = "AUD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AWG + +

                                                                                                                          + + + + + + public + mixed + AWG + = "AWG" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + AZN + +

                                                                                                                          + + + + + + public + mixed + AZN + = "AZN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BAM + +

                                                                                                                          + + + + + + public + mixed + BAM + = "BAM" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BBD + +

                                                                                                                          + + + + + + public + mixed + BBD + = "BBD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BCH + +

                                                                                                                          + + + + + + public + mixed + BCH + = "BCH" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BDT + +

                                                                                                                          + + + + + + public + mixed + BDT + = "BDT" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BGN + +

                                                                                                                          + + + + + + public + mixed + BGN + = "BGN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BHD + +

                                                                                                                          + + + + + + public + mixed + BHD + = "BHD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BIF + +

                                                                                                                          + + + + + + public + mixed + BIF + = "BIF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BMD + +

                                                                                                                          + + + + + + public + mixed + BMD + = "BMD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BND + +

                                                                                                                          + + + + + + public + mixed + BND + = "BND" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BOB + +

                                                                                                                          + + + + + + public + mixed + BOB + = "BOB" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BOV + +

                                                                                                                          + + + + + + public + mixed + BOV + = "BOV" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BRL + +

                                                                                                                          + + + + + + public + mixed + BRL + = "BRL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BSD + +

                                                                                                                          + + + + + + public + mixed + BSD + = "BSD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BTC + +

                                                                                                                          + + + + + + public + mixed + BTC + = "BTC" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BTN + +

                                                                                                                          + + + + + + public + mixed + BTN + = "BTN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BUSD + +

                                                                                                                          + + + + + + public + mixed + BUSD + = "BUSD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BWP + +

                                                                                                                          + + + + + + public + mixed + BWP + = "BWP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BYR + +

                                                                                                                          + + + + + + public + mixed + BYR + = "BYR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + BZD + +

                                                                                                                          + + + + + + public + mixed + BZD + = "BZD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CAD + +

                                                                                                                          + + + + + + public + mixed + CAD + = "CAD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CDF + +

                                                                                                                          + + + + + + public + mixed + CDF + = "CDF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CHE + +

                                                                                                                          + + + + + + public + mixed + CHE + = "CHE" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CHF + +

                                                                                                                          + + + + + + public + mixed + CHF + = "CHF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CHW + +

                                                                                                                          + + + + + + public + mixed + CHW + = "CHW" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CLF + +

                                                                                                                          + + + + + + public + mixed + CLF + = "CLF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CLP + +

                                                                                                                          + + + + + + public + mixed + CLP + = "CLP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CNY + +

                                                                                                                          + + + + + + public + mixed + CNY + = "CNY" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + COP + +

                                                                                                                          + + + + + + public + mixed + COP + = "COP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + COU + +

                                                                                                                          + + + + + + public + mixed + COU + = "COU" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CRC + +

                                                                                                                          + + + + + + public + mixed + CRC + = "CRC" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CUC + +

                                                                                                                          + + + + + + public + mixed + CUC + = "CUC" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CUP + +

                                                                                                                          + + + + + + public + mixed + CUP + = "CUP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CVE + +

                                                                                                                          + + + + + + public + mixed + CVE + = "CVE" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + CZK + +

                                                                                                                          + + + + + + public + mixed + CZK + = "CZK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + DJF + +

                                                                                                                          + + + + + + public + mixed + DJF + = "DJF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + DKK + +

                                                                                                                          + + + + + + public + mixed + DKK + = "DKK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + DOGE + +

                                                                                                                          + + + + + + public + mixed + DOGE + = "DOGE" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + DOP + +

                                                                                                                          + + + + + + public + mixed + DOP + = "DOP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + DZD + +

                                                                                                                          + + + + + + public + mixed + DZD + = "DZD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + EGP + +

                                                                                                                          + + + + + + public + mixed + EGP + = "EGP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ERN + +

                                                                                                                          + + + + + + public + mixed + ERN + = "ERN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ETB + +

                                                                                                                          + + + + + + public + mixed + ETB + = "ETB" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ETH + +

                                                                                                                          + + + + + + public + mixed + ETH + = "ETH" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + EUR + +

                                                                                                                          + + + + + + public + mixed + EUR + = "EUR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + FJD + +

                                                                                                                          + + + + + + public + mixed + FJD + = "FJD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + FKP + +

                                                                                                                          + + + + + + public + mixed + FKP + = "FKP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GBP + +

                                                                                                                          + + + + + + public + mixed + GBP + = "GBP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GEL + +

                                                                                                                          + + + + + + public + mixed + GEL + = "GEL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GHS + +

                                                                                                                          + + + + + + public + mixed + GHS + = "GHS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GIP + +

                                                                                                                          + + + + + + public + mixed + GIP + = "GIP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GMD + +

                                                                                                                          + + + + + + public + mixed + GMD + = "GMD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GNF + +

                                                                                                                          + + + + + + public + mixed + GNF + = "GNF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GTQ + +

                                                                                                                          + + + + + + public + mixed + GTQ + = "GTQ" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GUSD + +

                                                                                                                          + + + + + + public + mixed + GUSD + = "GUSD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + GYD + +

                                                                                                                          + + + + + + public + mixed + GYD + = "GYD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + HKD + +

                                                                                                                          + + + + + + public + mixed + HKD + = "HKD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + HNL + +

                                                                                                                          + + + + + + public + mixed + HNL + = "HNL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + HRK + +

                                                                                                                          + + + + + + public + mixed + HRK + = "HRK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + HTG + +

                                                                                                                          + + + + + + public + mixed + HTG + = "HTG" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + HUF + +

                                                                                                                          + + + + + + public + mixed + HUF + = "HUF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + IDR + +

                                                                                                                          + + + + + + public + mixed + IDR + = "IDR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ILS + +

                                                                                                                          + + + + + + public + mixed + ILS + = "ILS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + INR + +

                                                                                                                          + + + + + + public + mixed + INR + = "INR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + IQD + +

                                                                                                                          + + + + + + public + mixed + IQD + = "IQD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + IRR + +

                                                                                                                          + + + + + + public + mixed + IRR + = "IRR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ISK + +

                                                                                                                          + + + + + + public + mixed + ISK + = "ISK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + JMD + +

                                                                                                                          + + + + + + public + mixed + JMD + = "JMD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + JOD + +

                                                                                                                          + + + + + + public + mixed + JOD + = "JOD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + JPY + +

                                                                                                                          + + + + + + public + mixed + JPY + = "JPY" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KES + +

                                                                                                                          + + + + + + public + mixed + KES + = "KES" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KGS + +

                                                                                                                          + + + + + + public + mixed + KGS + = "KGS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KHR + +

                                                                                                                          + + + + + + public + mixed + KHR + = "KHR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KMF + +

                                                                                                                          + + + + + + public + mixed + KMF + = "KMF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KPW + +

                                                                                                                          + + + + + + public + mixed + KPW + = "KPW" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KRW + +

                                                                                                                          + + + + + + public + mixed + KRW + = "KRW" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KWD + +

                                                                                                                          + + + + + + public + mixed + KWD + = "KWD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KYD + +

                                                                                                                          + + + + + + public + mixed + KYD + = "KYD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + KZT + +

                                                                                                                          + + + + + + public + mixed + KZT + = "KZT" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LAK + +

                                                                                                                          + + + + + + public + mixed + LAK + = "LAK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LBP + +

                                                                                                                          + + + + + + public + mixed + LBP + = "LBP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LKR + +

                                                                                                                          + + + + + + public + mixed + LKR + = "LKR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LRD + +

                                                                                                                          + + + + + + public + mixed + LRD + = "LRD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LSL + +

                                                                                                                          + + + + + + public + mixed + LSL + = "LSL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LTC + +

                                                                                                                          + + + + + + public + mixed + LTC + = "LTC" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + LYD + +

                                                                                                                          + + + + + + public + mixed + LYD + = "LYD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MAD + +

                                                                                                                          + + + + + + public + mixed + MAD + = "MAD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MDL + +

                                                                                                                          + + + + + + public + mixed + MDL + = "MDL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MGA + +

                                                                                                                          + + + + + + public + mixed + MGA + = "MGA" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MKD + +

                                                                                                                          + + + + + + public + mixed + MKD + = "MKD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MMK + +

                                                                                                                          + + + + + + public + mixed + MMK + = "MMK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MNT + +

                                                                                                                          + + + + + + public + mixed + MNT + = "MNT" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MOP + +

                                                                                                                          + + + + + + public + mixed + MOP + = "MOP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MRU + +

                                                                                                                          + + + + + + public + mixed + MRU + = "MRU" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MUR + +

                                                                                                                          + + + + + + public + mixed + MUR + = "MUR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MVR + +

                                                                                                                          + + + + + + public + mixed + MVR + = "MVR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MWK + +

                                                                                                                          + + + + + + public + mixed + MWK + = "MWK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MXN + +

                                                                                                                          + + + + + + public + mixed + MXN + = "MXN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MXV + +

                                                                                                                          + + + + + + public + mixed + MXV + = "MXV" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MYR + +

                                                                                                                          + + + + + + public + mixed + MYR + = "MYR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + MZN + +

                                                                                                                          + + + + + + public + mixed + MZN + = "MZN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + NAD + +

                                                                                                                          + + + + + + public + mixed + NAD + = "NAD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + NGN + +

                                                                                                                          + + + + + + public + mixed + NGN + = "NGN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + NIO + +

                                                                                                                          + + + + + + public + mixed + NIO + = "NIO" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + NOK + +

                                                                                                                          + + + + + + public + mixed + NOK + = "NOK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + NPR + +

                                                                                                                          + + + + + + public + mixed + NPR + = "NPR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + NZD + +

                                                                                                                          + + + + + + public + mixed + NZD + = "NZD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + OMR + +

                                                                                                                          + + + + + + public + mixed + OMR + = "OMR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PAB + +

                                                                                                                          + + + + + + public + mixed + PAB + = "PAB" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PAX + +

                                                                                                                          + + + + + + public + mixed + PAX + = "PAX" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PEN + +

                                                                                                                          + + + + + + public + mixed + PEN + = "PEN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PGK + +

                                                                                                                          + + + + + + public + mixed + PGK + = "PGK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PHP + +

                                                                                                                          + + + + + + public + mixed + PHP + = "PHP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PKR + +

                                                                                                                          + + + + + + public + mixed + PKR + = "PKR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PLN + +

                                                                                                                          + + + + + + public + mixed + PLN + = "PLN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + PYG + +

                                                                                                                          + + + + + + public + mixed + PYG + = "PYG" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + QAR + +

                                                                                                                          + + + + + + public + mixed + QAR + = "QAR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + RON + +

                                                                                                                          + + + + + + public + mixed + RON + = "RON" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + RSD + +

                                                                                                                          + + + + + + public + mixed + RSD + = "RSD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + RUB + +

                                                                                                                          + + + + + + public + mixed + RUB + = "RUB" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + RWF + +

                                                                                                                          + + + + + + public + mixed + RWF + = "RWF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SAR + +

                                                                                                                          + + + + + + public + mixed + SAR + = "SAR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SBD + +

                                                                                                                          + + + + + + public + mixed + SBD + = "SBD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SCR + +

                                                                                                                          + + + + + + public + mixed + SCR + = "SCR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SDG + +

                                                                                                                          + + + + + + public + mixed + SDG + = "SDG" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SEK + +

                                                                                                                          + + + + + + public + mixed + SEK + = "SEK" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SGD + +

                                                                                                                          + + + + + + public + mixed + SGD + = "SGD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SHIB + +

                                                                                                                          + + + + + + public + mixed + SHIB + = "SHIB" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SHP + +

                                                                                                                          + + + + + + public + mixed + SHP + = "SHP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SLL + +

                                                                                                                          + + + + + + public + mixed + SLL + = "SLL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SOS + +

                                                                                                                          + + + + + + public + mixed + SOS + = "SOS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SRD + +

                                                                                                                          + + + + + + public + mixed + SRD + = "SRD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SSP + +

                                                                                                                          + + + + + + public + mixed + SSP + = "SSP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + STN + +

                                                                                                                          + + + + + + public + mixed + STN + = "STN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SVC + +

                                                                                                                          + + + + + + public + mixed + SVC + = "SVC" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SYP + +

                                                                                                                          + + + + + + public + mixed + SYP + = "SYP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + SZL + +

                                                                                                                          + + + + + + public + mixed + SZL + = "SZL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + THB + +

                                                                                                                          + + + + + + public + mixed + THB + = "THB" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TJS + +

                                                                                                                          + + + + + + public + mixed + TJS + = "TJS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TMT + +

                                                                                                                          + + + + + + public + mixed + TMT + = "TMT" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TND + +

                                                                                                                          + + + + + + public + mixed + TND + = "TND" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TOP + +

                                                                                                                          + + + + + + public + mixed + TOP + = "TOP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TRY + +

                                                                                                                          + + + + + + public + mixed + TRY + = "TRY" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TTD + +

                                                                                                                          + + + + + + public + mixed + TTD + = "TTD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TWD + +

                                                                                                                          + + + + + + public + mixed + TWD + = "TWD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + TZS + +

                                                                                                                          + + + + + + public + mixed + TZS + = "TZS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + UAH + +

                                                                                                                          + + + + + + public + mixed + UAH + = "UAH" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + UGX + +

                                                                                                                          + + + + + + public + mixed + UGX + = "UGX" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + USD + +

                                                                                                                          + + + + + + public + mixed + USD + = "USD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + USDC + +

                                                                                                                          + + + + + + public + mixed + USDC + = "USDC" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + USN + +

                                                                                                                          + + + + + + public + mixed + USN + = "USN" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + UYI + +

                                                                                                                          + + + + + + public + mixed + UYI + = "UYI" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + UYU + +

                                                                                                                          + + + + + + public + mixed + UYU + = "UYU" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + UZS + +

                                                                                                                          + + + + + + public + mixed + UZS + = "UZS" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + VEF + +

                                                                                                                          + + + + + + public + mixed + VEF + = "VEF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + VND + +

                                                                                                                          + + + + + + public + mixed + VND + = "VND" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + VUV + +

                                                                                                                          + + + + + + public + mixed + VUV + = "VUV" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + WST + +

                                                                                                                          + + + + + + public + mixed + WST + = "WST" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XAF + +

                                                                                                                          + + + + + + public + mixed + XAF + = "XAF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XCD + +

                                                                                                                          + + + + + + public + mixed + XCD + = "XCD" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XDR + +

                                                                                                                          + + + + + + public + mixed + XDR + = "XDR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XOF + +

                                                                                                                          + + + + + + public + mixed + XOF + = "XOF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XPF + +

                                                                                                                          + + + + + + public + mixed + XPF + = "XPF" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XRP + +

                                                                                                                          + + + + + + public + mixed + XRP + = "XRP" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XSU + +

                                                                                                                          + + + + + + public + mixed + XSU + = "XSU" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + XUA + +

                                                                                                                          + + + + + + public + mixed + XUA + = "XUA" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + YER + +

                                                                                                                          + + + + + + public + mixed + YER + = "YER" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ZAR + +

                                                                                                                          + + + + + + public + mixed + ZAR + = "ZAR" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ZMW + +

                                                                                                                          + + + + + + public + mixed + ZMW + = "ZMW" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + ZWL + +

                                                                                                                          + + + + + + public + mixed + ZWL + = "ZWL" + + + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +

                                                                                                                          + Properties + +

                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $alts + + + +

                                                                                                                          + + + + + protected + string|null + $alts + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $code + + + +

                                                                                                                          + + + + + protected + string|null + $code + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $currentlySettled + + + +

                                                                                                                          + + + + + protected + bool|null + $currentlySettled + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $decimals + + + +

                                                                                                                          + + + + + protected + string|null + $decimals + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $minimum + + + +

                                                                                                                          + + + + + protected + string|null + $minimum + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $name + + + +

                                                                                                                          + + + + + protected + string|null + $name + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $payoutFields + + + +

                                                                                                                          + + + + + protected + array<string|int, mixed> + $payoutFields + = [] + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $plural + + + +

                                                                                                                          + + + + + protected + string|null + $plural + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $precision + + + +

                                                                                                                          + + + + + protected + int|null + $precision + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $sanctioned + + + +

                                                                                                                          + + + + + protected + bool|null + $sanctioned + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $settlementMinimum + + + +

                                                                                                                          + + + + + protected + array<string|int, mixed> + $settlementMinimum + = [] + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + $symbol + + + +

                                                                                                                          + + + + + protected + string|null + $symbol + = null + +
                                                                                                                          + +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +

                                                                                                                          + Methods + +

                                                                                                                          +
                                                                                                                          +

                                                                                                                          + __construct() + +

                                                                                                                          + + + + + public + __construct() : mixed + +
                                                                                                                          + + + + +
                                                                                                                          Return values
                                                                                                                          + mixed + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getAlts() + +

                                                                                                                          + + +

                                                                                                                          Gets alternative currency name(s)

                                                                                                                          + + + public + getAlts() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          the alts

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getCode() + +

                                                                                                                          + + +

                                                                                                                          Get ISO 4217 3-character currency code

                                                                                                                          + + + public + getCode() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          the code

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getCurrentlySettled() + +

                                                                                                                          + + +

                                                                                                                          Gets currently settled value

                                                                                                                          + + + public + getCurrentlySettled() : bool|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + bool|null + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getDecimals() + +

                                                                                                                          + + +

                                                                                                                          Gets decimal precision

                                                                                                                          + + + public + getDecimals() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          decimals

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getMinimum() + +

                                                                                                                          + + +

                                                                                                                          Gets minimum supported value when creating an invoice, bill or payout for instance

                                                                                                                          + + + public + getMinimum() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          the minimum

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getName() + +

                                                                                                                          + + +

                                                                                                                          Gets currency name

                                                                                                                          + + + public + getName() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          the name

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getPayoutFields() + +

                                                                                                                          + + +

                                                                                                                          Gets payout fields

                                                                                                                          + + + public + getPayoutFields() : array<string|int, mixed> + + + + + +
                                                                                                                          Return values
                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                          the payout fields

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getPlural() + +

                                                                                                                          + + +

                                                                                                                          Gets English plural form

                                                                                                                          + + + public + getPlural() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          the plural form

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getPrecision() + +

                                                                                                                          + + +

                                                                                                                          Number of decimal places

                                                                                                                          + + + public + getPrecision() : int|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + int|null + — +

                                                                                                                          the precision

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getSanctioned() + +

                                                                                                                          + + +

                                                                                                                          Gets if the currency is linked to a sanctionned country

                                                                                                                          + + + public + getSanctioned() : bool|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + bool|null + — +

                                                                                                                          the sanctioned

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getSettlementMinimum() + +

                                                                                                                          + + +

                                                                                                                          Gets settlement minimum

                                                                                                                          + + + public + getSettlementMinimum() : array<string|int, mixed> + + + + + +
                                                                                                                          Return values
                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                          the settlement minimum

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + getSymbol() + +

                                                                                                                          + + +

                                                                                                                          Display symbol

                                                                                                                          + + + public + getSymbol() : string|null + + + + + +
                                                                                                                          Return values
                                                                                                                          + string|null + — +

                                                                                                                          the symbol

                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + isValid() + +

                                                                                                                          + + +

                                                                                                                          Currency validation

                                                                                                                          + + + public + static isValid(string $value) : bool + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $value + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the currency value

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + bool + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setAlts() + +

                                                                                                                          + + +

                                                                                                                          Sets alternative currency name(s)

                                                                                                                          + + + public + setAlts(string $alts) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $alts + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the alts

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setCode() + +

                                                                                                                          + + +

                                                                                                                          Sets ISO 4217 3-character currency code

                                                                                                                          + + + public + setCode(string $code) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $code + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the code

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setCurrentlySettled() + +

                                                                                                                          + + +

                                                                                                                          Sets currently settled value

                                                                                                                          + + + public + setCurrentlySettled(bool $currentlySettled) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $currentlySettled + : bool +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setDecimals() + +

                                                                                                                          + + +

                                                                                                                          Sets decimal precision

                                                                                                                          + + + public + setDecimals(string $decimals) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $decimals + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          decimals

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setMinimum() + +

                                                                                                                          + + +

                                                                                                                          Sets minimum supported value when creating an invoice, bill or payout for instance

                                                                                                                          + + + public + setMinimum(string $minimum) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $minimum + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the minimum

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setName() + +

                                                                                                                          + + +

                                                                                                                          Sets currency name

                                                                                                                          + + + public + setName(string $name) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $name + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the name

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setPayoutFields() + +

                                                                                                                          + + +

                                                                                                                          Sets payout fields

                                                                                                                          + + + public + setPayoutFields(array<string|int, mixed> $payoutFields) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $payoutFields + : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the payout fields

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setPlural() + +

                                                                                                                          + + +

                                                                                                                          Sets English plural form

                                                                                                                          + + + public + setPlural(string $plural) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $plural + : string +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the plural form

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setPrecision() + +

                                                                                                                          + + +

                                                                                                                          Sets number of decimal places

                                                                                                                          + + + public + setPrecision(int $precision) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $precision + : int +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the precision

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setSanctioned() + +

                                                                                                                          + + +

                                                                                                                          Sets if the currency is linked to a sanctionned country

                                                                                                                          + + + public + setSanctioned(bool $sanctioned) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $sanctioned + : bool +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the sanctioned

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setSettlementMinimum() + +

                                                                                                                          + + +

                                                                                                                          Sets settlement minimum

                                                                                                                          + + + public + setSettlementMinimum(array<string|int, mixed> $settlementMinimum) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $settlementMinimum + : array<string|int, mixed> +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          the settlement minimum

                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + setSymbol() + +

                                                                                                                          + + +

                                                                                                                          Sets symbol

                                                                                                                          + + + public + setSymbol([string|null $symbol = null ]) : void + + +
                                                                                                                          Parameters
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + $symbol + : string|null + = null
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          Return values
                                                                                                                          + void + — + + +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          + toArray() + +

                                                                                                                          + + +

                                                                                                                          Gets currency data as array

                                                                                                                          + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                          Return values
                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                          currency data as array

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

                                                                                                                          Search results

                                                                                                                          + +
                                                                                                                          +
                                                                                                                          +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + + +
                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Facade.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Facade.html new file mode 100644 index 0000000..9952f03 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Facade.html @@ -0,0 +1,397 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                            +

                                                                                                                            Documentation

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

                                                                                                                            + Facade +
                                                                                                                            + in + +
                                                                                                                            +

                                                                                                                            + + + +

                                                                                                                            Facades named collections of capabilities that can be granted, +such as the ability to create invoices or grant refunds

                                                                                                                            + + + +
                                                                                                                            + Tags + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + see +
                                                                                                                            +
                                                                                                                            + +

                                                                                                                            REST API facades

                                                                                                                            +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                            + + + + + + +

                                                                                                                            + Table of Contents + +

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            + MERCHANT + +  = "merchant" +
                                                                                                                            +
                                                                                                                            The broadest set of capabilities against a merchant organization. Allows for create, search, +and view actions for Invoices and Bills; ledger download, +as well as the creation of new merchant or pos tokens associated with the account.
                                                                                                                            + +
                                                                                                                            + PAYOUT + +  = "payout" +
                                                                                                                            +
                                                                                                                            This is the facade which allows merchant to access the Payouts related resources and corresponding endpoints.
                                                                                                                            + +
                                                                                                                            + POS + +  = "pos" +
                                                                                                                            +
                                                                                                                            Limited to creating new invoice or bills and search specific invoices +or bills based on their id for the merchant's organization
                                                                                                                            + +
                                                                                                                            + + + + +
                                                                                                                            +

                                                                                                                            + Constants + +

                                                                                                                            +
                                                                                                                            +

                                                                                                                            + MERCHANT + +

                                                                                                                            + + + +

                                                                                                                            The broadest set of capabilities against a merchant organization. Allows for create, search, +and view actions for Invoices and Bills; ledger download, +as well as the creation of new merchant or pos tokens associated with the account.

                                                                                                                            + + + public + mixed + MERCHANT + = "merchant" + + + + +
                                                                                                                            + + + +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            + PAYOUT + +

                                                                                                                            + + + +

                                                                                                                            This is the facade which allows merchant to access the Payouts related resources and corresponding endpoints.

                                                                                                                            + + + public + mixed + PAYOUT + = "payout" + + + +

                                                                                                                            Access to this facade is not enabled by default.

                                                                                                                            +
                                                                                                                            + +
                                                                                                                            + + + +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            + POS + +

                                                                                                                            + + + +

                                                                                                                            Limited to creating new invoice or bills and search specific invoices +or bills based on their id for the merchant's organization

                                                                                                                            + + + public + mixed + POS + = "pos" + + + + +
                                                                                                                            + + + +
                                                                                                                            +
                                                                                                                            + + + + + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Search results

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Buyer.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Buyer.html new file mode 100644 index 0000000..a9bdf4b --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Buyer.html @@ -0,0 +1,1735 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                              +

                                                                                                                              Documentation

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

                                                                                                                              + Buyer + + +
                                                                                                                              + in package + +
                                                                                                                              + + +

                                                                                                                              + + + + + + +
                                                                                                                              + Tags + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + see +
                                                                                                                              +
                                                                                                                              + +

                                                                                                                              REST API Invoices

                                                                                                                              +

                                                                                                                              Allows merchant to pass buyer related information in the invoice object

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + + + + +

                                                                                                                              + Table of Contents + +

                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + $address1 + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $address2 + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $country + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $email + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $locality + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $name + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $notify + +  : bool|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $phone + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $postalCode + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + $region + +  : string|null +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + __construct() + +  : mixed +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              + getAddress1() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's address
                                                                                                                              + +
                                                                                                                              + getAddress2() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's appartment or suite number
                                                                                                                              + +
                                                                                                                              + getCountry() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's Country code
                                                                                                                              + +
                                                                                                                              + getEmail() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's email address.
                                                                                                                              + +
                                                                                                                              + getLocality() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's city or locality
                                                                                                                              + +
                                                                                                                              + getName() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's name
                                                                                                                              + +
                                                                                                                              + getNotify() + +  : bool|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's notify
                                                                                                                              + +
                                                                                                                              + getPhone() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's phone number
                                                                                                                              + +
                                                                                                                              + getPostalCode() + +  : string|null +
                                                                                                                              +
                                                                                                                              Gets Buyer's Zip or Postal Code
                                                                                                                              + +
                                                                                                                              + getRegion() + +  : string|null +
                                                                                                                              +
                                                                                                                              Buyer's state or province
                                                                                                                              + +
                                                                                                                              + setAddress1() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's address
                                                                                                                              + +
                                                                                                                              + setAddress2() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's appartment or suite number
                                                                                                                              + +
                                                                                                                              + setCountry() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's Country code
                                                                                                                              + +
                                                                                                                              + setEmail() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's email address
                                                                                                                              + +
                                                                                                                              + setLocality() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's city or locality
                                                                                                                              + +
                                                                                                                              + setName() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's name
                                                                                                                              + +
                                                                                                                              + setNotify() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's notify
                                                                                                                              + +
                                                                                                                              + setPhone() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's phone number
                                                                                                                              + +
                                                                                                                              + setPostalCode() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's Zip or Postal Code
                                                                                                                              + +
                                                                                                                              + setRegion() + +  : void +
                                                                                                                              +
                                                                                                                              Sets Buyer's state or province
                                                                                                                              + +
                                                                                                                              + toArray() + +  : array<string|int, mixed> +
                                                                                                                              +
                                                                                                                              Gets Buyer as array
                                                                                                                              + +
                                                                                                                              + + + + + + +
                                                                                                                              +

                                                                                                                              + Properties + +

                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $address1 + + + +

                                                                                                                              + + + + + protected + string|null + $address1 + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $address2 + + + +

                                                                                                                              + + + + + protected + string|null + $address2 + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $country + + + +

                                                                                                                              + + + + + protected + string|null + $country + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $email + + + +

                                                                                                                              + + + + + protected + string|null + $email + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $locality + + + +

                                                                                                                              + + + + + protected + string|null + $locality + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $name + + + +

                                                                                                                              + + + + + protected + string|null + $name + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $notify + + + +

                                                                                                                              + + + + + protected + bool|null + $notify + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $phone + + + +

                                                                                                                              + + + + + protected + string|null + $phone + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $postalCode + + + +

                                                                                                                              + + + + + protected + string|null + $postalCode + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + $region + + + +

                                                                                                                              + + + + + protected + string|null + $region + = null + +
                                                                                                                              + +
                                                                                                                              + + + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +

                                                                                                                              + Methods + +

                                                                                                                              +
                                                                                                                              +

                                                                                                                              + __construct() + +

                                                                                                                              + + + + + public + __construct() : mixed + +
                                                                                                                              + + + + +
                                                                                                                              Return values
                                                                                                                              + mixed + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getAddress1() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's address

                                                                                                                              + + + public + getAddress1() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's address

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getAddress2() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's appartment or suite number

                                                                                                                              + + + public + getAddress2() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's appartment or suite number

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getCountry() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's Country code

                                                                                                                              + + + public + getCountry() : string|null + +

                                                                                                                              Format ISO 3166-1 alpha-2

                                                                                                                              +
                                                                                                                              + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's Country code

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getEmail() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's email address.

                                                                                                                              + + + public + getEmail() : string|null + +

                                                                                                                              If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice.

                                                                                                                              +
                                                                                                                              + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's email address

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getLocality() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's city or locality

                                                                                                                              + + + public + getLocality() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's city or locality

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getName() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's name

                                                                                                                              + + + public + getName() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's name

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getNotify() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's notify

                                                                                                                              + + + public + getNotify() : bool|null + +

                                                                                                                              Indicates whether a BitPay email confirmation should be sent to the buyer once he has paid the invoice

                                                                                                                              +
                                                                                                                              + + + + +
                                                                                                                              Return values
                                                                                                                              + bool|null + — +

                                                                                                                              Buyer's notify

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getPhone() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's phone number

                                                                                                                              + + + public + getPhone() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's phone number

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getPostalCode() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer's Zip or Postal Code

                                                                                                                              + + + public + getPostalCode() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's Zip or Postal Code

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + getRegion() + +

                                                                                                                              + + +

                                                                                                                              Buyer's state or province

                                                                                                                              + + + public + getRegion() : string|null + + + + + +
                                                                                                                              Return values
                                                                                                                              + string|null + — +

                                                                                                                              Buyer's state or province

                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setAddress1() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's address

                                                                                                                              + + + public + setAddress1(string $address1) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $address1 + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's address

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setAddress2() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's appartment or suite number

                                                                                                                              + + + public + setAddress2(string $address2) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $address2 + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's appartment or suite number

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setCountry() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's Country code

                                                                                                                              + + + public + setCountry(string $country) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $country + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's Country code

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setEmail() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's email address

                                                                                                                              + + + public + setEmail(string $email) : void + +

                                                                                                                              If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice.

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $email + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's email address

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setLocality() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's city or locality

                                                                                                                              + + + public + setLocality(string $locality) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $locality + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's city or locality

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setName() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's name

                                                                                                                              + + + public + setName(string $name) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $name + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's name

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setNotify() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's notify

                                                                                                                              + + + public + setNotify(bool $notify) : void + +

                                                                                                                              Indicates whether a BitPay email confirmation should be sent to the buyer once he has paid the invoice

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $notify + : bool +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's notify

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setPhone() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's phone number

                                                                                                                              + + + public + setPhone(string $phone) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $phone + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's phone number

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setPostalCode() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's Zip or Postal Code

                                                                                                                              + + + public + setPostalCode(string $postalCode) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $postalCode + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's Zip or Postal Code

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + setRegion() + +

                                                                                                                              + + +

                                                                                                                              Sets Buyer's state or province

                                                                                                                              + + + public + setRegion(string $region) : void + + +
                                                                                                                              Parameters
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + $region + : string +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Buyer's state or province

                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              Return values
                                                                                                                              + void + — + + +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              + toArray() + +

                                                                                                                              + + +

                                                                                                                              Gets Buyer as array

                                                                                                                              + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                              Return values
                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                              Buyer as array

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

                                                                                                                              Search results

                                                                                                                              + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html new file mode 100644 index 0000000..8646276 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html @@ -0,0 +1,1352 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                +

                                                                                                                                Documentation

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

                                                                                                                                + BuyerProvidedInfo + + +
                                                                                                                                + in package + +
                                                                                                                                + + +

                                                                                                                                + + + +

                                                                                                                                Information collected from the buyer during the process of paying an invoice. Initially this object is empty.

                                                                                                                                + + + +
                                                                                                                                + Tags + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + see +
                                                                                                                                +
                                                                                                                                + +

                                                                                                                                REST API Invoices

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + + + + +

                                                                                                                                + Table of Contents + +

                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + $emailAddress + +  : string|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + $name + +  : string|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + $phoneNumber + +  : string|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + $selectedTransactionCurrency + +  : string|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + $selectedWallet + +  : string|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + $sms + +  : string|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + $smsVerified + +  : bool|null +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                + getEmailAddress() + +  : string|null +
                                                                                                                                +
                                                                                                                                Gets email address
                                                                                                                                + +
                                                                                                                                + getName() + +  : string|null +
                                                                                                                                +
                                                                                                                                Gets name
                                                                                                                                + +
                                                                                                                                + getPhoneNumber() + +  : string|null +
                                                                                                                                +
                                                                                                                                Gets phone number
                                                                                                                                + +
                                                                                                                                + getSelectedTransactionCurrency() + +  : string|null +
                                                                                                                                +
                                                                                                                                Gets selected transaction currency
                                                                                                                                + +
                                                                                                                                + getSelectedWallet() + +  : string|null +
                                                                                                                                +
                                                                                                                                Gets selected wallet
                                                                                                                                + +
                                                                                                                                + getSms() + +  : string|null +
                                                                                                                                +
                                                                                                                                Gets sms
                                                                                                                                + +
                                                                                                                                + getSmsVerified() + +  : bool|null +
                                                                                                                                +
                                                                                                                                Gets verification status of SMS (ie. have they passed the challenge).
                                                                                                                                + +
                                                                                                                                + setEmailAddress() + +  : void +
                                                                                                                                +
                                                                                                                                Sets email address
                                                                                                                                + +
                                                                                                                                + setName() + +  : void +
                                                                                                                                +
                                                                                                                                Sets name
                                                                                                                                + +
                                                                                                                                + setPhoneNumber() + +  : void +
                                                                                                                                +
                                                                                                                                Sets phone number
                                                                                                                                + +
                                                                                                                                + setSelectedTransactionCurrency() + +  : void +
                                                                                                                                +
                                                                                                                                Sets selected transaction currency
                                                                                                                                + +
                                                                                                                                + setSelectedWallet() + +  : void +
                                                                                                                                +
                                                                                                                                Sets selected wallet
                                                                                                                                + +
                                                                                                                                + setSms() + +  : void +
                                                                                                                                +
                                                                                                                                Sets sms
                                                                                                                                + +
                                                                                                                                + setSmsVerified() + +  : void +
                                                                                                                                +
                                                                                                                                Sets verification status of SMS (ie. have they passed the challenge).
                                                                                                                                + +
                                                                                                                                + toArray() + +  : array<string|int, mixed> +
                                                                                                                                +
                                                                                                                                Gets BuyerProvidedInfo as array
                                                                                                                                + +
                                                                                                                                + + + + + + +
                                                                                                                                +

                                                                                                                                + Properties + +

                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $emailAddress + + + +

                                                                                                                                + + + + + protected + string|null + $emailAddress + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $name + + + +

                                                                                                                                + + + + + protected + string|null + $name + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $phoneNumber + + + +

                                                                                                                                + + + + + protected + string|null + $phoneNumber + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $selectedTransactionCurrency + + + +

                                                                                                                                + + + + + protected + string|null + $selectedTransactionCurrency + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $selectedWallet + + + +

                                                                                                                                + + + + + protected + string|null + $selectedWallet + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $sms + + + +

                                                                                                                                + + + + + protected + string|null + $sms + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + $smsVerified + + + +

                                                                                                                                + + + + + protected + bool|null + $smsVerified + = null + +
                                                                                                                                + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +

                                                                                                                                + Methods + +

                                                                                                                                +
                                                                                                                                +

                                                                                                                                + __construct() + +

                                                                                                                                + + + + + public + __construct() : mixed + +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + mixed + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getEmailAddress() + +

                                                                                                                                + + +

                                                                                                                                Gets email address

                                                                                                                                + + + public + getEmailAddress() : string|null + +

                                                                                                                                Populated with the buyer's email address if passed in the buyer object, +otherwise this field is not returned in the response.

                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + string|null + — +

                                                                                                                                the email address

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getName() + +

                                                                                                                                + + +

                                                                                                                                Gets name

                                                                                                                                + + + public + getName() : string|null + +

                                                                                                                                Populated with the buyer's name address if passed in the buyer object by the merchant

                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + string|null + — +

                                                                                                                                the name

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getPhoneNumber() + +

                                                                                                                                + + +

                                                                                                                                Gets phone number

                                                                                                                                + + + public + getPhoneNumber() : string|null + +

                                                                                                                                Populated with the buyer's phone number if passed in the buyer object by the merchant

                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + string|null + — +

                                                                                                                                the phone number

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getSelectedTransactionCurrency() + +

                                                                                                                                + + +

                                                                                                                                Gets selected transaction currency

                                                                                                                                + + + public + getSelectedTransactionCurrency() : string|null + +

                                                                                                                                This field will be populated with the cryptocurrency selected to pay the BitPay invoice, +current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". +If not yet selected, this field will not be returned.

                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + string|null + — +

                                                                                                                                the selected transaction currency

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getSelectedWallet() + +

                                                                                                                                + + +

                                                                                                                                Gets selected wallet

                                                                                                                                + + + public + getSelectedWallet() : string|null + +

                                                                                                                                This field contains the name of the cryptocurrency wallet selected by the shopper to complete the payment.

                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + string|null + — +

                                                                                                                                the selected wallet

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getSms() + +

                                                                                                                                + + +

                                                                                                                                Gets sms

                                                                                                                                + + + public + getSms() : string|null + +

                                                                                                                                SMS provided by user for communications. This is only used for instances where a buyers email +(primary form of buyer communication) is can not be gathered.

                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                Return values
                                                                                                                                + string|null + — +

                                                                                                                                the sms

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + getSmsVerified() + +

                                                                                                                                + + +

                                                                                                                                Gets verification status of SMS (ie. have they passed the challenge).

                                                                                                                                + + + public + getSmsVerified() : bool|null + + + + + +
                                                                                                                                Return values
                                                                                                                                + bool|null + — +

                                                                                                                                the sms verified

                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setEmailAddress() + +

                                                                                                                                + + +

                                                                                                                                Sets email address

                                                                                                                                + + + public + setEmailAddress(string $emailAddress) : void + +

                                                                                                                                Populated with the buyer's email address if passed in the buyer object, +otherwise this field is not returned in the response.

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $emailAddress + : string +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the email address

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setName() + +

                                                                                                                                + + +

                                                                                                                                Sets name

                                                                                                                                + + + public + setName(string $name) : void + +

                                                                                                                                Populated with the buyer's name address if passed in the buyer object by the merchant

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $name + : string +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the name

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setPhoneNumber() + +

                                                                                                                                + + +

                                                                                                                                Sets phone number

                                                                                                                                + + + public + setPhoneNumber(string $phoneNumber) : void + +

                                                                                                                                Populated with the buyer's phone number if passed in the buyer object by the merchant

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $phoneNumber + : string +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the phone number

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setSelectedTransactionCurrency() + +

                                                                                                                                + + +

                                                                                                                                Sets selected transaction currency

                                                                                                                                + + + public + setSelectedTransactionCurrency(string $selectedTransactionCurrency) : void + +

                                                                                                                                This field will be populated with the cryptocurrency selected to pay the BitPay invoice, +current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". +If not yet selected, this field will not be returned.

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $selectedTransactionCurrency + : string +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the selected transaction currency

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setSelectedWallet() + +

                                                                                                                                + + +

                                                                                                                                Sets selected wallet

                                                                                                                                + + + public + setSelectedWallet(string|null $selectedWallet) : void + +

                                                                                                                                This field contains the name of the cryptocurrency wallet selected by the shopper to complete the payment.

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $selectedWallet + : string|null +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the selected wallet

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setSms() + +

                                                                                                                                + + +

                                                                                                                                Sets sms

                                                                                                                                + + + public + setSms(string $sms) : void + +

                                                                                                                                SMS provided by user for communications. This is only used for instances where a buyers email +(primary form of buyer communication) is can not be gathered.

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $sms + : string +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the sms

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + setSmsVerified() + +

                                                                                                                                + + +

                                                                                                                                Sets verification status of SMS (ie. have they passed the challenge).

                                                                                                                                + + + public + setSmsVerified(bool $smsVerified) : void + + +
                                                                                                                                Parameters
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + $smsVerified + : bool +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                the sms verified

                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                Return values
                                                                                                                                + void + — + + +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                + toArray() + +

                                                                                                                                + + +

                                                                                                                                Gets BuyerProvidedInfo as array

                                                                                                                                + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                Return values
                                                                                                                                + array<string|int, mixed> + — +

                                                                                                                                BuyerProvidedInfo as array

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

                                                                                                                                Search results

                                                                                                                                + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Invoice.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Invoice.html new file mode 100644 index 0000000..06b80b8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Invoice.html @@ -0,0 +1,9195 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                  +

                                                                                                                                  Documentation

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

                                                                                                                                  + Invoice + + +
                                                                                                                                  + in package + +
                                                                                                                                  + + +

                                                                                                                                  + + + + + + +
                                                                                                                                  + Tags + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + see +
                                                                                                                                  +
                                                                                                                                  + +

                                                                                                                                  REST API Invoices

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + + + + +

                                                                                                                                  + Table of Contents + +

                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + $acceptanceWindow + +  : float|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $amountPaid + +  : int|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $autoRedirect + +  : bool +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $billId + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $bitpayIdRequired + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $buyer + +  : Buyer|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $buyerEmail + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $buyerProvidedEmail + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $buyerProvidedInfo + +  : BuyerProvidedInfo|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $buyerSms + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $closeURL + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $currency + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $currentTime + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $displayAmountPaid + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $exceptionStatus + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $exchangeRates + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $expirationTime + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $extendedNotifications + +  : bool +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $forcedBuyerSelectedTransactionCurrency + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $forcedBuyerSelectedWallet + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $fullNotifications + +  : bool +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $guid + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $id + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $invoiceTime + +  : int|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $isCancelled + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $itemCode + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $itemDesc + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $itemizedDetails + +  : array<string|int, mixed> +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $jsonPayProRequired + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $lowFeeDetected + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $merchantName + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $minerFees + +  : MinerFees|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $nonPayProPaymentReceived + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $notificationEmail + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $notificationURL + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $orderId + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $overpaidAmount + +  : int|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $paymentCodes + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $paymentCurrencies + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $paymentDisplaySubTotals + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $paymentDisplayTotals + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $paymentSubtotals + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $paymentTotals + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $physical + +  : bool +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $posData + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $price + +  : float|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $redirectURL + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $refundAddresses + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $refundAddressRequestPending + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $refundInfo + +  : RefundInfo|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $selectedTransactionCurrency + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $shopper + +  : Shopper|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $status + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $supportedTransactionCurrencies + +  : SupportedTransactionCurrencies|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $targetConfirmations + +  : int|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $token + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $transactionCurrency + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $transactions + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $transactionSpeed + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $underpaidAmount + +  : int|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $universalCodes + +  : UniversalCodes|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + $url + +  : string|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Constructor, create a minimal request Invoice object.
                                                                                                                                  + +
                                                                                                                                  + getAcceptanceWindow() + +  : float|null +
                                                                                                                                  +
                                                                                                                                  Gets acceptanceWindow
                                                                                                                                  + +
                                                                                                                                  + getAmountPaid() + +  : int|null +
                                                                                                                                  +
                                                                                                                                  Gets amountPaid
                                                                                                                                  + +
                                                                                                                                  + getAutoRedirect() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets autoRedirect
                                                                                                                                  + +
                                                                                                                                  + getBillId() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets billId
                                                                                                                                  + +
                                                                                                                                  + getBitpayIdRequired() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets bitpayIdRequired
                                                                                                                                  + +
                                                                                                                                  + getBuyer() + +  : Buyer|null +
                                                                                                                                  +
                                                                                                                                  Gets buyer
                                                                                                                                  + +
                                                                                                                                  + getBuyerEmail() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets buyerEmail
                                                                                                                                  + +
                                                                                                                                  + getBuyerProvidedEmail() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets buyerProvidedEmail
                                                                                                                                  + +
                                                                                                                                  + getBuyerProvidedInfo() + +  : BuyerProvidedInfo|null +
                                                                                                                                  +
                                                                                                                                  Gets buyerProvidedEmail
                                                                                                                                  + +
                                                                                                                                  + getBuyerSms() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets buyerSms
                                                                                                                                  + +
                                                                                                                                  + getCloseURL() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets closeURL
                                                                                                                                  + +
                                                                                                                                  + getCurrency() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets currency
                                                                                                                                  + +
                                                                                                                                  + getCurrentTime() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets currentTime - UNIX time of API call, in milliseconds
                                                                                                                                  + +
                                                                                                                                  + getDisplayAmountPaid() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets displayAmountPaid
                                                                                                                                  + +
                                                                                                                                  + getExceptionStatus() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets exceptionStatus
                                                                                                                                  + +
                                                                                                                                  + getExchangeRates() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets exchangeRates
                                                                                                                                  + +
                                                                                                                                  + getExpirationTime() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets expirationTime - UNIX time when invoice is last available to be paid, in milliseconds
                                                                                                                                  + +
                                                                                                                                  + getExtendedNotifications() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets extendedNotifications
                                                                                                                                  + +
                                                                                                                                  + getForcedBuyerSelectedTransactionCurrency() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets forcedBuyerSelectedWallet
                                                                                                                                  + +
                                                                                                                                  + getForcedBuyerSelectedWallet() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets forcedBuyerSelectedWallet
                                                                                                                                  + +
                                                                                                                                  + getFullNotifications() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets fullNotifications
                                                                                                                                  + +
                                                                                                                                  + getGuid() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets guid
                                                                                                                                  + +
                                                                                                                                  + getId() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets invoice resource id
                                                                                                                                  + +
                                                                                                                                  + getInvoiceTime() + +  : int|null +
                                                                                                                                  +
                                                                                                                                  Gets invoiceTime - UNIX time of invoice creation, in milliseconds
                                                                                                                                  + +
                                                                                                                                  + getIsCancelled() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets isCancelled
                                                                                                                                  + +
                                                                                                                                  + getItemCode() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets itemCode
                                                                                                                                  + +
                                                                                                                                  + getItemDesc() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets itemDesc
                                                                                                                                  + +
                                                                                                                                  + getItemizedDetails() + +  : array<string|int, ItemizedDetails> +
                                                                                                                                  +
                                                                                                                                  Gets itemizedDetails
                                                                                                                                  + +
                                                                                                                                  + getJsonPayProRequired() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets jsonPayProRequired
                                                                                                                                  + +
                                                                                                                                  + getLowFeeDetected() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets lowFeeDetected
                                                                                                                                  + +
                                                                                                                                  + getMerchantName() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets merchantName
                                                                                                                                  + +
                                                                                                                                  + getMinerFees() + +  : MinerFees|null +
                                                                                                                                  +
                                                                                                                                  Gets minerFees
                                                                                                                                  + +
                                                                                                                                  + getNonPayProPaymentReceived() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets nonPayProPaymentReceived
                                                                                                                                  + +
                                                                                                                                  + getNotificationEmail() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets NotificationEmail
                                                                                                                                  + +
                                                                                                                                  + getNotificationURL() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets notificationURL
                                                                                                                                  + +
                                                                                                                                  + getOrderId() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets orderId
                                                                                                                                  + +
                                                                                                                                  + getOverpaidAmount() + +  : int|null +
                                                                                                                                  +
                                                                                                                                  Gets overpaidAmount
                                                                                                                                  + +
                                                                                                                                  + getPaymentCodes() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets paymentCodes
                                                                                                                                  + +
                                                                                                                                  + getPaymentCurrencies() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets paymentCurrencies
                                                                                                                                  + +
                                                                                                                                  + getPaymentDisplaySubTotals() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets paymentDisplaySubtotals
                                                                                                                                  + +
                                                                                                                                  + getPaymentDisplayTotals() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets paymentDisplayTotals
                                                                                                                                  + +
                                                                                                                                  + getPaymentSubtotals() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets paymentSubtotals
                                                                                                                                  + +
                                                                                                                                  + getPaymentTotals() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets paymentTotals
                                                                                                                                  + +
                                                                                                                                  + getPhysical() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets physical.
                                                                                                                                  + +
                                                                                                                                  + getPosData() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets posData
                                                                                                                                  + +
                                                                                                                                  + getPrice() + +  : float|null +
                                                                                                                                  +
                                                                                                                                  Gets price
                                                                                                                                  + +
                                                                                                                                  + getRedirectURL() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets RedirectURL
                                                                                                                                  + +
                                                                                                                                  + getRefundAddresses() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets refundAddresses
                                                                                                                                  + +
                                                                                                                                  + getRefundAddressRequestPending() + +  : bool|null +
                                                                                                                                  +
                                                                                                                                  Gets refundAddressRequestPending
                                                                                                                                  + +
                                                                                                                                  + getRefundInfo() + +  : RefundInfo|null +
                                                                                                                                  +
                                                                                                                                  Gets refundInfo
                                                                                                                                  + +
                                                                                                                                  + getSelectedTransactionCurrency() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets selectedTransactionCurrency
                                                                                                                                  + +
                                                                                                                                  + getShopper() + +  : Shopper|null +
                                                                                                                                  +
                                                                                                                                  Gets shopper
                                                                                                                                  + +
                                                                                                                                  + getStatus() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets status
                                                                                                                                  + +
                                                                                                                                  + getSupportedTransactionCurrencies() + +  : SupportedTransactionCurrencies|null +
                                                                                                                                  +
                                                                                                                                  Gets supportedTransactionCurrencies
                                                                                                                                  + +
                                                                                                                                  + getTargetConfirmations() + +  : int|null +
                                                                                                                                  +
                                                                                                                                  Gets targetConfirmations
                                                                                                                                  + +
                                                                                                                                  + getToken() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets token
                                                                                                                                  + +
                                                                                                                                  + getTransactionCurrency() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets transactionCurrency
                                                                                                                                  + +
                                                                                                                                  + getTransactions() + +  : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  Gets transactions
                                                                                                                                  + +
                                                                                                                                  + getTransactionSpeed() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets transactionSpeed.
                                                                                                                                  + +
                                                                                                                                  + getUnderpaidAmount() + +  : int|null +
                                                                                                                                  +
                                                                                                                                  Gets underpaidAmount
                                                                                                                                  + +
                                                                                                                                  + getUniversalCodes() + +  : UniversalCodes|null +
                                                                                                                                  +
                                                                                                                                  Gets universalCodes
                                                                                                                                  + +
                                                                                                                                  + getUrl() + +  : string|null +
                                                                                                                                  +
                                                                                                                                  Gets url
                                                                                                                                  + +
                                                                                                                                  + setAcceptanceWindow() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets acceptanceWindow
                                                                                                                                  + +
                                                                                                                                  + setAmountPaid() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets amountPaid
                                                                                                                                  + +
                                                                                                                                  + setAutoRedirect() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets autoRedirect
                                                                                                                                  + +
                                                                                                                                  + setBillId() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets billId
                                                                                                                                  + +
                                                                                                                                  + setBitpayIdRequired() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets bitpayIdRequired
                                                                                                                                  + +
                                                                                                                                  + setBuyer() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets buyer
                                                                                                                                  + +
                                                                                                                                  + setBuyerEmail() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets buyerEmail
                                                                                                                                  + +
                                                                                                                                  + setBuyerProvidedEmail() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets buyerProvidedEmail
                                                                                                                                  + +
                                                                                                                                  + setBuyerProvidedInfo() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets buyerProvidedEmail
                                                                                                                                  + +
                                                                                                                                  + setBuyerSms() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets buyerSms
                                                                                                                                  + +
                                                                                                                                  + setCloseURL() + +  : void +
                                                                                                                                  +
                                                                                                                                  Gets closeURL
                                                                                                                                  + +
                                                                                                                                  + setCurrency() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets currency
                                                                                                                                  + +
                                                                                                                                  + setCurrentTime() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets currentTime - UNIX time of API call, in milliseconds
                                                                                                                                  + +
                                                                                                                                  + setDisplayAmountPaid() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets displayAmountPaid
                                                                                                                                  + +
                                                                                                                                  + setExceptionStatus() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets exceptionStatus
                                                                                                                                  + +
                                                                                                                                  + setExchangeRates() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets exchangeRates
                                                                                                                                  + +
                                                                                                                                  + setExpirationTime() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets expirationTime - UNIX time when invoice is last available to be paid, in milliseconds
                                                                                                                                  + +
                                                                                                                                  + setExtendedNotifications() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets extendedNotifications
                                                                                                                                  + +
                                                                                                                                  + setForcedBuyerSelectedTransactionCurrency() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets forcedBuyerSelectedWallet
                                                                                                                                  + +
                                                                                                                                  + setForcedBuyerSelectedWallet() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets forcedBuyerSelectedWallet
                                                                                                                                  + +
                                                                                                                                  + setFullNotifications() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets fullNotifications
                                                                                                                                  + +
                                                                                                                                  + setGuid() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets guid
                                                                                                                                  + +
                                                                                                                                  + setId() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets invoice resource id
                                                                                                                                  + +
                                                                                                                                  + setInvoiceTime() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets invoiceTime - UNIX time of invoice creation, in milliseconds
                                                                                                                                  + +
                                                                                                                                  + setIsCancelled() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets isCancelled
                                                                                                                                  + +
                                                                                                                                  + setItemCode() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets itemCode
                                                                                                                                  + +
                                                                                                                                  + setItemDesc() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets itemDesc
                                                                                                                                  + +
                                                                                                                                  + setItemizedDetails() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets itemizedDetails
                                                                                                                                  + +
                                                                                                                                  + setJsonPayProRequired() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets jsonPayProRequired
                                                                                                                                  + +
                                                                                                                                  + setLowFeeDetected() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets lowFeeDetected
                                                                                                                                  + +
                                                                                                                                  + setMerchantName() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets merchantName
                                                                                                                                  + +
                                                                                                                                  + setMinerFees() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets minerFees
                                                                                                                                  + +
                                                                                                                                  + setNonPayProPaymentReceived() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets nonPayProPaymentReceived
                                                                                                                                  + +
                                                                                                                                  + setNotificationEmail() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets NotificationEmail
                                                                                                                                  + +
                                                                                                                                  + setNotificationURL() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets notificationURL
                                                                                                                                  + +
                                                                                                                                  + setOrderId() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets orderId
                                                                                                                                  + +
                                                                                                                                  + setOverpaidAmount() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets overpaidAmount
                                                                                                                                  + +
                                                                                                                                  + setPaymentCodes() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets paymentCodes
                                                                                                                                  + +
                                                                                                                                  + setPaymentCurrencies() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets paymentCurrencies
                                                                                                                                  + +
                                                                                                                                  + setPaymentDisplaySubTotals() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets paymentDisplaySubtotals
                                                                                                                                  + +
                                                                                                                                  + setPaymentDisplayTotals() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets paymentDisplayTotals
                                                                                                                                  + +
                                                                                                                                  + setPaymentSubtotals() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets paymentSubtotals
                                                                                                                                  + +
                                                                                                                                  + setPaymentTotals() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets paymentTotals
                                                                                                                                  + +
                                                                                                                                  + setPhysical() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets physical.
                                                                                                                                  + +
                                                                                                                                  + setPosData() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets posData
                                                                                                                                  + +
                                                                                                                                  + setPrice() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets price
                                                                                                                                  + +
                                                                                                                                  + setRedirectURL() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets RedirectURL
                                                                                                                                  + +
                                                                                                                                  + setRefundAddresses() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets refundAddresses
                                                                                                                                  + +
                                                                                                                                  + setRefundAddressRequestPending() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets refundAddressRequestPending
                                                                                                                                  + +
                                                                                                                                  + setRefundInfo() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets refundInfo
                                                                                                                                  + +
                                                                                                                                  + setSelectedTransactionCurrency() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets selectedTransactionCurrency
                                                                                                                                  + +
                                                                                                                                  + setShopper() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets shopper
                                                                                                                                  + +
                                                                                                                                  + setStatus() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets status
                                                                                                                                  + +
                                                                                                                                  + setSupportedTransactionCurrencies() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets supportedTransactionCurrencies
                                                                                                                                  + +
                                                                                                                                  + setTargetConfirmations() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets targetConfirmations
                                                                                                                                  + +
                                                                                                                                  + setToken() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets token
                                                                                                                                  + +
                                                                                                                                  + setTransactionCurrency() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets transactionCurrency
                                                                                                                                  + +
                                                                                                                                  + setTransactions() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets transactions
                                                                                                                                  + +
                                                                                                                                  + setTransactionSpeed() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets transactionSpeed.
                                                                                                                                  + +
                                                                                                                                  + setUnderpaidAmount() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets underpaidAmount
                                                                                                                                  + +
                                                                                                                                  + setUniversalCodes() + +  : mixed +
                                                                                                                                  +
                                                                                                                                  Sets universalCodes
                                                                                                                                  + +
                                                                                                                                  + setUrl() + +  : void +
                                                                                                                                  +
                                                                                                                                  Sets url
                                                                                                                                  + +
                                                                                                                                  + toArray() + +  : array<string|int, mixed> +
                                                                                                                                  +
                                                                                                                                  Returns the Invoice object as array
                                                                                                                                  + +
                                                                                                                                  + + + + + + +
                                                                                                                                  +

                                                                                                                                  + Properties + +

                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $acceptanceWindow + + + +

                                                                                                                                  + + + + + protected + float|null + $acceptanceWindow + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $amountPaid + + + +

                                                                                                                                  + + + + + protected + int|null + $amountPaid + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $autoRedirect + + + +

                                                                                                                                  + + + + + protected + bool + $autoRedirect + = false + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $billId + + + +

                                                                                                                                  + + + + + protected + string|null + $billId + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $bitpayIdRequired + + + +

                                                                                                                                  + + + + + protected + bool|null + $bitpayIdRequired + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $buyer + + + +

                                                                                                                                  + + + + + protected + Buyer|null + $buyer + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $buyerEmail + + + +

                                                                                                                                  + + + + + protected + string|null + $buyerEmail + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $buyerProvidedEmail + + + +

                                                                                                                                  + + + + + protected + string|null + $buyerProvidedEmail + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $buyerProvidedInfo + + + +

                                                                                                                                  + + + + + protected + BuyerProvidedInfo|null + $buyerProvidedInfo + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $buyerSms + + + +

                                                                                                                                  + + + + + protected + string|null + $buyerSms + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $closeURL + + + +

                                                                                                                                  + + + + + protected + string|null + $closeURL + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $currency + + + +

                                                                                                                                  + + + + + protected + string|null + $currency + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $currentTime + + + +

                                                                                                                                  + + + + + protected + string|null + $currentTime + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $displayAmountPaid + + + +

                                                                                                                                  + + + + + protected + string|null + $displayAmountPaid + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $exceptionStatus + + + +

                                                                                                                                  + + + + + protected + bool|null + $exceptionStatus + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $exchangeRates + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $exchangeRates + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $expirationTime + + + +

                                                                                                                                  + + + + + protected + string|null + $expirationTime + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $extendedNotifications + + + +

                                                                                                                                  + + + + + protected + bool + $extendedNotifications + = false + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $forcedBuyerSelectedTransactionCurrency + + + +

                                                                                                                                  + + + + + protected + string|null + $forcedBuyerSelectedTransactionCurrency + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $forcedBuyerSelectedWallet + + + +

                                                                                                                                  + + + + + protected + string|null + $forcedBuyerSelectedWallet + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $fullNotifications + + + +

                                                                                                                                  + + + + + protected + bool + $fullNotifications + = false + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $guid + + + +

                                                                                                                                  + + + + + protected + string|null + $guid + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $id + + + +

                                                                                                                                  + + + + + protected + string|null + $id + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $invoiceTime + + + +

                                                                                                                                  + + + + + protected + int|null + $invoiceTime + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $isCancelled + + + +

                                                                                                                                  + + + + + protected + bool|null + $isCancelled + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $itemCode + + + +

                                                                                                                                  + + + + + protected + string|null + $itemCode + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $itemDesc + + + +

                                                                                                                                  + + + + + protected + string|null + $itemDesc + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $itemizedDetails + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed> + $itemizedDetails + = [] + + + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $jsonPayProRequired + + + +

                                                                                                                                  + + + + + protected + bool|null + $jsonPayProRequired + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $lowFeeDetected + + + +

                                                                                                                                  + + + + + protected + bool|null + $lowFeeDetected + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $merchantName + + + +

                                                                                                                                  + + + + + protected + string|null + $merchantName + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $minerFees + + + +

                                                                                                                                  + + + + + protected + MinerFees|null + $minerFees + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $nonPayProPaymentReceived + + + +

                                                                                                                                  + + + + + protected + bool|null + $nonPayProPaymentReceived + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $notificationEmail + + + +

                                                                                                                                  + + + + + protected + string|null + $notificationEmail + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $notificationURL + + + +

                                                                                                                                  + + + + + protected + string|null + $notificationURL + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $orderId + + + +

                                                                                                                                  + + + + + protected + string|null + $orderId + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $overpaidAmount + + + +

                                                                                                                                  + + + + + protected + int|null + $overpaidAmount + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $paymentCodes + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $paymentCodes + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $paymentCurrencies + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $paymentCurrencies + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $paymentDisplaySubTotals + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $paymentDisplaySubTotals + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $paymentDisplayTotals + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $paymentDisplayTotals + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $paymentSubtotals + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $paymentSubtotals + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $paymentTotals + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $paymentTotals + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $physical + + + +

                                                                                                                                  + + + + + protected + bool + $physical + = false + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $posData + + + +

                                                                                                                                  + + + + + protected + string|null + $posData + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $price + + + +

                                                                                                                                  + + + + + protected + float|null + $price + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $redirectURL + + + +

                                                                                                                                  + + + + + protected + string|null + $redirectURL + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $refundAddresses + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $refundAddresses + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $refundAddressRequestPending + + + +

                                                                                                                                  + + + + + protected + bool|null + $refundAddressRequestPending + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $refundInfo + + + +

                                                                                                                                  + + + + + protected + RefundInfo|null + $refundInfo + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $selectedTransactionCurrency + + + +

                                                                                                                                  + + + + + protected + string|null + $selectedTransactionCurrency + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $shopper + + + +

                                                                                                                                  + + + + + protected + Shopper|null + $shopper + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $status + + + +

                                                                                                                                  + + + + + protected + string|null + $status + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  + +
                                                                                                                                  +

                                                                                                                                  + $targetConfirmations + + + +

                                                                                                                                  + + + + + protected + int|null + $targetConfirmations + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $token + + + +

                                                                                                                                  + + + + + protected + string|null + $token + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $transactionCurrency + + + +

                                                                                                                                  + + + + + protected + string|null + $transactionCurrency + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $transactions + + + +

                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $transactions + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $transactionSpeed + + + +

                                                                                                                                  + + + + + protected + string|null + $transactionSpeed + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $underpaidAmount + + + +

                                                                                                                                  + + + + + protected + int|null + $underpaidAmount + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $universalCodes + + + +

                                                                                                                                  + + + + + protected + UniversalCodes|null + $universalCodes + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + $url + + + +

                                                                                                                                  + + + + + protected + string|null + $url + = null + +
                                                                                                                                  + +
                                                                                                                                  + + + +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +

                                                                                                                                  + Methods + +

                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + __construct() + +

                                                                                                                                  + + +

                                                                                                                                  Constructor, create a minimal request Invoice object.

                                                                                                                                  + + + public + __construct([float|null $price = null ][, string|null $currency = null ]) : mixed + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $price + : float|null + = null
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  float The amount for which the invoice will be created.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + $currency + : string|null + = null
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  string three digit currency type used to compute the invoice bitcoin amount.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getAcceptanceWindow() + +

                                                                                                                                  + + +

                                                                                                                                  Gets acceptanceWindow

                                                                                                                                  + + + public + getAcceptanceWindow() : float|null + +

                                                                                                                                  Number of milliseconds that a user has to pay an invoice before it expires (0-900000). +If not set, invoice will default to the account acceptanceWindow. +If account acceptanceWindow is not set, invoice will default to 15 minutes (900,000 milliseconds).

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + float|null + — +

                                                                                                                                  the acceptance window

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getAmountPaid() + +

                                                                                                                                  + + +

                                                                                                                                  Gets amountPaid

                                                                                                                                  + + + public + getAmountPaid() : int|null + +

                                                                                                                                  The total amount paid to the invoice in terms of the invoice transactionCurrency indicated +in the smallest possible unit for the corresponding transactionCurrency (e.g satoshis for BTC and BCH)

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + int|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getAutoRedirect() + +

                                                                                                                                  + + +

                                                                                                                                  Gets autoRedirect

                                                                                                                                  + + + public + getAutoRedirect() : bool|null + +

                                                                                                                                  Set to false by default, +merchant can setup automatic redirect to their website by setting this parameter to true.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the auto redirect

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBillId() + +

                                                                                                                                  + + +

                                                                                                                                  Gets billId

                                                                                                                                  + + + public + getBillId() : string|null + +

                                                                                                                                  This field will be in the invoice object only if the invoice was generated from a bill, see the +Bills resource for more information

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBitpayIdRequired() + +

                                                                                                                                  + + +

                                                                                                                                  Gets bitpayIdRequired

                                                                                                                                  + + + public + getBitpayIdRequired() : bool|null + +

                                                                                                                                  BitPay ID is a verification process that is required when a user is making payments +or receiving a refund over a given threshold, which may vary by region. +This Boolean forces the invoice to require BitPay ID regardless of the price.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the Bitpay id required

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBuyer() + +

                                                                                                                                  + + +

                                                                                                                                  Gets buyer

                                                                                                                                  + + + public + getBuyer() : Buyer|null + +

                                                                                                                                  Allows merchant to pass buyer related information in the invoice object

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + Buyer|null + — +

                                                                                                                                  the buyer

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBuyerEmail() + +

                                                                                                                                  + + +

                                                                                                                                  Gets buyerEmail

                                                                                                                                  + + + public + getBuyerEmail() : string|null + +

                                                                                                                                  Buyer's email address. +If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the buyer email

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBuyerProvidedEmail() + +

                                                                                                                                  + + +

                                                                                                                                  Gets buyerProvidedEmail

                                                                                                                                  + + + public + getBuyerProvidedEmail() : string|null + +

                                                                                                                                  Populated with the buyer's email address if passed in the buyer object by the merchant, +otherwise this field is not returned for newly created invoices. +If the merchant does not pass the buyer email in the invoice request, +the bitpay invoice UI will prompt the user to enter his +email address and this field will be populated with the email submitted.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the buyer provided email

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBuyerProvidedInfo() + +

                                                                                                                                  + + +

                                                                                                                                  Gets buyerProvidedEmail

                                                                                                                                  + + + public + getBuyerProvidedInfo() : BuyerProvidedInfo|null + +

                                                                                                                                  Information collected from the buyer during the process of paying an invoice. +Initially this object is empty.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + BuyerProvidedInfo|null + — +

                                                                                                                                  Information collected from the buyer

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getBuyerSms() + +

                                                                                                                                  + + +

                                                                                                                                  Gets buyerSms

                                                                                                                                  + + + public + getBuyerSms() : string|null + +

                                                                                                                                  SMS provided by user for communications. +This is only used for instances where a buyers email +(primary form of buyer communication) is can not be gathered.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the buyer sms

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getCloseURL() + +

                                                                                                                                  + + +

                                                                                                                                  Gets closeURL

                                                                                                                                  + + + public + getCloseURL() : string|null + +

                                                                                                                                  URL to redirect if the shopper does not pay the invoice and click on the Close button instead.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the close url

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Gets currency

                                                                                                                                  + + + public + getCurrency() : string|null + +

                                                                                                                                  ISO 4217 3-character currency code. This is the currency associated with the price field, +supported currencies are available via the +Currencies resource

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  The currency

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getCurrentTime() + +

                                                                                                                                  + + +

                                                                                                                                  Gets currentTime - UNIX time of API call, in milliseconds

                                                                                                                                  + + + public + getCurrentTime() : string|null + + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  UNIX time

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getDisplayAmountPaid() + +

                                                                                                                                  + + +

                                                                                                                                  Gets displayAmountPaid

                                                                                                                                  + + + public + getDisplayAmountPaid() : string|null + +

                                                                                                                                  Initially set to "0" when creating the invoice. +It will be updated with the total amount paid to the invoice +indicated in the base unit for the corresponding transactionCurrency

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getExceptionStatus() + +

                                                                                                                                  + + +

                                                                                                                                  Gets exceptionStatus

                                                                                                                                  + + + public + getExceptionStatus() : bool|null + +

                                                                                                                                  Initially a boolean false, this parameter will indicate if the purchaser sent too much ("paidOver") +or not enough funds ("paidPartial") in the transaction to pay the BitPay invoice. Possible values are: +false: default value (boolean) unless an exception is triggered. +"paidPartial": (string) if the consumer did not send enough funds when paying the invoice. +"paidOver": (string) if the consumer sent to much funds when paying the invoice.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the exception status

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getExchangeRates() + +

                                                                                                                                  + + +

                                                                                                                                  Gets exchangeRates

                                                                                                                                  + + + public + getExchangeRates() : array<string|int, mixed>|null + +

                                                                                                                                  Exchange rates keyed by source and target currencies.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getExpirationTime() + +

                                                                                                                                  + + +

                                                                                                                                  Gets expirationTime - UNIX time when invoice is last available to be paid, in milliseconds

                                                                                                                                  + + + public + getExpirationTime() : string|null + + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the UNIX time

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getExtendedNotifications() + +

                                                                                                                                  + + +

                                                                                                                                  Gets extendedNotifications

                                                                                                                                  + + + public + getExtendedNotifications() : bool|null + +

                                                                                                                                  Allows merchants to get access to additional webhooks. +For instance when an invoice expires without receiving a payment or when it is refunded. +If set to true, then fullNotifications is automatically set to true. +When using the extendedNotifications parameter, +the webhook also have a payload slightly different from the standard webhooks.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getForcedBuyerSelectedTransactionCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Gets forcedBuyerSelectedWallet

                                                                                                                                  + + + public + getForcedBuyerSelectedTransactionCurrency() : string|null + +

                                                                                                                                  Merchant pre-selects transaction currency on behalf of buyer.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  Merchant pre-selects transaction currency

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getForcedBuyerSelectedWallet() + +

                                                                                                                                  + + +

                                                                                                                                  Gets forcedBuyerSelectedWallet

                                                                                                                                  + + + public + getForcedBuyerSelectedWallet() : string|null + +

                                                                                                                                  Merchant pre-selects transaction currency on behalf of buyer.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the forced buyer selected wallet

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getFullNotifications() + +

                                                                                                                                  + + +

                                                                                                                                  Gets fullNotifications

                                                                                                                                  + + + public + getFullNotifications() : bool|null + +

                                                                                                                                  This parameter is set to true by default, meaning all standard notifications +are being sent for a payment made to an invoice. +If you decide to set it to false instead, only 1 webhook will be sent for each +invoice paid by the consumer. +This webhook will be for the "confirmed" or "complete" invoice status, +depending on the transactionSpeed selected.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the full notification

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getGuid() + +

                                                                                                                                  + + +

                                                                                                                                  Gets guid

                                                                                                                                  + + + public + getGuid() : string|null + +

                                                                                                                                  A passthru variable provided by the merchant and designed to be used by the merchant +to correlate the invoice with an order ID in their system, +which can be used as a lookup variable in Retrieve Invoice by GUID.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  The guid

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getId() + +

                                                                                                                                  + + +

                                                                                                                                  Gets invoice resource id

                                                                                                                                  + + + public + getId() : string|null + + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  Invoice resource id

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getInvoiceTime() + +

                                                                                                                                  + + +

                                                                                                                                  Gets invoiceTime - UNIX time of invoice creation, in milliseconds

                                                                                                                                  + + + public + getInvoiceTime() : int|null + + + + + +
                                                                                                                                  Return values
                                                                                                                                  + int|null + — +

                                                                                                                                  UNIX time of invoice creation, in milliseconds

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getIsCancelled() + +

                                                                                                                                  + + +

                                                                                                                                  Gets isCancelled

                                                                                                                                  + + + public + getIsCancelled() : bool|null + +

                                                                                                                                  Indicates whether or not the invoice was cancelled.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getItemCode() + +

                                                                                                                                  + + +

                                                                                                                                  Gets itemCode

                                                                                                                                  + + + public + getItemCode() : string|null + +

                                                                                                                                  "bitcoindonation" for donations, otherwise do not include the field in the request.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the item code

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getItemDesc() + +

                                                                                                                                  + + +

                                                                                                                                  Gets itemDesc

                                                                                                                                  + + + public + getItemDesc() : string|null + +

                                                                                                                                  Invoice description - will be added as a line item on the BitPay checkout page, under the merchant name.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the item desc

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getItemizedDetails() + +

                                                                                                                                  + + +

                                                                                                                                  Gets itemizedDetails

                                                                                                                                  + + + public + getItemizedDetails() : array<string|int, ItemizedDetails> + +

                                                                                                                                  Object containing line item details for display.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, ItemizedDetails> + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getJsonPayProRequired() + +

                                                                                                                                  + + +

                                                                                                                                  Gets jsonPayProRequired

                                                                                                                                  + + + public + getJsonPayProRequired() : bool|null + +

                                                                                                                                  Boolean set to false by default. +If set to true, this means that the invoice will only accept payments +from wallets which have implemented the +BitPay JSON Payment Protocol

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the json pay pro required

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getLowFeeDetected() + +

                                                                                                                                  + + +

                                                                                                                                  Gets lowFeeDetected

                                                                                                                                  + + + public + getLowFeeDetected() : bool|null + +

                                                                                                                                  Flag to indicate if the miner fee used by the buyer is too low. +Initially set to false when the invoice is created.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  Flag to indicate if the miner fee used by the buyer is too low

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getMerchantName() + +

                                                                                                                                  + + +

                                                                                                                                  Gets merchantName

                                                                                                                                  + + + public + getMerchantName() : string|null + +

                                                                                                                                  A display string for merchant identification (ex. Wal-Mart Store #1452, Bowling Green, KY).

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the merchant name

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getMinerFees() + +

                                                                                                                                  + + +

                                                                                                                                  Gets minerFees

                                                                                                                                  + + + public + getMinerFees() : MinerFees|null + +

                                                                                                                                  The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice. +The key is the currency and the value is an object containing +the satoshis per byte, the total fee, and the fiat amount. +This is referenced as "Network Cost" on an invoice, see + +this support article + for more information

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + MinerFees|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getNonPayProPaymentReceived() + +

                                                                                                                                  + + +

                                                                                                                                  Gets nonPayProPaymentReceived

                                                                                                                                  + + + public + getNonPayProPaymentReceived() : bool|null + +

                                                                                                                                  This boolean will be available on an invoice object once an invoice is paid +and indicate if the transaction was made with a wallet using the payment protocol (true) or peer to peer (false).

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getNotificationEmail() + +

                                                                                                                                  + + +

                                                                                                                                  Gets NotificationEmail

                                                                                                                                  + + + public + getNotificationEmail() : string|null + +

                                                                                                                                  Merchant email address for notification of payout status change.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the notification email

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getNotificationURL() + +

                                                                                                                                  + + +

                                                                                                                                  Gets notificationURL

                                                                                                                                  + + + public + getNotificationURL() : string|null + + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +
                                                                                                                                    +
                                                                                                                                  • URL to which BitPay sends webhook notifications. HTTPS is mandatory.
                                                                                                                                  • +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getOrderId() + +

                                                                                                                                  + + +

                                                                                                                                  Gets orderId

                                                                                                                                  + + + public + getOrderId() : string|null + +

                                                                                                                                  Can be used by the merchant to assign their own internal Id to an invoice. +If used, there should be a direct match between an orderId and an invoice id.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getOverpaidAmount() + +

                                                                                                                                  + + +

                                                                                                                                  Gets overpaidAmount

                                                                                                                                  + + + public + getOverpaidAmount() : int|null + +

                                                                                                                                  This parameter will be returned on the invoice object +if the invoice was overpaid ("exceptionStatus": "paidOver"). +It equals to the absolute difference between amountPaid +and paymentTotals for the corresponding transactionCurrency used.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + int|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPaymentCodes() + +

                                                                                                                                  + + +

                                                                                                                                  Gets paymentCodes

                                                                                                                                  + + + public + getPaymentCodes() : array<string|int, mixed>|null + +

                                                                                                                                  The URIs for sending a transaction to the invoice. The first key is the transaction currency. +The transaction currency maps to an object containing the payment URIs. +The key of this object is the BIP number and the value is the payment URI. +For "BTC", "BCH" and "DOGE" - BIP72b and BIP73 are supported. +For "ETH", "GUSD", "PAX", "BUSD", "USDC", "DAI" and "WBTC"- EIP681 is supported +For "XRP" - RIP681, BIP72b and BIP73 is supported

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPaymentCurrencies() + +

                                                                                                                                  + + +

                                                                                                                                  Gets paymentCurrencies

                                                                                                                                  + + + public + getPaymentCurrencies() : array<string|int, mixed>|null + +

                                                                                                                                  Allow the merchant to select the cryptocurrencies available as payment option on the BitPay invoice. +Possible values are currently "BTC", "BCH", "ETH", "GUSD", +"PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". +For instance "paymentCurrencies": ["BTC"] will create an invoice with only XRP available as transaction currency, +thus bypassing the currency selection step on the invoice.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  the payment currencies

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPaymentDisplaySubTotals() + +

                                                                                                                                  + + +

                                                                                                                                  Gets paymentDisplaySubtotals

                                                                                                                                  + + + public + getPaymentDisplaySubTotals() : array<string|int, mixed>|null + +

                                                                                                                                  Equivalent to price for each supported transactionCurrency, excluding minerFees. +The key is the currency and the value is an amount indicated in the base unit +for each supported transactionCurrency.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  Equivalent to price for each supported transactionCurrency

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPaymentDisplayTotals() + +

                                                                                                                                  + + +

                                                                                                                                  Gets paymentDisplayTotals

                                                                                                                                  + + + public + getPaymentDisplayTotals() : array<string|int, mixed>|null + +

                                                                                                                                  The total amount that the purchaser should pay as displayed on the invoice UI. +This is like paymentDisplaySubTotals but with the minerFees included. +The key is the currency and the value is an amount +indicated in the base unit for each supported transactionCurrency.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  The total amount that the purchaser should pay

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPaymentSubtotals() + +

                                                                                                                                  + + +

                                                                                                                                  Gets paymentSubtotals

                                                                                                                                  + + + public + getPaymentSubtotals() : array<string|int, mixed>|null + +

                                                                                                                                  For internal use. This field can be ignored in merchant implementations.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  the payment subtotals

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPaymentTotals() + +

                                                                                                                                  + + +

                                                                                                                                  Gets paymentTotals

                                                                                                                                  + + + public + getPaymentTotals() : array<string|int, mixed>|null + +

                                                                                                                                  For internal use - This field can be ignored in merchant implementations.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  the payment totals

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPhysical() + +

                                                                                                                                  + + +

                                                                                                                                  Gets physical.

                                                                                                                                  + + + public + getPhysical() : bool|null + +

                                                                                                                                  Indicates whether items are physical goods. Alternatives include digital goods and services.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the physical

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPosData() + +

                                                                                                                                  + + +

                                                                                                                                  Gets posData

                                                                                                                                  + + + public + getPosData() : string|null + +

                                                                                                                                  A passthru variable provided by the merchant during invoice creation and designed to be +used by the merchant to correlate the invoice with an order or other object in their system. +This passthru variable can be a serialized object.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  The pos data

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getPrice() + +

                                                                                                                                  + + +

                                                                                                                                  Gets price

                                                                                                                                  + + + public + getPrice() : float|null + +

                                                                                                                                  Fixed price amount for the checkout, in the "currency" of the invoice object.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + float|null + — +

                                                                                                                                  The price

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getRedirectURL() + +

                                                                                                                                  + + +

                                                                                                                                  Gets RedirectURL

                                                                                                                                  + + + public + getRedirectURL() : string|null + +

                                                                                                                                  The shopper will be redirected to this URL when clicking on the Return button +after a successful payment or when clicking on the Close button if a separate closeURL is not specified.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the redirect url

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getRefundAddresses() + +

                                                                                                                                  + + +

                                                                                                                                  Gets refundAddresses

                                                                                                                                  + + + public + getRefundAddresses() : array<string|int, mixed>|null + +

                                                                                                                                  Initially empty when the invoice is created. +This field will be populated with the refund address +provided by the customer if you request a refund of the specific invoice.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  Refund address provided by the customer

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getRefundAddressRequestPending() + +

                                                                                                                                  + + +

                                                                                                                                  Gets refundAddressRequestPending

                                                                                                                                  + + + public + getRefundAddressRequestPending() : bool|null + +

                                                                                                                                  Initially set to false when the invoice is created, +this field will be set to true once a refund request has been issued by the merchant. +This flag is here to indicate that the refund request is pending action +from the buyer to provide an address for the refund, +via the secure link which has been automatically emailed to him.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + bool|null + — +

                                                                                                                                  the refund address request pending

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getRefundInfo() + +

                                                                                                                                  + + +

                                                                                                                                  Gets refundInfo

                                                                                                                                  + + + public + getRefundInfo() : RefundInfo|null + +

                                                                                                                                  For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + RefundInfo|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getSelectedTransactionCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Gets selectedTransactionCurrency

                                                                                                                                  + + + public + getSelectedTransactionCurrency() : string|null + +

                                                                                                                                  This field will be populated with the cryptocurrency selected to pay the BitPay invoice, +current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", +"USDC", "XRP", "DOGE", "DAI" and "WBTC". +If not yet selected, this field will not be returned.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the selected transaction currency

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getShopper() + +

                                                                                                                                  + + +

                                                                                                                                  Gets shopper

                                                                                                                                  + + + public + getShopper() : Shopper|null + +

                                                                                                                                  This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID. +See the following blogpost for more information.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + Shopper|null + — +

                                                                                                                                  the shopper

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getStatus() + +

                                                                                                                                  + + +

                                                                                                                                  Gets status

                                                                                                                                  + + + public + getStatus() : string|null + +

                                                                                                                                  Detailed information about invoice status notifications can be found under the + +Instant Payment Notification (IPN) section. +

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  Invoice status

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getSupportedTransactionCurrencies() + +

                                                                                                                                  + + +

                                                                                                                                  Gets supportedTransactionCurrencies

                                                                                                                                  + + + public + getSupportedTransactionCurrencies() : SupportedTransactionCurrencies|null + +

                                                                                                                                  The currencies that may be used to pay this invoice. +The object is keyed by currency code. +The values are objects with an "enabled" boolean and option. +An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice. +If you disable a currency via the invoice parameter "paymentCurrencies", +this parameter will be set to "merchantDisabledByParam"

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + SupportedTransactionCurrencies|null + — +

                                                                                                                                  The currencies that may be used to pay this invoice

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getTargetConfirmations() + +

                                                                                                                                  + + +

                                                                                                                                  Gets targetConfirmations

                                                                                                                                  + + + public + getTargetConfirmations() : int|null + +

                                                                                                                                  Indicates the number of block confirmation of the crypto currency +transaction which are required to credit a paid invoice to the merchant account. +Currently, the value set is set to 6 by default for BTC/BCH/XRP, +40 for DOGE and 50 for ETH/GUSD/PAX/USDC/BUSD/DAI/WBTC

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + int|null + — +

                                                                                                                                  the target confirmations

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getToken() + +

                                                                                                                                  + + +

                                                                                                                                  Gets token

                                                                                                                                  + + + public + getToken() : string|null + +

                                                                                                                                  Invoice resource token. This token is derived from the API token initially used +to create the invoice and is tied to the specific resource id created.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +
                                                                                                                                    +
                                                                                                                                  • Invoice resource token.
                                                                                                                                  • +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getTransactionCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Gets transactionCurrency

                                                                                                                                  + + + public + getTransactionCurrency() : string|null + +

                                                                                                                                  The cryptocurrency used to pay the invoice. +This field will only be available after a transaction is applied to the invoice. +Possible values are currently "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", +"USDC", "XRP", "DOGE", "DAI" and "WBTC".

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getTransactions() + +

                                                                                                                                  + + +

                                                                                                                                  Gets transactions

                                                                                                                                  + + + public + getTransactions() : array<string|int, mixed>|null + +

                                                                                                                                  Contains the cryptocurrency transaction details for the executed payout.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed>|null + — +

                                                                                                                                  the transactions

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getTransactionSpeed() + +

                                                                                                                                  + + +

                                                                                                                                  Gets transactionSpeed.

                                                                                                                                  + + + public + getTransactionSpeed() : string|null + +

                                                                                                                                  This is a risk mitigation parameter for the merchant to configure how they want +to fulfill orders depending on the number of block confirmations for the transaction +made by the consumer on the selected cryptocurrency. +If not set on the invoice, transactionSpeed will default to the account-level Order Settings. +Note : orders are only credited to your BitPay Account Summary for settlement after +the invoice reaches the status "complete" (regardless of this setting).

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  the transaction speed

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getUnderpaidAmount() + +

                                                                                                                                  + + +

                                                                                                                                  Gets underpaidAmount

                                                                                                                                  + + + public + getUnderpaidAmount() : int|null + +

                                                                                                                                  This parameter will be returned on the invoice object +if the invoice was underpaid ("exceptionStatus": "paidPartial"). +It equals to the absolute difference between amountPaid +and paymentTotals for the corresponding transactionCurrency used.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + int|null + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getUniversalCodes() + +

                                                                                                                                  + + +

                                                                                                                                  Gets universalCodes

                                                                                                                                  + + + public + getUniversalCodes() : UniversalCodes|null + +

                                                                                                                                  Object containing wallet-specific URLs for payment protocol.

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + UniversalCodes|null + — +

                                                                                                                                  UniversalCodes

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + getUrl() + +

                                                                                                                                  + + +

                                                                                                                                  Gets url

                                                                                                                                  + + + public + getUrl() : string|null + +

                                                                                                                                  Web address of invoice, expires at expirationTime

                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  Return values
                                                                                                                                  + string|null + — +

                                                                                                                                  Web address of invoice

                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setAcceptanceWindow() + +

                                                                                                                                  + + +

                                                                                                                                  Sets acceptanceWindow

                                                                                                                                  + + + public + setAcceptanceWindow(float $acceptanceWindow) : void + +

                                                                                                                                  Number of milliseconds that a user has to pay an invoice before it expires (0-900000). +If not set, invoice will default to the account acceptanceWindow. +If account acceptanceWindow is not set, invoice will default to 15 minutes (900,000 milliseconds).

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $acceptanceWindow + : float +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Number of milliseconds that a user has to pay an invoice before it expire

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setAmountPaid() + +

                                                                                                                                  + + +

                                                                                                                                  Sets amountPaid

                                                                                                                                  + + + public + setAmountPaid(int $amountPaid) : void + +

                                                                                                                                  The total amount paid to the invoice in terms of the invoice transactionCurrency indicated +in the smallest possible unit for the corresponding transactionCurrency (e.g satoshis for BTC and BCH)

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $amountPaid + : int +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The total amount paid to the invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setAutoRedirect() + +

                                                                                                                                  + + +

                                                                                                                                  Sets autoRedirect

                                                                                                                                  + + + public + setAutoRedirect(bool $autoRedirect) : void + +

                                                                                                                                  Set to false by default, +merchant can setup automatic redirect to their website by setting this parameter to true.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $autoRedirect + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the auto redirect

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBillId() + +

                                                                                                                                  + + +

                                                                                                                                  Sets billId

                                                                                                                                  + + + public + setBillId(string $billId) : void + +

                                                                                                                                  This field will be in the invoice object only if the invoice was generated from a bill, see the +Bills resource for more information

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $billId + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the bill id

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBitpayIdRequired() + +

                                                                                                                                  + + +

                                                                                                                                  Sets bitpayIdRequired

                                                                                                                                  + + + public + setBitpayIdRequired(bool $bitpayIdRequired) : void + +

                                                                                                                                  BitPay ID is a verification process that is required when a user is making payments +or receiving a refund over a given threshold, which may vary by region. +This Boolean forces the invoice to require BitPay ID regardless of the price.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $bitpayIdRequired + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the bitpay id required

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBuyer() + +

                                                                                                                                  + + +

                                                                                                                                  Sets buyer

                                                                                                                                  + + + public + setBuyer(Buyer $buyer) : void + +

                                                                                                                                  Allows merchant to pass buyer related information in the invoice object

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $buyer + : Buyer +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the buyer

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBuyerEmail() + +

                                                                                                                                  + + +

                                                                                                                                  Sets buyerEmail

                                                                                                                                  + + + public + setBuyerEmail(string $buyerEmail) : void + +

                                                                                                                                  Buyer's email address. +If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $buyerEmail + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Buyer's email address

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBuyerProvidedEmail() + +

                                                                                                                                  + + +

                                                                                                                                  Sets buyerProvidedEmail

                                                                                                                                  + + + public + setBuyerProvidedEmail(string $buyerProvidedEmail) : void + +

                                                                                                                                  Populated with the buyer's email address if passed in the buyer object by the merchant, +otherwise this field is not returned for newly created invoices. +If the merchant does not pass the buyer email in the invoice request, +the bitpay invoice UI will prompt the user to enter his +email address and this field will be populated with the email submitted.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $buyerProvidedEmail + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Populated with the buyer's email address if passed in the buyer object +by the merchant

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBuyerProvidedInfo() + +

                                                                                                                                  + + +

                                                                                                                                  Sets buyerProvidedEmail

                                                                                                                                  + + + public + setBuyerProvidedInfo(BuyerProvidedInfo $buyerProvidedInfo) : mixed + +

                                                                                                                                  Information collected from the buyer during the process of paying an invoice. +Initially this object is empty.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $buyerProvidedInfo + : BuyerProvidedInfo +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Information collected from the buyer +during the process of paying an invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setBuyerSms() + +

                                                                                                                                  + + +

                                                                                                                                  Sets buyerSms

                                                                                                                                  + + + public + setBuyerSms(string $buyerSms) : void + +

                                                                                                                                  SMS provided by user for communications. +This is only used for instances where a buyers email +(primary form of buyer communication) is can not be gathered.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $buyerSms + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  SMS provided by user for communication

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setCloseURL() + +

                                                                                                                                  + + +

                                                                                                                                  Gets closeURL

                                                                                                                                  + + + public + setCloseURL(string $closeURL) : void + +

                                                                                                                                  URL to redirect if the shopper does not pay the invoice and click on the Close button instead. +Be sure to include "http://" or "https://" in the url.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $closeURL + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  URL to redirect if the shopper does not pay the invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Sets currency

                                                                                                                                  + + + public + setCurrency(string $currency) : void + +

                                                                                                                                  ISO 4217 3-character currency code. This is the currency associated with the price field, +supported currencies are available via the +Currencies resource

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $currency + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  3-character currency code

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  + Tags + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + throws +
                                                                                                                                  +
                                                                                                                                  + BitPayException + + +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setCurrentTime() + +

                                                                                                                                  + + +

                                                                                                                                  Sets currentTime - UNIX time of API call, in milliseconds

                                                                                                                                  + + + public + setCurrentTime(string $currentTime) : void + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $currentTime + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  UNIX time of API call, in milliseconds

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setDisplayAmountPaid() + +

                                                                                                                                  + + +

                                                                                                                                  Sets displayAmountPaid

                                                                                                                                  + + + public + setDisplayAmountPaid(string $displayAmountPaid) : void + +

                                                                                                                                  Initially set to "0" when creating the invoice. +It will be updated with the total amount paid to the invoice +indicated in the base unit for the corresponding transactionCurrency

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $displayAmountPaid + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  display amount paid

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setExceptionStatus() + +

                                                                                                                                  + + +

                                                                                                                                  Sets exceptionStatus

                                                                                                                                  + + + public + setExceptionStatus(bool $exceptionStatus) : void + +

                                                                                                                                  Initially a boolean false, this parameter will indicate if the purchaser sent too much ("paidOver") +or not enough funds ("paidPartial") in the transaction to pay the BitPay invoice. Possible values are: +false: default value (boolean) unless an exception is triggered. +"paidPartial": (string) if the consumer did not send enough funds when paying the invoice. +"paidOver": (string) if the consumer sent to much funds when paying the invoice.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $exceptionStatus + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  this parameter will indicate if the purchaser sent too much or not enough funds

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setExchangeRates() + +

                                                                                                                                  + + +

                                                                                                                                  Sets exchangeRates

                                                                                                                                  + + + public + setExchangeRates(array<string|int, mixed>|null $exchangeRates) : void + +

                                                                                                                                  Exchange rates keyed by source and target currencies.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $exchangeRates + : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Exchange rates keyed by source and target currencies.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setExpirationTime() + +

                                                                                                                                  + + +

                                                                                                                                  Sets expirationTime - UNIX time when invoice is last available to be paid, in milliseconds

                                                                                                                                  + + + public + setExpirationTime(string $expirationTime) : void + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $expirationTime + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  UNIX time when invoice is last available to be paid, in milliseconds

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setExtendedNotifications() + +

                                                                                                                                  + + +

                                                                                                                                  Sets extendedNotifications

                                                                                                                                  + + + public + setExtendedNotifications(bool $extendedNotifications) : void + +

                                                                                                                                  Allows merchants to get access to additional webhooks. +For instance when an invoice expires without receiving a payment or when it is refunded. +If set to true, then fullNotifications is automatically set to true. +When using the extendedNotifications parameter, +the webhook also have a payload slightly different from the standard webhooks.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $extendedNotifications + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Allows merchants to get access to additional webhooks

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setForcedBuyerSelectedTransactionCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Sets forcedBuyerSelectedWallet

                                                                                                                                  + + + public + setForcedBuyerSelectedTransactionCurrency(string $forcedBuyerSelectedTransactionCurrency) : mixed + +

                                                                                                                                  Merchant pre-selects transaction currency on behalf of buyer.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $forcedBuyerSelectedTransactionCurrency + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Merchant pre-selects transaction currency

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setForcedBuyerSelectedWallet() + +

                                                                                                                                  + + +

                                                                                                                                  Sets forcedBuyerSelectedWallet

                                                                                                                                  + + + public + setForcedBuyerSelectedWallet(string $forcedBuyerSelectedWallet) : mixed + +

                                                                                                                                  Merchant pre-selects transaction currency on behalf of buyer.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $forcedBuyerSelectedWallet + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Merchant pre-selects wallet on behalf of buyer

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setFullNotifications() + +

                                                                                                                                  + + +

                                                                                                                                  Sets fullNotifications

                                                                                                                                  + + + public + setFullNotifications(bool $fullNotifications) : void + +

                                                                                                                                  This parameter is set to true by default, meaning all standard notifications +are being sent for a payment made to an invoice. +If you decide to set it to false instead, only 1 webhook will be sent for each +invoice paid by the consumer. +This webhook will be for the "confirmed" or "complete" invoice status, +depending on the transactionSpeed selected.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $fullNotifications + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the full notification

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setGuid() + +

                                                                                                                                  + + +

                                                                                                                                  Sets guid

                                                                                                                                  + + + public + setGuid(string $guid) : void + +

                                                                                                                                  A passthru variable provided by the merchant and designed to be used by the merchant +to correlate the invoice with an order ID in their system, +which can be used as a lookup variable in Retrieve Invoice by GUID.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $guid + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The guid of the refund request being retrieved

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setId() + +

                                                                                                                                  + + +

                                                                                                                                  Sets invoice resource id

                                                                                                                                  + + + public + setId(string $id) : void + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $id + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Invoice resource id

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setInvoiceTime() + +

                                                                                                                                  + + +

                                                                                                                                  Sets invoiceTime - UNIX time of invoice creation, in milliseconds

                                                                                                                                  + + + public + setInvoiceTime(int $invoiceTime) : mixed + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $invoiceTime + : int +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  UNIX time of invoice creation, in milliseconds

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setIsCancelled() + +

                                                                                                                                  + + +

                                                                                                                                  Sets isCancelled

                                                                                                                                  + + + public + setIsCancelled(bool $isCancelled) : void + +

                                                                                                                                  Indicates whether or not the invoice was cancelled.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $isCancelled + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Indicates whether or not the invoice was cancelled.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setItemCode() + +

                                                                                                                                  + + +

                                                                                                                                  Sets itemCode

                                                                                                                                  + + + public + setItemCode(string $itemCode) : void + +

                                                                                                                                  "bitcoindonation" for donations, otherwise do not include the field in the request.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $itemCode + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  "bitcoindonation" for donations, otherwise do not include the field in the request.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setItemDesc() + +

                                                                                                                                  + + +

                                                                                                                                  Sets itemDesc

                                                                                                                                  + + + public + setItemDesc(string $itemDesc) : void + +

                                                                                                                                  Invoice description - will be added as a line item on the BitPay checkout page, under the merchant name.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $itemDesc + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Invoice description

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setItemizedDetails() + +

                                                                                                                                  + + +

                                                                                                                                  Sets itemizedDetails

                                                                                                                                  + + + public + setItemizedDetails(array<string|int, ItemizedDetails$itemizedDetails) : void + +

                                                                                                                                  Object containing line item details for display.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $itemizedDetails + : array<string|int, ItemizedDetails> +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  + Tags + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + throws +
                                                                                                                                  +
                                                                                                                                  + BitPayException + + +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setJsonPayProRequired() + +

                                                                                                                                  + + +

                                                                                                                                  Sets jsonPayProRequired

                                                                                                                                  + + + public + setJsonPayProRequired(bool $jsonPayProRequired) : void + +

                                                                                                                                  Boolean set to false by default. +If set to true, this means that the invoice will only accept payments +from wallets which have implemented the +BitPay JSON Payment Protocol

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $jsonPayProRequired + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the json pay pro required

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setLowFeeDetected() + +

                                                                                                                                  + + +

                                                                                                                                  Sets lowFeeDetected

                                                                                                                                  + + + public + setLowFeeDetected(bool $lowFeeDetected) : mixed + +

                                                                                                                                  Flag to indicate if the miner fee used by the buyer is too low. +Initially set to false when the invoice is created.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $lowFeeDetected + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Flag to indicate if the miner fee used by the buyer is too low

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setMerchantName() + +

                                                                                                                                  + + +

                                                                                                                                  Sets merchantName

                                                                                                                                  + + + public + setMerchantName(string $merchantName) : void + +

                                                                                                                                  A display string for merchant identification (ex. Wal-Mart Store #1452, Bowling Green, KY).

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $merchantName + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  A display string for merchant identification

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setMinerFees() + +

                                                                                                                                  + + +

                                                                                                                                  Sets minerFees

                                                                                                                                  + + + public + setMinerFees(MinerFees $minerFees) : void + +

                                                                                                                                  The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice. +The key is the currency and the value is an object containing +the satoshis per byte, the total fee, and the fiat amount. +This is referenced as "Network Cost" on an invoice, see + +this support article + for more information

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $minerFees + : MinerFees +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The total amount of fees that the purchaser will pay +to cover BitPay's UTXO sweep cost for an invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setNonPayProPaymentReceived() + +

                                                                                                                                  + + +

                                                                                                                                  Sets nonPayProPaymentReceived

                                                                                                                                  + + + public + setNonPayProPaymentReceived(bool $nonPayProPaymentReceived) : void + +

                                                                                                                                  This boolean will be available on an invoice object once an invoice is paid +and indicate if the transaction was made with a wallet using the payment protocol (true) or peer to peer (false).

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $nonPayProPaymentReceived + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  transaction was made with a wallet using the payment protocol

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setNotificationEmail() + +

                                                                                                                                  + + +

                                                                                                                                  Sets NotificationEmail

                                                                                                                                  + + + public + setNotificationEmail(string $notificationEmail) : void + +

                                                                                                                                  Merchant email address for notification of payout status change.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $notificationEmail + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Merchant email address for notification of payout status change

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setNotificationURL() + +

                                                                                                                                  + + +

                                                                                                                                  Sets notificationURL

                                                                                                                                  + + + public + setNotificationURL(string $notificationURL) : void + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $notificationURL + : string +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                  • URL to which BitPay sends webhook notifications. HTTPS is mandatory.
                                                                                                                                  • +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setOrderId() + +

                                                                                                                                  + + +

                                                                                                                                  Sets orderId

                                                                                                                                  + + + public + setOrderId(string $orderId) : void + +

                                                                                                                                  Can be used by the merchant to assign their own internal Id to an invoice. +If used, there should be a direct match between an orderId and an invoice id.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $orderId + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Invoice order id

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setOverpaidAmount() + +

                                                                                                                                  + + +

                                                                                                                                  Sets overpaidAmount

                                                                                                                                  + + + public + setOverpaidAmount(int $overpaidAmount) : void + +

                                                                                                                                  This parameter will be returned on the invoice object +if the invoice was overpaid ("exceptionStatus": "paidOver"). +It equals to the absolute difference between amountPaid +and paymentTotals for the corresponding transactionCurrency used.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $overpaidAmount + : int +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the overpaid amount

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPaymentCodes() + +

                                                                                                                                  + + +

                                                                                                                                  Sets paymentCodes

                                                                                                                                  + + + public + setPaymentCodes(array<string|int, mixed>|null $paymentCodes) : mixed + +

                                                                                                                                  The URIs for sending a transaction to the invoice. The first key is the transaction currency. +The transaction currency maps to an object containing the payment URIs. +The key of this object is the BIP number and the value is the payment URI. +For "BTC", "BCH" and "DOGE" - BIP72b and BIP73 are supported. +For "ETH", "GUSD", "PAX", "BUSD", "USDC", "DAI" and "WBTC"- EIP681 is supported +For "XRP" - RIP681, BIP72b and BIP73 is supported

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $paymentCodes + : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPaymentCurrencies() + +

                                                                                                                                  + + +

                                                                                                                                  Sets paymentCurrencies

                                                                                                                                  + + + public + setPaymentCurrencies(array<string|int, mixed> $paymentCurrencies) : void + +

                                                                                                                                  Allow the merchant to select the cryptocurrencies available as payment option on the BitPay invoice. +Possible values are currently "BTC", "BCH", "ETH", "GUSD", +"PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". +For instance "paymentCurrencies": ["BTC"] will create an invoice with only XRP available as transaction currency, +thus bypassing the currency selection step on the invoice.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $paymentCurrencies + : array<string|int, mixed> +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the payment currencies

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPaymentDisplaySubTotals() + +

                                                                                                                                  + + +

                                                                                                                                  Sets paymentDisplaySubtotals

                                                                                                                                  + + + public + setPaymentDisplaySubTotals(array<string|int, mixed>|null $paymentDisplaySubTotals) : mixed + +

                                                                                                                                  Equivalent to price for each supported transactionCurrency, excluding minerFees. +The key is the currency and the value is an amount indicated in the base unit +for each supported transactionCurrency.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $paymentDisplaySubTotals + : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Equivalent to price for each supported transactionCurrency

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPaymentDisplayTotals() + +

                                                                                                                                  + + +

                                                                                                                                  Sets paymentDisplayTotals

                                                                                                                                  + + + public + setPaymentDisplayTotals(array<string|int, mixed>|null $paymentDisplayTotals) : mixed + +

                                                                                                                                  The total amount that the purchaser should pay as displayed on the invoice UI. +This is like paymentDisplaySubTotals but with the minerFees included. +The key is the currency and the value is an amount +indicated in the base unit for each supported transactionCurrency.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $paymentDisplayTotals + : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The total amount that the purchaser should pay

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPaymentSubtotals() + +

                                                                                                                                  + + +

                                                                                                                                  Sets paymentSubtotals

                                                                                                                                  + + + public + setPaymentSubtotals(array<string|int, mixed>|null $paymentSubtotals) : mixed + +

                                                                                                                                  For internal use. This field can be ignored in merchant implementations.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $paymentSubtotals + : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the payment subtotals

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPaymentTotals() + +

                                                                                                                                  + + +

                                                                                                                                  Sets paymentTotals

                                                                                                                                  + + + public + setPaymentTotals(array<string|int, mixed>|null $paymentTotals) : mixed + +

                                                                                                                                  For internal use - This field can be ignored in merchant implementations.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $paymentTotals + : array<string|int, mixed>|null +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the payment totals

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPhysical() + +

                                                                                                                                  + + +

                                                                                                                                  Sets physical.

                                                                                                                                  + + + public + setPhysical(bool $physical) : void + +

                                                                                                                                  Indicates whether items are physical goods. Alternatives include digital goods and services.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $physical + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the physical

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPosData() + +

                                                                                                                                  + + +

                                                                                                                                  Sets posData

                                                                                                                                  + + + public + setPosData(string $posData) : void + +

                                                                                                                                  A passthru variable provided by the merchant during invoice creation and designed to be +used by the merchant to correlate the invoice with an order or other object in their system. +This passthru variable can be a serialized object.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $posData + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the pos data

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setPrice() + +

                                                                                                                                  + + +

                                                                                                                                  Sets price

                                                                                                                                  + + + public + setPrice(float $price) : void + +

                                                                                                                                  Fixed price amount for the checkout, in the "currency" of the invoice object.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $price + : float +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Fixed price amount for the checkout, in the "currency" of the invoice object.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setRedirectURL() + +

                                                                                                                                  + + +

                                                                                                                                  Sets RedirectURL

                                                                                                                                  + + + public + setRedirectURL(string $redirectURL) : void + +

                                                                                                                                  The shopper will be redirected to this URL when clicking on the Return button +after a successful payment or when clicking on the Close button if a separate closeURL is not specified. +Be sure to include "http://" or "https://" in the url.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $redirectURL + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The shopper will be redirected to this URL

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setRefundAddresses() + +

                                                                                                                                  + + +

                                                                                                                                  Sets refundAddresses

                                                                                                                                  + + + public + setRefundAddresses(array<string|int, mixed> $refundAddresses) : void + +

                                                                                                                                  Initially empty when the invoice is created. +This field will be populated with the refund address +provided by the customer if you request a refund of the specific invoice.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $refundAddresses + : array<string|int, mixed> +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Refund address provided by the customer

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setRefundAddressRequestPending() + +

                                                                                                                                  + + +

                                                                                                                                  Sets refundAddressRequestPending

                                                                                                                                  + + + public + setRefundAddressRequestPending(bool $refundAddressRequestPending) : void + +

                                                                                                                                  Initially set to false when the invoice is created, +this field will be set to true once a refund request has been issued by the merchant. +This flag is here to indicate that the refund request is pending action +from the buyer to provide an address for the refund, +via the secure link which has been automatically emailed to him.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $refundAddressRequestPending + : bool +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  This flag is here to indicate that the refund +request is pending action

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setRefundInfo() + +

                                                                                                                                  + + +

                                                                                                                                  Sets refundInfo

                                                                                                                                  + + + public + setRefundInfo(RefundInfo $refundInfo) : void + +

                                                                                                                                  For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $refundInfo + : RefundInfo +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setSelectedTransactionCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Sets selectedTransactionCurrency

                                                                                                                                  + + + public + setSelectedTransactionCurrency(string $selectedTransactionCurrency) : void + +

                                                                                                                                  This field will be populated with the cryptocurrency selected to pay the BitPay invoice, +current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", +"USDC", "XRP", "DOGE", "DAI" and "WBTC". +If not yet selected, this field will not be returned.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $selectedTransactionCurrency + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  This field will be populated with the cryptocurrency selected +to pay the BitPay invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setShopper() + +

                                                                                                                                  + + +

                                                                                                                                  Sets shopper

                                                                                                                                  + + + public + setShopper(Shopper $shopper) : mixed + +

                                                                                                                                  This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID. +See the following blogpost for more information.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $shopper + : Shopper +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the shopper

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setStatus() + +

                                                                                                                                  + + +

                                                                                                                                  Sets status

                                                                                                                                  + + + public + setStatus(string $status) : void + +

                                                                                                                                  Detailed information about invoice status notifications can be found under the + +Instant Payment Notification (IPN) section. +

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $status + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Invoice status

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setSupportedTransactionCurrencies() + +

                                                                                                                                  + + +

                                                                                                                                  Sets supportedTransactionCurrencies

                                                                                                                                  + + + public + setSupportedTransactionCurrencies(SupportedTransactionCurrencies $supportedTransactionCurrencies) : void + +

                                                                                                                                  The currencies that may be used to pay this invoice. +The object is keyed by currency code. +The values are objects with an "enabled" boolean and option. +An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice. +If you disable a currency via the invoice parameter "paymentCurrencies", +this parameter will be set to "merchantDisabledByParam"

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $supportedTransactionCurrencies + : SupportedTransactionCurrencies +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The currencies that may be used +to pay this invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setTargetConfirmations() + +

                                                                                                                                  + + +

                                                                                                                                  Sets targetConfirmations

                                                                                                                                  + + + public + setTargetConfirmations(int $targetConfirmations) : void + +

                                                                                                                                  Indicates the number of block confirmation of the crypto currency +transaction which are required to credit a paid invoice to the merchant account. +Currently, the value set is set to 6 by default for BTC/BCH/XRP, +40 for DOGE and 50 for ETH/GUSD/PAX/USDC/BUSD/DAI/WBTC +c

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $targetConfirmations + : int +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Indicates the number of block confirmation of the crypto currency transaction +which are required to credit a paid invoice to the merchant account

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setToken() + +

                                                                                                                                  + + +

                                                                                                                                  Sets token

                                                                                                                                  + + + public + setToken(string $token) : void + +

                                                                                                                                  Invoice resource token. +This token is derived from the API token initially used to create the +invoice and is tied to the specific resource id created.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $token + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Invoice resource token

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setTransactionCurrency() + +

                                                                                                                                  + + +

                                                                                                                                  Sets transactionCurrency

                                                                                                                                  + + + public + setTransactionCurrency(string $transactionCurrency) : void + +

                                                                                                                                  The cryptocurrency used to pay the invoice. +This field will only be available after a transaction is applied to the invoice. +Possible values are currently "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", +"USDC", "XRP", "DOGE", "DAI" and "WBTC".

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $transactionCurrency + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  The currency used for the invoice transaction.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setTransactions() + +

                                                                                                                                  + + +

                                                                                                                                  Sets transactions

                                                                                                                                  + + + public + setTransactions(array<string|int, mixed> $transactions) : void + +

                                                                                                                                  Contains the cryptocurrency transaction details for the executed payout.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $transactions + : array<string|int, mixed> +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  array with the crypto currency transaction hashes linked to the invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setTransactionSpeed() + +

                                                                                                                                  + + +

                                                                                                                                  Sets transactionSpeed.

                                                                                                                                  + + + public + setTransactionSpeed(string $transactionSpeed) : void + +

                                                                                                                                  This is a risk mitigation parameter for the merchant to configure how they want +to fulfill orders depending on the number of block confirmations for the transaction +made by the consumer on the selected cryptocurrency. +If not set on the invoice, transactionSpeed will default to the account-level Order Settings. +Note : orders are only credited to your BitPay Account Summary for settlement after +the invoice reaches the status "complete" (regardless of this setting).

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $transactionSpeed + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the transaction speed

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setUnderpaidAmount() + +

                                                                                                                                  + + +

                                                                                                                                  Sets underpaidAmount

                                                                                                                                  + + + public + setUnderpaidAmount(int $underpaidAmount) : void + +

                                                                                                                                  This parameter will be returned on the invoice object +if the invoice was underpaid ("exceptionStatus": "paidPartial"). +It equals to the absolute difference between amountPaid +and paymentTotals for the corresponding transactionCurrency used.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $underpaidAmount + : int +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  the underpaid amount

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setUniversalCodes() + +

                                                                                                                                  + + +

                                                                                                                                  Sets universalCodes

                                                                                                                                  + + + public + setUniversalCodes(UniversalCodes $universalCodes) : mixed + + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $universalCodes + : UniversalCodes +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Object containing wallet-specific URLs for payment protocol.

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + mixed + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + setUrl() + +

                                                                                                                                  + + +

                                                                                                                                  Sets url

                                                                                                                                  + + + public + setUrl(string $url) : void + +

                                                                                                                                  Web address of invoice, expires at expirationTime

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  Parameters
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + $url + : string +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Web address of invoice

                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  Return values
                                                                                                                                  + void + — + + +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  + toArray() + +

                                                                                                                                  + + +

                                                                                                                                  Returns the Invoice object as array

                                                                                                                                  + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                  Return values
                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Search results

                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    + + +
                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-InvoiceStatus.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-InvoiceStatus.html new file mode 100644 index 0000000..dfe020f --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-InvoiceStatus.html @@ -0,0 +1,526 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                    +

                                                                                                                                    Documentation

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

                                                                                                                                    + InvoiceStatus +
                                                                                                                                    + in + +
                                                                                                                                    +

                                                                                                                                    + + + +

                                                                                                                                    The type Invoice status.

                                                                                                                                    + + + +
                                                                                                                                    + Tags + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    + see +
                                                                                                                                    +
                                                                                                                                    + +

                                                                                                                                    REST API Invoices

                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    + + + + + + +

                                                                                                                                    + Table of Contents + +

                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    + COMPLETE + +  = "complete" +
                                                                                                                                    +
                                                                                                                                    When an invoice has the status complete, it means that BitPay has credited the merchant account, +in the currency indicated in the settlement settings. For instance, with invoices paid in Bitcoin (BTC), +6 confirmation blocks on the bitcoin network are required for an invoice to be complete, +this takes on average 1 hour.
                                                                                                                                    + +
                                                                                                                                    + CONFIRMED + +  = "confirmed" +
                                                                                                                                    +
                                                                                                                                    This status can be used by merchants in order to fulfill orders placed by the consumer.
                                                                                                                                    + +
                                                                                                                                    + EXPIRED + +  = "expired" +
                                                                                                                                    +
                                                                                                                                    An invoice reaches the expired status if no payment was received and the 15 minute payment window has elapsed.
                                                                                                                                    + +
                                                                                                                                    + INVALID + +  = "invalid" +
                                                                                                                                    +
                                                                                                                                    An invoice is considered invalid when it was paid, +but the corresponding cryptocurrency transaction was not confirmed within 1 hour on the corresponding blockchain.
                                                                                                                                    + +
                                                                                                                                    + NEW + +  = "new" +
                                                                                                                                    +
                                                                                                                                    An invoice starts in this state. When in this state and only in this state, payments broadcasted by purchasers +be applied to the invoice (there is a 15 minute window for the purchaser to send a payment from +their crypto wallet). If an invoice has received a partial payment, +it will still reflect a status of new to the merchant. From a merchant system perspective, +an invoice is either paid or not paid, partial payments are automatically refunded by BitPay to the consumer.
                                                                                                                                    + +
                                                                                                                                    + PAID + +  = "paid" +
                                                                                                                                    +
                                                                                                                                    As soon as payment is received it is evaluated against the invoice requested amount.
                                                                                                                                    + +
                                                                                                                                    + + + + +
                                                                                                                                    +

                                                                                                                                    + Constants + +

                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    + COMPLETE + +

                                                                                                                                    + + + +

                                                                                                                                    When an invoice has the status complete, it means that BitPay has credited the merchant account, +in the currency indicated in the settlement settings. For instance, with invoices paid in Bitcoin (BTC), +6 confirmation blocks on the bitcoin network are required for an invoice to be complete, +this takes on average 1 hour.

                                                                                                                                    + + + public + mixed + COMPLETE + = "complete" + + + + +
                                                                                                                                    + + + +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    + CONFIRMED + +

                                                                                                                                    + + + +

                                                                                                                                    This status can be used by merchants in order to fulfill orders placed by the consumer.

                                                                                                                                    + + + public + mixed + CONFIRMED + = "confirmed" + + + +

                                                                                                                                    Merchants can configure the timing at which BitPay sets this specific invoice status, +depending on the number of confirmation achieved by the consumer's transaction in the selected cryptocurrency. +This can be configured during invoice creation using the "transactionSpeed" parameter +(section Create an invoice), or at account level via a dashboard setting.

                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    + + + +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    + EXPIRED + +

                                                                                                                                    + + + +

                                                                                                                                    An invoice reaches the expired status if no payment was received and the 15 minute payment window has elapsed.

                                                                                                                                    + + + public + mixed + EXPIRED + = "expired" + + + + +
                                                                                                                                    + + + +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    + INVALID + +

                                                                                                                                    + + + +

                                                                                                                                    An invoice is considered invalid when it was paid, +but the corresponding cryptocurrency transaction was not confirmed within 1 hour on the corresponding blockchain.

                                                                                                                                    + + + public + mixed + INVALID + = "invalid" + + + +

                                                                                                                                    It is possible that some transactions can take longer than 1 hour to be included in a block. +If the transaction confirms after 1 hour, BitPay will update the invoice state from "invalid" to "complete" +(6 confirmations for transactions on the bitcoin network for instance).

                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    + + + +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    + NEW + +

                                                                                                                                    + + + +

                                                                                                                                    An invoice starts in this state. When in this state and only in this state, payments broadcasted by purchasers +be applied to the invoice (there is a 15 minute window for the purchaser to send a payment from +their crypto wallet). If an invoice has received a partial payment, +it will still reflect a status of new to the merchant. From a merchant system perspective, +an invoice is either paid or not paid, partial payments are automatically refunded by BitPay to the consumer.

                                                                                                                                    + + + public + mixed + NEW + = "new" + + + + +
                                                                                                                                    + + + +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    + PAID + +

                                                                                                                                    + + + +

                                                                                                                                    As soon as payment is received it is evaluated against the invoice requested amount.

                                                                                                                                    + + + public + mixed + PAID + = "paid" + + + +

                                                                                                                                    If the amount paid is equal to or greater than the amount expected then the invoice is marked as being paid. +To detect whether the invoice has been overpaid consult the invoice exception status (exceptionStatus parameter). +The overpaid amount on an invoice is automatically refunded by BitPay to the consumer.

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

                                                                                                                                    Search results

                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + + +
                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-ItemizedDetails.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-ItemizedDetails.html new file mode 100644 index 0000000..32927f3 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-ItemizedDetails.html @@ -0,0 +1,788 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                      +

                                                                                                                                      Documentation

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

                                                                                                                                      + ItemizedDetails + + +
                                                                                                                                      + in package + +
                                                                                                                                      + + +

                                                                                                                                      + + + +

                                                                                                                                      Class ItemizedDetails

                                                                                                                                      + + + +
                                                                                                                                      + Tags + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + see +
                                                                                                                                      +
                                                                                                                                      + +

                                                                                                                                      REST API Invoices

                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + + + + + + +

                                                                                                                                      + Table of Contents + +

                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + $amount + +  : float|null +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      + $description + +  : string|null +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      + $isFee + +  : bool|null +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      + getAmount() + +  : float|null +
                                                                                                                                      +
                                                                                                                                      Gets The amount of currency.
                                                                                                                                      + +
                                                                                                                                      + getDescription() + +  : string|null +
                                                                                                                                      +
                                                                                                                                      Gets description
                                                                                                                                      + +
                                                                                                                                      + getIsFee() + +  : bool|null +
                                                                                                                                      +
                                                                                                                                      Gets is fee
                                                                                                                                      + +
                                                                                                                                      + setAmount() + +  : void +
                                                                                                                                      +
                                                                                                                                      Sets The amount of currency.
                                                                                                                                      + +
                                                                                                                                      + setDescription() + +  : void +
                                                                                                                                      +
                                                                                                                                      Sets string for the item.
                                                                                                                                      + +
                                                                                                                                      + setIsFee() + +  : void +
                                                                                                                                      +
                                                                                                                                      Sets is fee
                                                                                                                                      + +
                                                                                                                                      + toArray() + +  : array<string|int, mixed> +
                                                                                                                                      +
                                                                                                                                      Gets Item details data as array
                                                                                                                                      + +
                                                                                                                                      + + + + + + +
                                                                                                                                      +

                                                                                                                                      + Properties + +

                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + $amount + + + +

                                                                                                                                      + + + + + protected + float|null + $amount + = null + +
                                                                                                                                      + +
                                                                                                                                      + + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + $description + + + +

                                                                                                                                      + + + + + protected + string|null + $description + = null + +
                                                                                                                                      + +
                                                                                                                                      + + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + $isFee + + + +

                                                                                                                                      + + + + + protected + bool|null + $isFee + = null + +
                                                                                                                                      + +
                                                                                                                                      + + + +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +

                                                                                                                                      + Methods + +

                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + __construct() + +

                                                                                                                                      + + + + + public + __construct() : mixed + +
                                                                                                                                      + + + + +
                                                                                                                                      Return values
                                                                                                                                      + mixed + — + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + getAmount() + +

                                                                                                                                      + + +

                                                                                                                                      Gets The amount of currency.

                                                                                                                                      + + + public + getAmount() : float|null + + + + + +
                                                                                                                                      Return values
                                                                                                                                      + float|null + — +

                                                                                                                                      the amount

                                                                                                                                      +
                                                                                                                                      + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + getDescription() + +

                                                                                                                                      + + +

                                                                                                                                      Gets description

                                                                                                                                      + + + public + getDescription() : string|null + +

                                                                                                                                      Display string for the item.

                                                                                                                                      +
                                                                                                                                      + + + + +
                                                                                                                                      Return values
                                                                                                                                      + string|null + — +

                                                                                                                                      the description

                                                                                                                                      +
                                                                                                                                      + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + getIsFee() + +

                                                                                                                                      + + +

                                                                                                                                      Gets is fee

                                                                                                                                      + + + public + getIsFee() : bool|null + +

                                                                                                                                      Indicates whether or not the item is considered a fee/tax or part of the main purchase.

                                                                                                                                      +
                                                                                                                                      + + + + +
                                                                                                                                      Return values
                                                                                                                                      + bool|null + — +

                                                                                                                                      is fee

                                                                                                                                      +
                                                                                                                                      + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + setAmount() + +

                                                                                                                                      + + +

                                                                                                                                      Sets The amount of currency.

                                                                                                                                      + + + public + setAmount(float|null $amount) : void + + +
                                                                                                                                      Parameters
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + $amount + : float|null +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      the amount

                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + + + +
                                                                                                                                      Return values
                                                                                                                                      + void + — + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + setDescription() + +

                                                                                                                                      + + +

                                                                                                                                      Sets string for the item.

                                                                                                                                      + + + public + setDescription(string|null $description) : void + + +
                                                                                                                                      Parameters
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + $description + : string|null +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      the description

                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + + + +
                                                                                                                                      Return values
                                                                                                                                      + void + — + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + setIsFee() + +

                                                                                                                                      + + +

                                                                                                                                      Sets is fee

                                                                                                                                      + + + public + setIsFee(bool|null $isFee) : void + +

                                                                                                                                      Gets Indicates whether or not the item is considered a fee/tax or part of the main purchase.

                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      Parameters
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + $isFee + : bool|null +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      is fee

                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + + + +
                                                                                                                                      Return values
                                                                                                                                      + void + — + + +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      + toArray() + +

                                                                                                                                      + + +

                                                                                                                                      Gets Item details data as array

                                                                                                                                      + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                      Return values
                                                                                                                                      + array<string|int, mixed> + — +

                                                                                                                                      item details data as array

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

                                                                                                                                      Search results

                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + + +
                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFees.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFees.html new file mode 100644 index 0000000..9a41b50 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFees.html @@ -0,0 +1,1949 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                        +

                                                                                                                                        Documentation

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

                                                                                                                                        + MinerFees + + +
                                                                                                                                        + in package + +
                                                                                                                                        + + +

                                                                                                                                        + + + +

                                                                                                                                        The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice.

                                                                                                                                        + +

                                                                                                                                        The key is the currency and the value is an object containing the satoshis per byte, +the total fee, and the fiat amount. This is referenced as "Network Cost" on an invoice, +see this support article for more information.

                                                                                                                                        +
                                                                                                                                        + + +
                                                                                                                                        + Tags + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + see +
                                                                                                                                        +
                                                                                                                                        + +

                                                                                                                                        REST API Invoices

                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + + + + +

                                                                                                                                        + Table of Contents + +

                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + $bch + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $btc + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $busd + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $dai + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $doge + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $eth + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $gusd + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $ltc + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $pax + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $usdc + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $wbtc + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + $xrp + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                        +
                                                                                                                                        MinerFees constructor.
                                                                                                                                        + +
                                                                                                                                        + getBCH() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets BCH.
                                                                                                                                        + +
                                                                                                                                        + getBTC() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets BTC.
                                                                                                                                        + +
                                                                                                                                        + getBUSD() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets BUSD.
                                                                                                                                        + +
                                                                                                                                        + getDAI() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets DAI.
                                                                                                                                        + +
                                                                                                                                        + getDOGE() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets DOGE.
                                                                                                                                        + +
                                                                                                                                        + getETH() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets ETH.
                                                                                                                                        + +
                                                                                                                                        + getGUSD() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets GUSD.
                                                                                                                                        + +
                                                                                                                                        + getLTC() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets LTC.
                                                                                                                                        + +
                                                                                                                                        + getPAX() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets PAX.
                                                                                                                                        + +
                                                                                                                                        + getUSDC() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets USDC.
                                                                                                                                        + +
                                                                                                                                        + getWBTC() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets WBTC.
                                                                                                                                        + +
                                                                                                                                        + getXRP() + +  : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        Gets XRP.
                                                                                                                                        + +
                                                                                                                                        + setBCH() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets BCH.
                                                                                                                                        + +
                                                                                                                                        + setBTC() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets BTC.
                                                                                                                                        + +
                                                                                                                                        + setBUSD() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets BUSD.
                                                                                                                                        + +
                                                                                                                                        + setDAI() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets DAI.
                                                                                                                                        + +
                                                                                                                                        + setDOGE() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets DOGE.
                                                                                                                                        + +
                                                                                                                                        + setETH() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets ETH.
                                                                                                                                        + +
                                                                                                                                        + setGUSD() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets GUSD.
                                                                                                                                        + +
                                                                                                                                        + setLTC() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets LTC.
                                                                                                                                        + +
                                                                                                                                        + setPAX() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets PAX.
                                                                                                                                        + +
                                                                                                                                        + setUSDC() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets USDC.
                                                                                                                                        + +
                                                                                                                                        + setWBTC() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets WBTC.
                                                                                                                                        + +
                                                                                                                                        + setXRP() + +  : void +
                                                                                                                                        +
                                                                                                                                        Sets XRP.
                                                                                                                                        + +
                                                                                                                                        + toArray() + +  : array<string|int, mixed> +
                                                                                                                                        +
                                                                                                                                        Return array with details for currencies.
                                                                                                                                        + +
                                                                                                                                        + + + + + + +
                                                                                                                                        +

                                                                                                                                        + Properties + +

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

                                                                                                                                        + Methods + +

                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + __construct() + +

                                                                                                                                        + + +

                                                                                                                                        MinerFees constructor.

                                                                                                                                        + + + public + __construct() : mixed + + + + + +
                                                                                                                                        Return values
                                                                                                                                        + mixed + — + + +
                                                                                                                                        + + + + + + + + + + + + +
                                                                                                                                        +

                                                                                                                                        + setBCH() + +

                                                                                                                                        + + +

                                                                                                                                        Sets BCH.

                                                                                                                                        + + + public + setBCH(MinerFeesItem $bch) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $bch + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setBTC() + +

                                                                                                                                        + + +

                                                                                                                                        Sets BTC.

                                                                                                                                        + + + public + setBTC(MinerFeesItem $btc) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $btc + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setBUSD() + +

                                                                                                                                        + + +

                                                                                                                                        Sets BUSD.

                                                                                                                                        + + + public + setBUSD(MinerFeesItem $busd) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $busd + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setDAI() + +

                                                                                                                                        + + +

                                                                                                                                        Sets DAI.

                                                                                                                                        + + + public + setDAI(MinerFeesItem $dai) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $dai + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setDOGE() + +

                                                                                                                                        + + +

                                                                                                                                        Sets DOGE.

                                                                                                                                        + + + public + setDOGE(MinerFeesItem $doge) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $doge + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setETH() + +

                                                                                                                                        + + +

                                                                                                                                        Sets ETH.

                                                                                                                                        + + + public + setETH(MinerFeesItem $eth) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $eth + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setGUSD() + +

                                                                                                                                        + + +

                                                                                                                                        Sets GUSD.

                                                                                                                                        + + + public + setGUSD(MinerFeesItem $gusd) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $gusd + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setLTC() + +

                                                                                                                                        + + +

                                                                                                                                        Sets LTC.

                                                                                                                                        + + + public + setLTC(MinerFeesItem $ltc) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $ltc + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setPAX() + +

                                                                                                                                        + + +

                                                                                                                                        Sets PAX.

                                                                                                                                        + + + public + setPAX(MinerFeesItem $pax) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $pax + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setUSDC() + +

                                                                                                                                        + + +

                                                                                                                                        Sets USDC.

                                                                                                                                        + + + public + setUSDC(MinerFeesItem $usdc) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $usdc + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setWBTC() + +

                                                                                                                                        + + +

                                                                                                                                        Sets WBTC.

                                                                                                                                        + + + public + setWBTC(MinerFeesItem $wbtc) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $wbtc + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + setXRP() + +

                                                                                                                                        + + +

                                                                                                                                        Sets XRP.

                                                                                                                                        + + + public + setXRP(MinerFeesItem $xrp) : void + + +
                                                                                                                                        Parameters
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + $xrp + : MinerFeesItem +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + +
                                                                                                                                        Return values
                                                                                                                                        + void + — + + +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        + toArray() + +

                                                                                                                                        + + +

                                                                                                                                        Return array with details for currencies.

                                                                                                                                        + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                        Return values
                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                        +
                                                                                                                                        + + + + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        Search results

                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + + +
                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFeesItem.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFeesItem.html new file mode 100644 index 0000000..b76ee97 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-MinerFeesItem.html @@ -0,0 +1,771 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                          +

                                                                                                                                          Documentation

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

                                                                                                                                          + MinerFeesItem + + +
                                                                                                                                          + in package + +
                                                                                                                                          + + +

                                                                                                                                          + + + +

                                                                                                                                          Class MinerFeesItem

                                                                                                                                          + + + +
                                                                                                                                          + Tags + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + see +
                                                                                                                                          +
                                                                                                                                          + +

                                                                                                                                          REST API Invoices

                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + + + + + + +

                                                                                                                                          + Table of Contents + +

                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + $fiatAmount + +  : float|null +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + $satoshisPerByte + +  : float|null +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + $totalFee + +  : float|null +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + getFiatAmount() + +  : float|null +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + getSatoshisPerByte() + +  : float|null +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + getTotalFee() + +  : float|null +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + setFiatAmount() + +  : void +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + setSatoshisPerByte() + +  : void +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + setTotalFee() + +  : void +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + toArray() + +  : array<string|int, mixed> +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          + + + + + + +
                                                                                                                                          +

                                                                                                                                          + Properties + +

                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + $fiatAmount + + + +

                                                                                                                                          + + + + + protected + float|null + $fiatAmount + = null + +
                                                                                                                                          + +
                                                                                                                                          + + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + $satoshisPerByte + + + +

                                                                                                                                          + + + + + protected + float|null + $satoshisPerByte + = null + +
                                                                                                                                          + +
                                                                                                                                          + + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + $totalFee + + + +

                                                                                                                                          + + + + + protected + float|null + $totalFee + = null + +
                                                                                                                                          + +
                                                                                                                                          + + + +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +

                                                                                                                                          + Methods + +

                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + __construct() + +

                                                                                                                                          + + + + + public + __construct() : mixed + +
                                                                                                                                          + + + + +
                                                                                                                                          Return values
                                                                                                                                          + mixed + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + getFiatAmount() + +

                                                                                                                                          + + + + + public + getFiatAmount() : float|null + +
                                                                                                                                          + + + + +
                                                                                                                                          Return values
                                                                                                                                          + float|null + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + getSatoshisPerByte() + +

                                                                                                                                          + + + + + public + getSatoshisPerByte() : float|null + +
                                                                                                                                          + + + + +
                                                                                                                                          Return values
                                                                                                                                          + float|null + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + getTotalFee() + +

                                                                                                                                          + + + + + public + getTotalFee() : float|null + +
                                                                                                                                          + + + + +
                                                                                                                                          Return values
                                                                                                                                          + float|null + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + setFiatAmount() + +

                                                                                                                                          + + + + + public + setFiatAmount(float|null $fiatAmount) : void + +
                                                                                                                                          + +
                                                                                                                                          Parameters
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + $fiatAmount + : float|null +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + + + +
                                                                                                                                          Return values
                                                                                                                                          + void + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + setSatoshisPerByte() + +

                                                                                                                                          + + + + + public + setSatoshisPerByte(float $satoshisPerByte) : void + +
                                                                                                                                          + +
                                                                                                                                          Parameters
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + $satoshisPerByte + : float +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + + + +
                                                                                                                                          Return values
                                                                                                                                          + void + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + setTotalFee() + +

                                                                                                                                          + + + + + public + setTotalFee(float $totalFee) : void + +
                                                                                                                                          + +
                                                                                                                                          Parameters
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + $totalFee + : float +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + + + +
                                                                                                                                          Return values
                                                                                                                                          + void + — + + +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          + toArray() + +

                                                                                                                                          + + + + + public + toArray() : array<string|int, mixed> + +
                                                                                                                                          + + + + +
                                                                                                                                          Return values
                                                                                                                                          + array<string|int, mixed> + — + + +
                                                                                                                                          +
                                                                                                                                          + + + + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          Search results

                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + + +
                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Refund.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Refund.html new file mode 100644 index 0000000..d908f64 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Refund.html @@ -0,0 +1,3450 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                            +

                                                                                                                                            Documentation

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

                                                                                                                                            + Refund + + +
                                                                                                                                            + in package + +
                                                                                                                                            + + +

                                                                                                                                            + + + +

                                                                                                                                            Class Refund

                                                                                                                                            + + + +
                                                                                                                                            + Tags + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + see +
                                                                                                                                            +
                                                                                                                                            + +

                                                                                                                                            REST API Invoices

                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + + + + +

                                                                                                                                            + Table of Contents + +

                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + $amount + +  : float +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $buyerPaysRefundFee + +  : bool|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $currency + +  : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $guid + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $id + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $immediate + +  : bool|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $invoice + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $invoiceId + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $lastRefundNotification + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $notificationURL + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $preview + +  : bool|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $reference + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $refundAddress + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $refundFee + +  : float|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $requestDate + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $status + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $supportRequest + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $token + +  : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $transactionAmount + +  : float|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $transactionCurrency + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $transactionRefundFee + +  : float|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $txid + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + $type + +  : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            + __construct() + +  : mixed +
                                                                                                                                            +
                                                                                                                                            Constructor, create Refund object
                                                                                                                                            + +
                                                                                                                                            + getAmount() + +  : float +
                                                                                                                                            +
                                                                                                                                            Gets amount to be refunded in the invoice currency
                                                                                                                                            + +
                                                                                                                                            + getBuyerPaysRefundFee() + +  : bool|null +
                                                                                                                                            +
                                                                                                                                            Gets whether the buyer should pay the refund fee rather +than the merchant
                                                                                                                                            + +
                                                                                                                                            + getCurrency() + +  : string +
                                                                                                                                            +
                                                                                                                                            Gets reference currency used for the refund, the same as the currency used to create the invoice
                                                                                                                                            + +
                                                                                                                                            + getGuid() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets a passthru variable provided by the merchant and designed to be used by the merchant to correlate +the invoice with an order ID in their system
                                                                                                                                            + +
                                                                                                                                            + getId() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the ID of the refund
                                                                                                                                            + +
                                                                                                                                            + getImmediate() + +  : bool|null +
                                                                                                                                            +
                                                                                                                                            Gets whether the funds should be removed from merchant ledger immediately +on submission or at the time of processing
                                                                                                                                            + +
                                                                                                                                            + getInvoice() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the ID of the invoice being refunded
                                                                                                                                            + +
                                                                                                                                            + getInvoiceId() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the ID of the invoice to refund
                                                                                                                                            + +
                                                                                                                                            + getLastRefundNotification() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the last time notification of buyer was attempted
                                                                                                                                            + +
                                                                                                                                            + getNotificationURL() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets URL to which BitPay sends webhook notifications. HTTPS is mandatory.
                                                                                                                                            + +
                                                                                                                                            + getPreview() + +  : bool|null +
                                                                                                                                            +
                                                                                                                                            Whether to create the refund request as a preview
                                                                                                                                            + +
                                                                                                                                            + getReference() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Present only if specified in the request to create the refund. This is your reference label for this refund.
                                                                                                                                            + +
                                                                                                                                            + getRefundAddress() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the wallet address that the refund will return the funds to, added by the customer.
                                                                                                                                            + +
                                                                                                                                            + getRefundFee() + +  : float|null +
                                                                                                                                            +
                                                                                                                                            Gets the amount of refund fee expressed in terms of pricing currency
                                                                                                                                            + +
                                                                                                                                            + getRequestDate() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the date the refund was requested
                                                                                                                                            + +
                                                                                                                                            + getStatus() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the refund lifecycle status of the request
                                                                                                                                            + +
                                                                                                                                            + getSupportRequest() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the ID of the associated support request for the refund.
                                                                                                                                            + +
                                                                                                                                            + getToken() + +  : string +
                                                                                                                                            +
                                                                                                                                            Gets API token
                                                                                                                                            + +
                                                                                                                                            + getTransactionAmount() + +  : float|null +
                                                                                                                                            +
                                                                                                                                            Gets amount to be refunded in terms of the transaction currency.
                                                                                                                                            + +
                                                                                                                                            + getTransactionCurrency() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the currency used for the invoice transaction.
                                                                                                                                            + +
                                                                                                                                            + getTransactionRefundFee() + +  : float|null +
                                                                                                                                            +
                                                                                                                                            Gets the refund fee expressed in terms of transaction currency.
                                                                                                                                            + +
                                                                                                                                            + getTxid() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            Gets the transaction ID of the refund once executed.
                                                                                                                                            + +
                                                                                                                                            + getType() + +  : string|null +
                                                                                                                                            +
                                                                                                                                            <p>Gets the type of refund.</p> +<ul> + <li>full (current rate): A full refund of the amount paid at the current rate.</li> + <li>full (fixed rate): A full refund of the amount paid at the fixed rate.
                                                                                                                                            + +
                                                                                                                                            + setAmount() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets amount to be refunded
                                                                                                                                            + +
                                                                                                                                            + setBuyerPaysRefundFee() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets whether the buyer should pay the refund fee rather
                                                                                                                                            + +
                                                                                                                                            + setCurrency() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets currency used for the refund
                                                                                                                                            + +
                                                                                                                                            + setGuid() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets guid
                                                                                                                                            + +
                                                                                                                                            + setId() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets id of the refund
                                                                                                                                            + +
                                                                                                                                            + setImmediate() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets immediate value
                                                                                                                                            + +
                                                                                                                                            + setInvoice() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets the id of the invoice being refunded
                                                                                                                                            + +
                                                                                                                                            + setInvoiceId() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets invoice id
                                                                                                                                            + +
                                                                                                                                            + setLastRefundNotification() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets last refund notification
                                                                                                                                            + +
                                                                                                                                            + setNotificationURL() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets URL to which BitPay sends webhook notifications. HTTPS is mandatory.
                                                                                                                                            + +
                                                                                                                                            + setPreview() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets preview
                                                                                                                                            + +
                                                                                                                                            + setReference() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets reference label for refund
                                                                                                                                            + +
                                                                                                                                            + setRefundAddress() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets the wallet address that the refund will return the funds to, added by the customer.
                                                                                                                                            + +
                                                                                                                                            + setRefundFee() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets amount of the refund fee
                                                                                                                                            + +
                                                                                                                                            + setRequestDate() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets request date
                                                                                                                                            + +
                                                                                                                                            + setStatus() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets refund status
                                                                                                                                            + +
                                                                                                                                            + setSupportRequest() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets the ID of the associated support request for the refund.
                                                                                                                                            + +
                                                                                                                                            + setToken() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets API token
                                                                                                                                            + +
                                                                                                                                            + setTransactionAmount() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets amount to be refunded in terms of the transaction currency.
                                                                                                                                            + +
                                                                                                                                            + setTransactionCurrency() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets the currency used for the invoice transaction.
                                                                                                                                            + +
                                                                                                                                            + setTransactionRefundFee() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets the refund fee expressed in terms of transaction currency.
                                                                                                                                            + +
                                                                                                                                            + setTxid() + +  : void +
                                                                                                                                            +
                                                                                                                                            Sets the transaction ID of the refund once executed.
                                                                                                                                            + +
                                                                                                                                            + setType() + +  : void +
                                                                                                                                            +
                                                                                                                                            <p>Sets the type of refund.</p> +<ul> + <li>full (current rate): A full refund of the amount paid at the current rate.</li> + <li>full (fixed rate): A full refund of the amount paid at the fixed rate.
                                                                                                                                            + +
                                                                                                                                            + toArray() + +  : array<string|int, mixed> +
                                                                                                                                            +
                                                                                                                                            Return Refund values as array
                                                                                                                                            + +
                                                                                                                                            + + + + + + +
                                                                                                                                            +

                                                                                                                                            + Properties + +

                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $amount + + + +

                                                                                                                                            + + + + + protected + float + $amount + + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $buyerPaysRefundFee + + + +

                                                                                                                                            + + + + + protected + bool|null + $buyerPaysRefundFee + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $currency + + + +

                                                                                                                                            + + + + + protected + string + $currency + + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $guid + + + +

                                                                                                                                            + + + + + protected + string|null + $guid + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $id + + + +

                                                                                                                                            + + + + + protected + string|null + $id + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $immediate + + + +

                                                                                                                                            + + + + + protected + bool|null + $immediate + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $invoice + + + +

                                                                                                                                            + + + + + protected + string|null + $invoice + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $invoiceId + + + +

                                                                                                                                            + + + + + protected + string|null + $invoiceId + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $lastRefundNotification + + + +

                                                                                                                                            + + + + + protected + string|null + $lastRefundNotification + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $notificationURL + + + +

                                                                                                                                            + + + + + protected + string|null + $notificationURL + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $preview + + + +

                                                                                                                                            + + + + + protected + bool|null + $preview + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $reference + + + +

                                                                                                                                            + + + + + protected + string|null + $reference + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $refundAddress + + + +

                                                                                                                                            + + + + + protected + string|null + $refundAddress + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $refundFee + + + +

                                                                                                                                            + + + + + protected + float|null + $refundFee + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $requestDate + + + +

                                                                                                                                            + + + + + protected + string|null + $requestDate + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $status + + + +

                                                                                                                                            + + + + + protected + string|null + $status + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $supportRequest + + + +

                                                                                                                                            + + + + + protected + string|null + $supportRequest + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $token + + + +

                                                                                                                                            + + + + + protected + string + $token + + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $transactionAmount + + + +

                                                                                                                                            + + + + + protected + float|null + $transactionAmount + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $transactionCurrency + + + +

                                                                                                                                            + + + + + protected + string|null + $transactionCurrency + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $transactionRefundFee + + + +

                                                                                                                                            + + + + + protected + float|null + $transactionRefundFee + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $txid + + + +

                                                                                                                                            + + + + + protected + string|null + $txid + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + $type + + + +

                                                                                                                                            + + + + + protected + string|null + $type + = null + +
                                                                                                                                            + +
                                                                                                                                            + + + +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +

                                                                                                                                            + Methods + +

                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + __construct() + +

                                                                                                                                            + + +

                                                                                                                                            Constructor, create Refund object

                                                                                                                                            + + + public + __construct([float $amount = 0.0 ][, string $currency = "" ][, string $token = "" ]) : mixed + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $amount + : float + = 0.0
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + $currency + : string + = ""
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + $token + : string + = ""
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + mixed + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getAmount() + +

                                                                                                                                            + + +

                                                                                                                                            Gets amount to be refunded in the invoice currency

                                                                                                                                            + + + public + getAmount() : float + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + float + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getBuyerPaysRefundFee() + +

                                                                                                                                            + + +

                                                                                                                                            Gets whether the buyer should pay the refund fee rather +than the merchant

                                                                                                                                            + + + public + getBuyerPaysRefundFee() : bool|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + bool|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getCurrency() + +

                                                                                                                                            + + +

                                                                                                                                            Gets reference currency used for the refund, the same as the currency used to create the invoice

                                                                                                                                            + + + public + getCurrency() : string + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getGuid() + +

                                                                                                                                            + + +

                                                                                                                                            Gets a passthru variable provided by the merchant and designed to be used by the merchant to correlate +the invoice with an order ID in their system

                                                                                                                                            + + + public + getGuid() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getId() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the ID of the refund

                                                                                                                                            + + + public + getId() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getImmediate() + +

                                                                                                                                            + + +

                                                                                                                                            Gets whether the funds should be removed from merchant ledger immediately +on submission or at the time of processing

                                                                                                                                            + + + public + getImmediate() : bool|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + bool|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getInvoice() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the ID of the invoice being refunded

                                                                                                                                            + + + public + getInvoice() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getInvoiceId() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the ID of the invoice to refund

                                                                                                                                            + + + public + getInvoiceId() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getLastRefundNotification() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the last time notification of buyer was attempted

                                                                                                                                            + + + public + getLastRefundNotification() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getNotificationURL() + +

                                                                                                                                            + + +

                                                                                                                                            Gets URL to which BitPay sends webhook notifications. HTTPS is mandatory.

                                                                                                                                            + + + public + getNotificationURL() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getPreview() + +

                                                                                                                                            + + +

                                                                                                                                            Whether to create the refund request as a preview

                                                                                                                                            + + + public + getPreview() : bool|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + bool|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getReference() + +

                                                                                                                                            + + +

                                                                                                                                            Present only if specified in the request to create the refund. This is your reference label for this refund.

                                                                                                                                            + + + public + getReference() : string|null + +

                                                                                                                                            It will be passed-through on each response for you to identify the refund in your system. +Maximum string length is 100 characters

                                                                                                                                            +
                                                                                                                                            + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getRefundAddress() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the wallet address that the refund will return the funds to, added by the customer.

                                                                                                                                            + + + public + getRefundAddress() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getRefundFee() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the amount of refund fee expressed in terms of pricing currency

                                                                                                                                            + + + public + getRefundFee() : float|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + float|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getRequestDate() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the date the refund was requested

                                                                                                                                            + + + public + getRequestDate() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getStatus() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the refund lifecycle status of the request

                                                                                                                                            + + + public + getStatus() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getSupportRequest() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the ID of the associated support request for the refund.

                                                                                                                                            + + + public + getSupportRequest() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getToken() + +

                                                                                                                                            + + +

                                                                                                                                            Gets API token

                                                                                                                                            + + + public + getToken() : string + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getTransactionAmount() + +

                                                                                                                                            + + +

                                                                                                                                            Gets amount to be refunded in terms of the transaction currency.

                                                                                                                                            + + + public + getTransactionAmount() : float|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + float|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getTransactionCurrency() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the currency used for the invoice transaction.

                                                                                                                                            + + + public + getTransactionCurrency() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getTransactionRefundFee() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the refund fee expressed in terms of transaction currency.

                                                                                                                                            + + + public + getTransactionRefundFee() : float|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + float|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getTxid() + +

                                                                                                                                            + + +

                                                                                                                                            Gets the transaction ID of the refund once executed.

                                                                                                                                            + + + public + getTxid() : string|null + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + getType() + +

                                                                                                                                            + + +

                                                                                                                                            <p>Gets the type of refund.</p> +<ul> + <li>full (current rate): A full refund of the amount paid at the current rate.</li> + <li>full (fixed rate): A full refund of the amount paid at the fixed rate.

                                                                                                                                            + + + public + getType() : string|null + +

                                                                                                                                            Note: deprecated refund implementation only.

                                                                                                                                            +
                                                                                                                                          • partial: Part of the invoice is being refunded, rather than the full invoie amount.
                                                                                                                                          • +
                                                                                                                                          • underpayment: The payment was underpaid, a refund in the amount paid will be executed.
                                                                                                                                          • +
                                                                                                                                          • overpayment: The payment was overpaid, a refund in the amount that was overpaid from the invoice price + will be executed.
                                                                                                                                          • +
                                                                                                                                          • declined: The payment was declined, a refund in the full amount paid will be excuted.
                                                                                                                                          • + +
                                                                                                                                            + + + + +
                                                                                                                                            Return values
                                                                                                                                            + string|null + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setAmount() + +

                                                                                                                                            + + +

                                                                                                                                            Sets amount to be refunded

                                                                                                                                            + + + public + setAmount(float $amount) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $amount + : float +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setBuyerPaysRefundFee() + +

                                                                                                                                            + + +

                                                                                                                                            Sets whether the buyer should pay the refund fee rather

                                                                                                                                            + + + public + setBuyerPaysRefundFee(bool $buyerPaysRefundFee) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $buyerPaysRefundFee + : bool +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setCurrency() + +

                                                                                                                                            + + +

                                                                                                                                            Sets currency used for the refund

                                                                                                                                            + + + public + setCurrency(string $currency) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $currency + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setGuid() + +

                                                                                                                                            + + +

                                                                                                                                            Sets guid

                                                                                                                                            + + + public + setGuid(string $guid) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $guid + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setId() + +

                                                                                                                                            + + +

                                                                                                                                            Sets id of the refund

                                                                                                                                            + + + public + setId(string $id) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $id + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setImmediate() + +

                                                                                                                                            + + +

                                                                                                                                            Sets immediate value

                                                                                                                                            + + + public + setImmediate(bool $immediate) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $immediate + : bool +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setInvoice() + +

                                                                                                                                            + + +

                                                                                                                                            Sets the id of the invoice being refunded

                                                                                                                                            + + + public + setInvoice(string $invoice) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $invoice + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setInvoiceId() + +

                                                                                                                                            + + +

                                                                                                                                            Sets invoice id

                                                                                                                                            + + + public + setInvoiceId(string $invoiceId) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $invoiceId + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setLastRefundNotification() + +

                                                                                                                                            + + +

                                                                                                                                            Sets last refund notification

                                                                                                                                            + + + public + setLastRefundNotification(string $lastRefundNotification) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $lastRefundNotification + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setNotificationURL() + +

                                                                                                                                            + + +

                                                                                                                                            Sets URL to which BitPay sends webhook notifications. HTTPS is mandatory.

                                                                                                                                            + + + public + setNotificationURL(string|null $notificationURL) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $notificationURL + : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setPreview() + +

                                                                                                                                            + + +

                                                                                                                                            Sets preview

                                                                                                                                            + + + public + setPreview(bool $preview) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $preview + : bool +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setReference() + +

                                                                                                                                            + + +

                                                                                                                                            Sets reference label for refund

                                                                                                                                            + + + public + setReference(string $reference) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $reference + : string +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setRefundAddress() + +

                                                                                                                                            + + +

                                                                                                                                            Sets the wallet address that the refund will return the funds to, added by the customer.

                                                                                                                                            + + + public + setRefundAddress(string|null $refundAddress) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $refundAddress + : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setRefundFee() + +

                                                                                                                                            + + +

                                                                                                                                            Sets amount of the refund fee

                                                                                                                                            + + + public + setRefundFee(float $refundFee) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $refundFee + : float +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setRequestDate() + +

                                                                                                                                            + + +

                                                                                                                                            Sets request date

                                                                                                                                            + + + public + setRequestDate(string $requestDate) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $requestDate + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setStatus() + +

                                                                                                                                            + + +

                                                                                                                                            Sets refund status

                                                                                                                                            + + + public + setStatus(string $status) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $status + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setSupportRequest() + +

                                                                                                                                            + + +

                                                                                                                                            Sets the ID of the associated support request for the refund.

                                                                                                                                            + + + public + setSupportRequest(string|null $supportRequest) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $supportRequest + : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setToken() + +

                                                                                                                                            + + +

                                                                                                                                            Sets API token

                                                                                                                                            + + + public + setToken(string $token) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $token + : string +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setTransactionAmount() + +

                                                                                                                                            + + +

                                                                                                                                            Sets amount to be refunded in terms of the transaction currency.

                                                                                                                                            + + + public + setTransactionAmount(float|null $transactionAmount) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $transactionAmount + : float|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setTransactionCurrency() + +

                                                                                                                                            + + +

                                                                                                                                            Sets the currency used for the invoice transaction.

                                                                                                                                            + + + public + setTransactionCurrency(string|null $transactionCurrency) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $transactionCurrency + : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setTransactionRefundFee() + +

                                                                                                                                            + + +

                                                                                                                                            Sets the refund fee expressed in terms of transaction currency.

                                                                                                                                            + + + public + setTransactionRefundFee(float|null $transactionRefundFee) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $transactionRefundFee + : float|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setTxid() + +

                                                                                                                                            + + +

                                                                                                                                            Sets the transaction ID of the refund once executed.

                                                                                                                                            + + + public + setTxid(string|null $txid) : void + + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $txid + : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + setType() + +

                                                                                                                                            + + +

                                                                                                                                            <p>Sets the type of refund.</p> +<ul> + <li>full (current rate): A full refund of the amount paid at the current rate.</li> + <li>full (fixed rate): A full refund of the amount paid at the fixed rate.

                                                                                                                                            + + + public + setType(string|null $type) : void + +

                                                                                                                                            Note: deprecated refund implementation only.

                                                                                                                                            +
                                                                                                                                          • partial: Part of the invoice is being refunded, rather than the full invoie amount.
                                                                                                                                          • +
                                                                                                                                          • underpayment: The payment was underpaid, a refund in the amount paid will be executed.
                                                                                                                                          • +
                                                                                                                                          • overpayment: The payment was overpaid, a refund in the amount that was overpaid from the invoice price + will be executed.
                                                                                                                                          • +
                                                                                                                                          • declined: The payment was declined, a refund in the full amount paid will be excuted.
                                                                                                                                          • + +
                                                                                                                                            + +
                                                                                                                                            Parameters
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + $type + : string|null +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            Return values
                                                                                                                                            + void + — + + +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            + toArray() + +

                                                                                                                                            + + +

                                                                                                                                            Return Refund values as array

                                                                                                                                            + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                            Return values
                                                                                                                                            + array<string|int, mixed> + — + + +
                                                                                                                                            +
                                                                                                                                            + + + + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            Search results

                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + + +
                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundInfo.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundInfo.html new file mode 100644 index 0000000..ae3a834 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundInfo.html @@ -0,0 +1,800 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                              +

                                                                                                                                              Documentation

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

                                                                                                                                              + RefundInfo + + +
                                                                                                                                              + in package + +
                                                                                                                                              + + +

                                                                                                                                              + + + +

                                                                                                                                              For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice.

                                                                                                                                              + + + +
                                                                                                                                              + Tags + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + see +
                                                                                                                                              +
                                                                                                                                              + +

                                                                                                                                              REST API Invoices

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + + + + + + +

                                                                                                                                              + Table of Contents + +

                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + $amounts + +  : array<string|int, mixed>|null +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              + $currency + +  : string|null +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              + $supportRequest + +  : string|null +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              + __construct() + +  : mixed +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              + getAmounts() + +  : array<string|int, mixed>|null +
                                                                                                                                              +
                                                                                                                                              Gets amounts
                                                                                                                                              + +
                                                                                                                                              + getCurrency() + +  : string|null +
                                                                                                                                              +
                                                                                                                                              Gets currency
                                                                                                                                              + +
                                                                                                                                              + getSupportRequest() + +  : string|null +
                                                                                                                                              +
                                                                                                                                              Gets support request
                                                                                                                                              + +
                                                                                                                                              + setAmounts() + +  : void +
                                                                                                                                              +
                                                                                                                                              Set amounts
                                                                                                                                              + +
                                                                                                                                              + setCurrency() + +  : void +
                                                                                                                                              +
                                                                                                                                              Sets currency
                                                                                                                                              + +
                                                                                                                                              + setSupportRequest() + +  : void +
                                                                                                                                              +
                                                                                                                                              Sets support request
                                                                                                                                              + +
                                                                                                                                              + toArray() + +  : array<string|int, mixed> +
                                                                                                                                              +
                                                                                                                                              Gets Refund info as array
                                                                                                                                              + +
                                                                                                                                              + + + + + + +
                                                                                                                                              +

                                                                                                                                              + Properties + +

                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + $amounts + + + +

                                                                                                                                              + + + + + protected + array<string|int, mixed>|null + $amounts + = null + +
                                                                                                                                              + +
                                                                                                                                              + + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + $currency + + + +

                                                                                                                                              + + + + + protected + string|null + $currency + = null + +
                                                                                                                                              + +
                                                                                                                                              + + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + $supportRequest + + + +

                                                                                                                                              + + + + + protected + string|null + $supportRequest + = null + +
                                                                                                                                              + +
                                                                                                                                              + + + +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +

                                                                                                                                              + Methods + +

                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + __construct() + +

                                                                                                                                              + + + + + public + __construct() : mixed + +
                                                                                                                                              + + + + +
                                                                                                                                              Return values
                                                                                                                                              + mixed + — + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + getAmounts() + +

                                                                                                                                              + + +

                                                                                                                                              Gets amounts

                                                                                                                                              + + + public + getAmounts() : array<string|int, mixed>|null + +

                                                                                                                                              For a refunded invoice, this object will contain the crypto currency amount +refunded by BitPay to the consumer (in the selected transactionCurrency) +and the equivalent refunded amount from the invoice in the given currency +(thus linked to the amount debited from the merchant account to cover the refund)

                                                                                                                                              +
                                                                                                                                              + + + + +
                                                                                                                                              Return values
                                                                                                                                              + array<string|int, mixed>|null + — +

                                                                                                                                              the amounts

                                                                                                                                              +
                                                                                                                                              + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + getCurrency() + +

                                                                                                                                              + + +

                                                                                                                                              Gets currency

                                                                                                                                              + + + public + getCurrency() : string|null + +

                                                                                                                                              For a refunded invoice, this field will contain the base currency selected for the refund. +Typically the same as the invoice currency.

                                                                                                                                              +
                                                                                                                                              + + + + +
                                                                                                                                              Return values
                                                                                                                                              + string|null + — +

                                                                                                                                              the currency

                                                                                                                                              +
                                                                                                                                              + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + getSupportRequest() + +

                                                                                                                                              + + +

                                                                                                                                              Gets support request

                                                                                                                                              + + + public + getSupportRequest() : string|null + +

                                                                                                                                              For a refunded invoice, this field will contain the refund requestId once executed.

                                                                                                                                              +
                                                                                                                                              + + + + +
                                                                                                                                              Return values
                                                                                                                                              + string|null + — +

                                                                                                                                              the support request

                                                                                                                                              +
                                                                                                                                              + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + setAmounts() + +

                                                                                                                                              + + +

                                                                                                                                              Set amounts

                                                                                                                                              + + + public + setAmounts(array<string|int, mixed> $amounts) : void + +

                                                                                                                                              For a refunded invoice, this object will contain the crypto currency amount +refunded by BitPay to the consumer (in the selected transactionCurrency) +and the equivalent refunded amount from the invoice in the given currency +(thus linked to the amount debited from the merchant account to cover the refund)

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              Parameters
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + $amounts + : array<string|int, mixed> +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              the amounts

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + + + +
                                                                                                                                              Return values
                                                                                                                                              + void + — + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + setCurrency() + +

                                                                                                                                              + + +

                                                                                                                                              Sets currency

                                                                                                                                              + + + public + setCurrency(string $currency) : void + +

                                                                                                                                              For a refunded invoice, this field will contain the base currency selected for the refund. +Typically the same as the invoice currency.

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              Parameters
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + $currency + : string +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              the currency

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + + + +
                                                                                                                                              Return values
                                                                                                                                              + void + — + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + setSupportRequest() + +

                                                                                                                                              + + +

                                                                                                                                              Sets support request

                                                                                                                                              + + + public + setSupportRequest(string $supportRequest) : void + +

                                                                                                                                              For a refunded invoice, this field will contain the refund requestId once executed.

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              Parameters
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + $supportRequest + : string +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              the support request

                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + + + +
                                                                                                                                              Return values
                                                                                                                                              + void + — + + +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              + toArray() + +

                                                                                                                                              + + +

                                                                                                                                              Gets Refund info as array

                                                                                                                                              + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                              Return values
                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                              refund info as array

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

                                                                                                                                              Search results

                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + + +
                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundStatus.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundStatus.html new file mode 100644 index 0000000..e9dcbfc --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundStatus.html @@ -0,0 +1,499 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                +

                                                                                                                                                Documentation

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

                                                                                                                                                + RefundStatus +
                                                                                                                                                + in + +
                                                                                                                                                +

                                                                                                                                                + + + +

                                                                                                                                                Refund status list

                                                                                                                                                + + + +
                                                                                                                                                + Tags + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + see +
                                                                                                                                                +
                                                                                                                                                + +

                                                                                                                                                REST API Invoices

                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                + + + + + + +

                                                                                                                                                + Table of Contents + +

                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                + CANCELLED + +  = "cancelled" +
                                                                                                                                                +
                                                                                                                                                Refund was canceled by merchant action. Immediate refunds cannot be canceled outside of preview state
                                                                                                                                                + +
                                                                                                                                                + CREATED + +  = "created" +
                                                                                                                                                +
                                                                                                                                                Funds deducted/allocated if immediate, will proceed when transactions are confirmed +and the required data is collected
                                                                                                                                                + +
                                                                                                                                                + FAILURE + +  = "failure" +
                                                                                                                                                +
                                                                                                                                                Refund failed during processing (this is really more of an internal state)
                                                                                                                                                + +
                                                                                                                                                + PENDING + +  = "pending" +
                                                                                                                                                +
                                                                                                                                                Refund is in process of being fulfilled
                                                                                                                                                + +
                                                                                                                                                + PREVIEW + +  = "preview" +
                                                                                                                                                +
                                                                                                                                                No funds deducted, refund will not proceed automatically
                                                                                                                                                + +
                                                                                                                                                + SUCCESS + +  = "success" +
                                                                                                                                                +
                                                                                                                                                Refund was successfully processed
                                                                                                                                                + +
                                                                                                                                                + + + + +
                                                                                                                                                +

                                                                                                                                                + Constants + +

                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                + CANCELLED + +

                                                                                                                                                + + + +

                                                                                                                                                Refund was canceled by merchant action. Immediate refunds cannot be canceled outside of preview state

                                                                                                                                                + + + public + mixed + CANCELLED + = "cancelled" + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                + CREATED + +

                                                                                                                                                + + + +

                                                                                                                                                Funds deducted/allocated if immediate, will proceed when transactions are confirmed +and the required data is collected

                                                                                                                                                + + + public + mixed + CREATED + = "created" + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                + FAILURE + +

                                                                                                                                                + + + +

                                                                                                                                                Refund failed during processing (this is really more of an internal state)

                                                                                                                                                + + + public + mixed + FAILURE + = "failure" + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                + PENDING + +

                                                                                                                                                + + + +

                                                                                                                                                Refund is in process of being fulfilled

                                                                                                                                                + + + public + mixed + PENDING + = "pending" + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                + PREVIEW + +

                                                                                                                                                + + + +

                                                                                                                                                No funds deducted, refund will not proceed automatically

                                                                                                                                                + + + public + mixed + PREVIEW + = "preview" + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                + SUCCESS + +

                                                                                                                                                + + + +

                                                                                                                                                Refund was successfully processed

                                                                                                                                                + + + public + mixed + SUCCESS + = "success" + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                + + + + + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                Search results

                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + + +
                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundWebhook.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundWebhook.html new file mode 100644 index 0000000..04c1f18 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-RefundWebhook.html @@ -0,0 +1,1827 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                  +

                                                                                                                                                  Documentation

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

                                                                                                                                                  + RefundWebhook + + +
                                                                                                                                                  + in package + +
                                                                                                                                                  + + +

                                                                                                                                                  + + + +

                                                                                                                                                  Class RefundWebhook

                                                                                                                                                  + + + +
                                                                                                                                                  + Tags + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + see +
                                                                                                                                                  +
                                                                                                                                                  + +

                                                                                                                                                  Webhooks refunds

                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + + + + +

                                                                                                                                                  + Table of Contents + +

                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + $amount + +  : float +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $buyerPaysRefundFee + +  : bool +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $currency + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $id + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $immediate + +  : bool +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $invoice + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $lastRefundNotification + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $refundFee + +  : float +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $requestDate + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $status + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + $supportRequest + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getAmount() + +  : float +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getBuyerPaysRefundFee() + +  : bool +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getCurrency() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getId() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getImmediate() + +  : bool +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getInvoice() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getLastRefundNotification() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getRefundFee() + +  : float +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getRequestDate() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getStatus() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + getSupportRequest() + +  : string +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setAmount() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setBuyerPaysRefundFee() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setCurrency() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setId() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setImmediate() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setInvoice() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setLastRefundNotification() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setRefundFee() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setRequestDate() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setStatus() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + setSupportRequest() + +  : void +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  + + + + + + +
                                                                                                                                                  +

                                                                                                                                                  + Properties + +

                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $amount + + + +

                                                                                                                                                  + + + + + protected + float + $amount + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $buyerPaysRefundFee + + + +

                                                                                                                                                  + + + + + protected + bool + $buyerPaysRefundFee + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $currency + + + +

                                                                                                                                                  + + + + + protected + string + $currency + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $id + + + +

                                                                                                                                                  + + + + + protected + string + $id + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $immediate + + + +

                                                                                                                                                  + + + + + protected + bool + $immediate + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $invoice + + + +

                                                                                                                                                  + + + + + protected + string + $invoice + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $lastRefundNotification + + + +

                                                                                                                                                  + + + + + protected + string + $lastRefundNotification + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $refundFee + + + +

                                                                                                                                                  + + + + + protected + float + $refundFee + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $requestDate + + + +

                                                                                                                                                  + + + + + protected + string + $requestDate + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $status + + + +

                                                                                                                                                  + + + + + protected + string + $status + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + $supportRequest + + + +

                                                                                                                                                  + + + + + protected + string + $supportRequest + + +
                                                                                                                                                  + +
                                                                                                                                                  + + + +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +

                                                                                                                                                  + Methods + +

                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + __construct() + +

                                                                                                                                                  + + + + + public + __construct() : mixed + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + mixed + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getAmount() + +

                                                                                                                                                  + + + + + public + getAmount() : float + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + float + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getBuyerPaysRefundFee() + +

                                                                                                                                                  + + + + + public + getBuyerPaysRefundFee() : bool + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + bool + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getCurrency() + +

                                                                                                                                                  + + + + + public + getCurrency() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getId() + +

                                                                                                                                                  + + + + + public + getId() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getImmediate() + +

                                                                                                                                                  + + + + + public + getImmediate() : bool + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + bool + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getInvoice() + +

                                                                                                                                                  + + + + + public + getInvoice() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getLastRefundNotification() + +

                                                                                                                                                  + + + + + public + getLastRefundNotification() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getRefundFee() + +

                                                                                                                                                  + + + + + public + getRefundFee() : float + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + float + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getRequestDate() + +

                                                                                                                                                  + + + + + public + getRequestDate() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getStatus() + +

                                                                                                                                                  + + + + + public + getStatus() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + getSupportRequest() + +

                                                                                                                                                  + + + + + public + getSupportRequest() : string + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + string + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setAmount() + +

                                                                                                                                                  + + + + + public + setAmount(float $amount) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $amount + : float +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setBuyerPaysRefundFee() + +

                                                                                                                                                  + + + + + public + setBuyerPaysRefundFee(bool $buyerPaysRefundFee) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $buyerPaysRefundFee + : bool +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setCurrency() + +

                                                                                                                                                  + + + + + public + setCurrency(string $currency) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $currency + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setId() + +

                                                                                                                                                  + + + + + public + setId(string $id) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $id + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setImmediate() + +

                                                                                                                                                  + + + + + public + setImmediate(bool $immediate) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $immediate + : bool +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setInvoice() + +

                                                                                                                                                  + + + + + public + setInvoice(string $invoice) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $invoice + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setLastRefundNotification() + +

                                                                                                                                                  + + + + + public + setLastRefundNotification(string $lastRefundNotification) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $lastRefundNotification + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setRefundFee() + +

                                                                                                                                                  + + + + + public + setRefundFee(float $refundFee) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $refundFee + : float +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setRequestDate() + +

                                                                                                                                                  + + + + + public + setRequestDate(string $requestDate) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $requestDate + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setStatus() + +

                                                                                                                                                  + + + + + public + setStatus(string $status) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $status + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + setSupportRequest() + +

                                                                                                                                                  + + + + + public + setSupportRequest(string $supportRequest) : void + +
                                                                                                                                                  + +
                                                                                                                                                  Parameters
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + $supportRequest + : string +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + void + — + + +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  + toArray() + +

                                                                                                                                                  + + + + + public + toArray() : array<string|int, mixed> + +
                                                                                                                                                  + + + + +
                                                                                                                                                  Return values
                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                  +
                                                                                                                                                  + + + + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  Search results

                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + + +
                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Shopper.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Shopper.html new file mode 100644 index 0000000..cfefbb7 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-Shopper.html @@ -0,0 +1,518 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                    +

                                                                                                                                                    Documentation

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

                                                                                                                                                    + Shopper + + +
                                                                                                                                                    + in package + +
                                                                                                                                                    + + +

                                                                                                                                                    + + + +

                                                                                                                                                    This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID.

                                                                                                                                                    + +

                                                                                                                                                    See the following blogpost for more information.

                                                                                                                                                    +
                                                                                                                                                    + + +
                                                                                                                                                    + Tags + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + see +
                                                                                                                                                    +
                                                                                                                                                    + +

                                                                                                                                                    REST API Invoices

                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + + + + + + +

                                                                                                                                                    + Table of Contents + +

                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + $user + +  : string|null +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    + __construct() + +  : mixed +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    + getUser() + +  : string|null +
                                                                                                                                                    +
                                                                                                                                                    Gets user
                                                                                                                                                    + +
                                                                                                                                                    + setUser() + +  : void +
                                                                                                                                                    +
                                                                                                                                                    Sets user
                                                                                                                                                    + +
                                                                                                                                                    + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                    +
                                                                                                                                                    Gets Shopper as array
                                                                                                                                                    + +
                                                                                                                                                    + + + + + + +
                                                                                                                                                    +

                                                                                                                                                    + Properties + +

                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    + $user + + + +

                                                                                                                                                    + + + + + protected + string|null + $user + = null + +
                                                                                                                                                    + +
                                                                                                                                                    + + + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +

                                                                                                                                                    + Methods + +

                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    + __construct() + +

                                                                                                                                                    + + + + + public + __construct() : mixed + +
                                                                                                                                                    + + + + +
                                                                                                                                                    Return values
                                                                                                                                                    + mixed + — + + +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    + getUser() + +

                                                                                                                                                    + + +

                                                                                                                                                    Gets user

                                                                                                                                                    + + + public + getUser() : string|null + +

                                                                                                                                                    If a shopper signs in on the invoice using his BitPay ID, +this field will contain the unique ID assigned by BitPay to this shopper.

                                                                                                                                                    +
                                                                                                                                                    + + + + +
                                                                                                                                                    Return values
                                                                                                                                                    + string|null + — +

                                                                                                                                                    the user

                                                                                                                                                    +
                                                                                                                                                    + + +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    + setUser() + +

                                                                                                                                                    + + +

                                                                                                                                                    Sets user

                                                                                                                                                    + + + public + setUser(string $user) : void + +

                                                                                                                                                    If a shopper signs in on the invoice using his BitPay ID, +this field will contain the unique ID assigned by BitPay to this shopper.

                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    Parameters
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + $user + : string +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    the user

                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + + + +
                                                                                                                                                    Return values
                                                                                                                                                    + void + — + + +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    + toArray() + +

                                                                                                                                                    + + +

                                                                                                                                                    Gets Shopper as array

                                                                                                                                                    + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                    Return values
                                                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                                                    shopper as array

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

                                                                                                                                                    Search results

                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      + + +
                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html new file mode 100644 index 0000000..031ec3e --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html @@ -0,0 +1,1816 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                      +

                                                                                                                                                      Documentation

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

                                                                                                                                                      + SupportedTransactionCurrencies + + +
                                                                                                                                                      + in package + +
                                                                                                                                                      + + +

                                                                                                                                                      + + + +

                                                                                                                                                      Class SupportedTransactionCurrencies. The currencies that may be used to pay this invoice.

                                                                                                                                                      + + + +
                                                                                                                                                      + Tags + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      + see +
                                                                                                                                                      +
                                                                                                                                                      + +

                                                                                                                                                      REST API Invoices

                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      + + + + + + +

                                                                                                                                                      + Table of Contents + +

                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      + $bch + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $btc + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $busd + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $doge + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $eth + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $gusd + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $ltc + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $pax + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $usdc + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $wbtc + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + $xrp + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                      +
                                                                                                                                                      SupportedTransactionCurrencies constructor.
                                                                                                                                                      + +
                                                                                                                                                      + getBCH() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets BCH.
                                                                                                                                                      + +
                                                                                                                                                      + getBTC() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets BTC.
                                                                                                                                                      + +
                                                                                                                                                      + getBUSD() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets BUSD.
                                                                                                                                                      + +
                                                                                                                                                      + getDOGE() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets DOGE.
                                                                                                                                                      + +
                                                                                                                                                      + getETH() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets ETH.
                                                                                                                                                      + +
                                                                                                                                                      + getGUSD() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets GUSD.
                                                                                                                                                      + +
                                                                                                                                                      + getLTC() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets LTC.
                                                                                                                                                      + +
                                                                                                                                                      + getPAX() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets PAX.
                                                                                                                                                      + +
                                                                                                                                                      + getUSDC() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets USDC.
                                                                                                                                                      + +
                                                                                                                                                      + getWBTC() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets WBTC.
                                                                                                                                                      + +
                                                                                                                                                      + getXRP() + +  : SupportedTransactionCurrency +
                                                                                                                                                      +
                                                                                                                                                      Gets XRP.
                                                                                                                                                      + +
                                                                                                                                                      + setBCH() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets BCH.
                                                                                                                                                      + +
                                                                                                                                                      + setBTC() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets BTC.
                                                                                                                                                      + +
                                                                                                                                                      + setBUSD() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets BUSD.
                                                                                                                                                      + +
                                                                                                                                                      + setDOGE() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets DOGE.
                                                                                                                                                      + +
                                                                                                                                                      + setETH() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets ETH.
                                                                                                                                                      + +
                                                                                                                                                      + setGUSD() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets GUSD.
                                                                                                                                                      + +
                                                                                                                                                      + setLTC() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets LTC.
                                                                                                                                                      + +
                                                                                                                                                      + setPAX() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets PAX.
                                                                                                                                                      + +
                                                                                                                                                      + setUSDC() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets USDC.
                                                                                                                                                      + +
                                                                                                                                                      + setWBTC() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets WBTC.
                                                                                                                                                      + +
                                                                                                                                                      + setXRP() + +  : void +
                                                                                                                                                      +
                                                                                                                                                      Sets XRP.
                                                                                                                                                      + +
                                                                                                                                                      + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                      +
                                                                                                                                                      Return array with details for currencies.
                                                                                                                                                      + +
                                                                                                                                                      + + + + + + +
                                                                                                                                                      +

                                                                                                                                                      + Properties + +

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

                                                                                                                                                      + Methods + +

                                                                                                                                                      +
                                                                                                                                                      +

                                                                                                                                                      + __construct() + +

                                                                                                                                                      + + +

                                                                                                                                                      SupportedTransactionCurrencies constructor.

                                                                                                                                                      + + + public + __construct() : mixed + + + + + +
                                                                                                                                                      Return values
                                                                                                                                                      + mixed + — + + +
                                                                                                                                                      + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                      +

                                                                                                                                                      + toArray() + +

                                                                                                                                                      + + +

                                                                                                                                                      Return array with details for currencies.

                                                                                                                                                      + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                      Return values
                                                                                                                                                      + array<string|int, mixed> + — + + +
                                                                                                                                                      +
                                                                                                                                                      + + + + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +

                                                                                                                                                      Search results

                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + + +
                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html new file mode 100644 index 0000000..be7d626 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html @@ -0,0 +1,640 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                        +

                                                                                                                                                        Documentation

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

                                                                                                                                                        + SupportedTransactionCurrency + + +
                                                                                                                                                        + in package + +
                                                                                                                                                        + + +

                                                                                                                                                        + + + +

                                                                                                                                                        Class SupportedTransactionCurrency +The currency that may be used to pay this invoice. The values are objects with an "enabled" boolean and option.

                                                                                                                                                        + +

                                                                                                                                                        An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice.

                                                                                                                                                        +
                                                                                                                                                        + + +
                                                                                                                                                        + Tags + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + see +
                                                                                                                                                        +
                                                                                                                                                        + +

                                                                                                                                                        REST API Invoices

                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + + + + + + +

                                                                                                                                                        + Table of Contents + +

                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + $enabled + +  : bool|null +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        + $reason + +  : string|null +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                        +
                                                                                                                                                        SupportedTransactionCurrency constructor.
                                                                                                                                                        + +
                                                                                                                                                        + getEnabled() + +  : bool|null +
                                                                                                                                                        +
                                                                                                                                                        Sets enabled.
                                                                                                                                                        + +
                                                                                                                                                        + getReason() + +  : string|null +
                                                                                                                                                        +
                                                                                                                                                        Sets reason.
                                                                                                                                                        + +
                                                                                                                                                        + setEnabled() + +  : void +
                                                                                                                                                        +
                                                                                                                                                        Gets enabled.
                                                                                                                                                        + +
                                                                                                                                                        + setReason() + +  : void +
                                                                                                                                                        +
                                                                                                                                                        Gets reason.
                                                                                                                                                        + +
                                                                                                                                                        + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                        +
                                                                                                                                                        Return array with enabled and reason value.
                                                                                                                                                        + +
                                                                                                                                                        + + + + + + +
                                                                                                                                                        +

                                                                                                                                                        + Properties + +

                                                                                                                                                        + + +
                                                                                                                                                        + +
                                                                                                                                                        +

                                                                                                                                                        + Methods + +

                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        + __construct() + +

                                                                                                                                                        + + +

                                                                                                                                                        SupportedTransactionCurrency constructor.

                                                                                                                                                        + + + public + __construct() : mixed + + + + + +
                                                                                                                                                        Return values
                                                                                                                                                        + mixed + — + + +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        + getEnabled() + +

                                                                                                                                                        + + +

                                                                                                                                                        Sets enabled.

                                                                                                                                                        + + + public + getEnabled() : bool|null + + + + + +
                                                                                                                                                        Return values
                                                                                                                                                        + bool|null + — + + +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        + getReason() + +

                                                                                                                                                        + + +

                                                                                                                                                        Sets reason.

                                                                                                                                                        + + + public + getReason() : string|null + + + + + +
                                                                                                                                                        Return values
                                                                                                                                                        + string|null + — + + +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        + setEnabled() + +

                                                                                                                                                        + + +

                                                                                                                                                        Gets enabled.

                                                                                                                                                        + + + public + setEnabled(bool $enabled) : void + + +
                                                                                                                                                        Parameters
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + $enabled + : bool +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + + + +
                                                                                                                                                        Return values
                                                                                                                                                        + void + — + + +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        + setReason() + +

                                                                                                                                                        + + +

                                                                                                                                                        Gets reason.

                                                                                                                                                        + + + public + setReason(string $reason) : void + + +
                                                                                                                                                        Parameters
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + $reason + : string +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + + + +
                                                                                                                                                        Return values
                                                                                                                                                        + void + — + + +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        + toArray() + +

                                                                                                                                                        + + +

                                                                                                                                                        Return array with enabled and reason value.

                                                                                                                                                        + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                        Return values
                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                        +
                                                                                                                                                        + + + + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        Search results

                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + + +
                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-UniversalCodes.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-UniversalCodes.html new file mode 100644 index 0000000..3435a53 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Invoice-UniversalCodes.html @@ -0,0 +1,651 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                          +

                                                                                                                                                          Documentation

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

                                                                                                                                                          + UniversalCodes + + +
                                                                                                                                                          + in package + +
                                                                                                                                                          + + +

                                                                                                                                                          + + + +

                                                                                                                                                          Object containing wallet-specific URLs for payment protocol.

                                                                                                                                                          + + + +
                                                                                                                                                          + Tags + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + see +
                                                                                                                                                          +
                                                                                                                                                          + +

                                                                                                                                                          REST API Invoices

                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + + + + + + +

                                                                                                                                                          + Table of Contents + +

                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + $paymentString + +  : string|null +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          + $verificationLink + +  : string|null +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          + getPaymentString() + +  : string|null +
                                                                                                                                                          +
                                                                                                                                                          Gets payment string
                                                                                                                                                          + +
                                                                                                                                                          + getVerificationLink() + +  : string|null +
                                                                                                                                                          +
                                                                                                                                                          Gets verification link
                                                                                                                                                          + +
                                                                                                                                                          + setPaymentString() + +  : void +
                                                                                                                                                          +
                                                                                                                                                          Sets payment string
                                                                                                                                                          + +
                                                                                                                                                          + setVerificationLink() + +  : void +
                                                                                                                                                          +
                                                                                                                                                          Sets verification link
                                                                                                                                                          + +
                                                                                                                                                          + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                          +
                                                                                                                                                          Gets Universal codes as array
                                                                                                                                                          + +
                                                                                                                                                          + + + + + + +
                                                                                                                                                          +

                                                                                                                                                          + Properties + +

                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          + $paymentString + + + +

                                                                                                                                                          + + + + + protected + string|null + $paymentString + = null + +
                                                                                                                                                          + +
                                                                                                                                                          + + + +
                                                                                                                                                          +
                                                                                                                                                          + + + + + + protected + string|null + $verificationLink + = null + +
                                                                                                                                                          + +
                                                                                                                                                          + + + +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +

                                                                                                                                                          + Methods + +

                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          + __construct() + +

                                                                                                                                                          + + + + + public + __construct() : mixed + +
                                                                                                                                                          + + + + +
                                                                                                                                                          Return values
                                                                                                                                                          + mixed + — + + +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          + getPaymentString() + +

                                                                                                                                                          + + +

                                                                                                                                                          Gets payment string

                                                                                                                                                          + + + public + getPaymentString() : string|null + +

                                                                                                                                                          Payment protocol URL for selected wallet, defaults to BitPay URL if no wallet selected.

                                                                                                                                                          +
                                                                                                                                                          + + + + +
                                                                                                                                                          Return values
                                                                                                                                                          + string|null + — +

                                                                                                                                                          the payment string

                                                                                                                                                          +
                                                                                                                                                          + + +
                                                                                                                                                          +
                                                                                                                                                          + + + +

                                                                                                                                                          Gets verification link

                                                                                                                                                          + + + public + getVerificationLink() : string|null + +

                                                                                                                                                          Link to bring user to BitPay ID flow, only present when bitpayIdRequired is true.

                                                                                                                                                          +
                                                                                                                                                          + + + + +
                                                                                                                                                          Return values
                                                                                                                                                          + string|null + — + + +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          + setPaymentString() + +

                                                                                                                                                          + + +

                                                                                                                                                          Sets payment string

                                                                                                                                                          + + + public + setPaymentString(string $paymentString) : void + +

                                                                                                                                                          Payment protocol URL for selected wallet, defaults to BitPay URL if no wallet selected.

                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          Parameters
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + $paymentString + : string +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          the payment string

                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + + + +
                                                                                                                                                          Return values
                                                                                                                                                          + void + — + + +
                                                                                                                                                          +
                                                                                                                                                          + + + +

                                                                                                                                                          Sets verification link

                                                                                                                                                          + + + public + setVerificationLink(string $verificationLink) : void + +

                                                                                                                                                          Link to bring user to BitPay ID flow, only present when bitpayIdRequired is true.

                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          Parameters
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + $verificationLink + : string +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          the verification link

                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + + + +
                                                                                                                                                          Return values
                                                                                                                                                          + void + — + + +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          + toArray() + +

                                                                                                                                                          + + +

                                                                                                                                                          Gets Universal codes as array

                                                                                                                                                          + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                          Return values
                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                          universal codes as array

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

                                                                                                                                                          Search results

                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Buyer.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Buyer.html new file mode 100644 index 0000000..1b9f8be --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Buyer.html @@ -0,0 +1,1725 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                            +

                                                                                                                                                            Documentation

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

                                                                                                                                                            + Buyer + + +
                                                                                                                                                            + in package + +
                                                                                                                                                            + + +

                                                                                                                                                            + + + +

                                                                                                                                                            Class Buyer

                                                                                                                                                            + + + +
                                                                                                                                                            + Tags + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + see +
                                                                                                                                                            +
                                                                                                                                                            + +

                                                                                                                                                            REST API Ledgers

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + + + + +

                                                                                                                                                            + Table of Contents + +

                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + $address1 + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $address2 + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $city + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $country + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $email + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $name + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $notify + +  : bool|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $phone + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $state + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + $zip + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + __construct() + +  : mixed +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            + getAddress1() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets address 1
                                                                                                                                                            + +
                                                                                                                                                            + getAddress2() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets address2
                                                                                                                                                            + +
                                                                                                                                                            + getCity() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets city
                                                                                                                                                            + +
                                                                                                                                                            + getCountry() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets country
                                                                                                                                                            + +
                                                                                                                                                            + getEmail() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets email
                                                                                                                                                            + +
                                                                                                                                                            + getName() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets name
                                                                                                                                                            + +
                                                                                                                                                            + getNotify() + +  : bool|null +
                                                                                                                                                            +
                                                                                                                                                            Gets notify
                                                                                                                                                            + +
                                                                                                                                                            + getPhone() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets phone
                                                                                                                                                            + +
                                                                                                                                                            + getState() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets state
                                                                                                                                                            + +
                                                                                                                                                            + getZip() + +  : string|null +
                                                                                                                                                            +
                                                                                                                                                            Gets zip
                                                                                                                                                            + +
                                                                                                                                                            + setAddress1() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets address1
                                                                                                                                                            + +
                                                                                                                                                            + setAddress2() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets address2
                                                                                                                                                            + +
                                                                                                                                                            + setCity() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets city
                                                                                                                                                            + +
                                                                                                                                                            + setCountry() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets country
                                                                                                                                                            + +
                                                                                                                                                            + setEmail() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets email
                                                                                                                                                            + +
                                                                                                                                                            + setName() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets name
                                                                                                                                                            + +
                                                                                                                                                            + setNotify() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets notify
                                                                                                                                                            + +
                                                                                                                                                            + setPhone() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets phone
                                                                                                                                                            + +
                                                                                                                                                            + setState() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets state
                                                                                                                                                            + +
                                                                                                                                                            + setZip() + +  : void +
                                                                                                                                                            +
                                                                                                                                                            Sets zip
                                                                                                                                                            + +
                                                                                                                                                            + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                            +
                                                                                                                                                            Gets Buyer as array
                                                                                                                                                            + +
                                                                                                                                                            + + + + + + +
                                                                                                                                                            +

                                                                                                                                                            + Properties + +

                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $address1 + + + +

                                                                                                                                                            + + + + + protected + string|null + $address1 + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $address2 + + + +

                                                                                                                                                            + + + + + protected + string|null + $address2 + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $city + + + +

                                                                                                                                                            + + + + + protected + string|null + $city + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $country + + + +

                                                                                                                                                            + + + + + protected + string|null + $country + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $email + + + +

                                                                                                                                                            + + + + + protected + string|null + $email + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $name + + + +

                                                                                                                                                            + + + + + protected + string|null + $name + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $notify + + + +

                                                                                                                                                            + + + + + protected + bool|null + $notify + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $phone + + + +

                                                                                                                                                            + + + + + protected + string|null + $phone + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $state + + + +

                                                                                                                                                            + + + + + protected + string|null + $state + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + $zip + + + +

                                                                                                                                                            + + + + + protected + string|null + $zip + = null + +
                                                                                                                                                            + +
                                                                                                                                                            + + + +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +

                                                                                                                                                            + Methods + +

                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + __construct() + +

                                                                                                                                                            + + + + + public + __construct() : mixed + +
                                                                                                                                                            + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + mixed + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getAddress1() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets address 1

                                                                                                                                                            + + + public + getAddress1() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the address1

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getAddress2() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets address2

                                                                                                                                                            + + + public + getAddress2() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the address2

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getCity() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets city

                                                                                                                                                            + + + public + getCity() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the city

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getCountry() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets country

                                                                                                                                                            + + + public + getCountry() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the country

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getEmail() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets email

                                                                                                                                                            + + + public + getEmail() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the email

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getName() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets name

                                                                                                                                                            + + + public + getName() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the name

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getNotify() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets notify

                                                                                                                                                            + + + public + getNotify() : bool|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + bool|null + — +

                                                                                                                                                            notify

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getPhone() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets phone

                                                                                                                                                            + + + public + getPhone() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the phone

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getState() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets state

                                                                                                                                                            + + + public + getState() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the state

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + getZip() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets zip

                                                                                                                                                            + + + public + getZip() : string|null + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + string|null + — +

                                                                                                                                                            the zip

                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setAddress1() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets address1

                                                                                                                                                            + + + public + setAddress1(string $address1) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $address1 + : string +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setAddress2() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets address2

                                                                                                                                                            + + + public + setAddress2(string $address2) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $address2 + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the address2

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setCity() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets city

                                                                                                                                                            + + + public + setCity(string $city) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $city + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the city

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setCountry() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets country

                                                                                                                                                            + + + public + setCountry(string $country) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $country + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the country

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setEmail() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets email

                                                                                                                                                            + + + public + setEmail(string $email) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $email + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the email

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setName() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets name

                                                                                                                                                            + + + public + setName(string $name) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $name + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the name

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setNotify() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets notify

                                                                                                                                                            + + + public + setNotify(bool $notify) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $notify + : bool +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            notify

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setPhone() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets phone

                                                                                                                                                            + + + public + setPhone(string $phone) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $phone + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the phone

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setState() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets state

                                                                                                                                                            + + + public + setState(string $state) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $state + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the state

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + setZip() + +

                                                                                                                                                            + + +

                                                                                                                                                            Sets zip

                                                                                                                                                            + + + public + setZip(string $zip) : void + + +
                                                                                                                                                            Parameters
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + $zip + : string +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            the zip

                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + void + — + + +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            + toArray() + +

                                                                                                                                                            + + +

                                                                                                                                                            Gets Buyer as array

                                                                                                                                                            + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                            Return values
                                                                                                                                                            + array<string|int, mixed> + — +

                                                                                                                                                            Buyer as array

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

                                                                                                                                                            Search results

                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + +
                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Ledger.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Ledger.html new file mode 100644 index 0000000..9afae1c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-Ledger.html @@ -0,0 +1,647 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                              +

                                                                                                                                                              Documentation

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

                                                                                                                                                              + Ledger + + +
                                                                                                                                                              + in package + +
                                                                                                                                                              + + +

                                                                                                                                                              + + + +

                                                                                                                                                              Class Ledger

                                                                                                                                                              + + + +
                                                                                                                                                              + Tags + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + see +
                                                                                                                                                              +
                                                                                                                                                              + +

                                                                                                                                                              REST API Ledgers

                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + + + + + + +

                                                                                                                                                              + Table of Contents + +

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + $balance + +  : float|null +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              + $currency + +  : string|null +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              + __construct() + +  : mixed +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              + getBalance() + +  : float|null +
                                                                                                                                                              +
                                                                                                                                                              Gets Ledger balance in the corresponding currency
                                                                                                                                                              + +
                                                                                                                                                              + getCurrency() + +  : string|null +
                                                                                                                                                              +
                                                                                                                                                              Gets Ledger currency
                                                                                                                                                              + +
                                                                                                                                                              + setBalance() + +  : void +
                                                                                                                                                              +
                                                                                                                                                              Sets Ledger balance in the corresponding currency
                                                                                                                                                              + +
                                                                                                                                                              + setCurrency() + +  : void +
                                                                                                                                                              +
                                                                                                                                                              Sets Ledger currency
                                                                                                                                                              + +
                                                                                                                                                              + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                              +
                                                                                                                                                              Gets Ledger as array
                                                                                                                                                              + +
                                                                                                                                                              + + + + + + +
                                                                                                                                                              +

                                                                                                                                                              + Properties + +

                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + $balance + + + +

                                                                                                                                                              + + + + + protected + float|null + $balance + = null + +
                                                                                                                                                              + +
                                                                                                                                                              + + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + $currency + + + +

                                                                                                                                                              + + + + + protected + string|null + $currency + = null + +
                                                                                                                                                              + +
                                                                                                                                                              + + + +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              + Methods + +

                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + __construct() + +

                                                                                                                                                              + + + + + public + __construct() : mixed + +
                                                                                                                                                              + + + + +
                                                                                                                                                              Return values
                                                                                                                                                              + mixed + — + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + getBalance() + +

                                                                                                                                                              + + +

                                                                                                                                                              Gets Ledger balance in the corresponding currency

                                                                                                                                                              + + + public + getBalance() : float|null + + + + + +
                                                                                                                                                              Return values
                                                                                                                                                              + float|null + — +

                                                                                                                                                              the Ledger balance

                                                                                                                                                              +
                                                                                                                                                              + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + getCurrency() + +

                                                                                                                                                              + + +

                                                                                                                                                              Gets Ledger currency

                                                                                                                                                              + + + public + getCurrency() : string|null + + + + + +
                                                                                                                                                              Return values
                                                                                                                                                              + string|null + — +

                                                                                                                                                              the Ledger currency

                                                                                                                                                              +
                                                                                                                                                              + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + setBalance() + +

                                                                                                                                                              + + +

                                                                                                                                                              Sets Ledger balance in the corresponding currency

                                                                                                                                                              + + + public + setBalance(float $balance) : void + + +
                                                                                                                                                              Parameters
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + $balance + : float +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              the Ledger balance

                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + + + +
                                                                                                                                                              Return values
                                                                                                                                                              + void + — + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + setCurrency() + +

                                                                                                                                                              + + +

                                                                                                                                                              Sets Ledger currency

                                                                                                                                                              + + + public + setCurrency(string $currency) : void + + +
                                                                                                                                                              Parameters
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + $currency + : string +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              the Ledger currency

                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + + + +
                                                                                                                                                              Return values
                                                                                                                                                              + void + — + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              + toArray() + +

                                                                                                                                                              + + +

                                                                                                                                                              Gets Ledger as array

                                                                                                                                                              + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                              Return values
                                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                                              Ledger as array

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

                                                                                                                                                              Search results

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-LedgerEntry.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-LedgerEntry.html new file mode 100644 index 0000000..0e4818c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Ledger-LedgerEntry.html @@ -0,0 +1,2430 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                +

                                                                                                                                                                Documentation

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

                                                                                                                                                                + LedgerEntry + + +
                                                                                                                                                                + in package + +
                                                                                                                                                                + + +

                                                                                                                                                                + + + +

                                                                                                                                                                Class LedgerEntry

                                                                                                                                                                + + + +
                                                                                                                                                                + Tags + +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + see +
                                                                                                                                                                +
                                                                                                                                                                + +

                                                                                                                                                                REST API Ledgers

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + + + + +

                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + $amount + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $buyerFields + +  : Buyer +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $code + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $currency + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $description + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $id + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $invoiceAmount + +  : float|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $invoiceCurrency + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $invoiceId + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $scale + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $supportRequest + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $timestamp + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $transactionCurrency + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $txType + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + $type + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                + getAmount() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Ledger entry amount, relative to the scale.
                                                                                                                                                                + +
                                                                                                                                                                + getBuyerFields() + +  : Buyer +
                                                                                                                                                                +
                                                                                                                                                                Gets buyer fields
                                                                                                                                                                + +
                                                                                                                                                                + getCode() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets code
                                                                                                                                                                + +
                                                                                                                                                                + getCurrency() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Ledger entry currency for the corresponding amount
                                                                                                                                                                + +
                                                                                                                                                                + getDescription() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets description
                                                                                                                                                                + +
                                                                                                                                                                + getId() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Ledger resource Id
                                                                                                                                                                + +
                                                                                                                                                                + getInvoiceAmount() + +  : float|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Invoice price in the invoice original currency
                                                                                                                                                                + +
                                                                                                                                                                + getInvoiceCurrency() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Currency used for invoice creation
                                                                                                                                                                + +
                                                                                                                                                                + getInvoiceId() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets BitPay invoice Id
                                                                                                                                                                + +
                                                                                                                                                                + getScale() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets scale
                                                                                                                                                                + +
                                                                                                                                                                + getSupportRequest() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets The refund requestId
                                                                                                                                                                + +
                                                                                                                                                                + getTimestamp() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
                                                                                                                                                                + +
                                                                                                                                                                + getTransactionCurrency() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets Cryptocurrency selected by the consumer when paying an invoice.
                                                                                                                                                                + +
                                                                                                                                                                + getTxType() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets tx type
                                                                                                                                                                + +
                                                                                                                                                                + getType() + +  : string|null +
                                                                                                                                                                +
                                                                                                                                                                Gets type
                                                                                                                                                                + +
                                                                                                                                                                + setAmount() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Ledger entry amount, relative to the scale.
                                                                                                                                                                + +
                                                                                                                                                                + setBuyerFields() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets buyer fields
                                                                                                                                                                + +
                                                                                                                                                                + setCode() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets code
                                                                                                                                                                + +
                                                                                                                                                                + setCurrency() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Ledger entry currency for the corresponding amount
                                                                                                                                                                + +
                                                                                                                                                                + setDescription() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets description
                                                                                                                                                                + +
                                                                                                                                                                + setId() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Ledger resource Id
                                                                                                                                                                + +
                                                                                                                                                                + setInvoiceAmount() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Invoice price in the invoice original currency
                                                                                                                                                                + +
                                                                                                                                                                + setInvoiceCurrency() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Currency used for invoice creation
                                                                                                                                                                + +
                                                                                                                                                                + setInvoiceId() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets BitPay invoice Id
                                                                                                                                                                + +
                                                                                                                                                                + setScale() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets scale
                                                                                                                                                                + +
                                                                                                                                                                + setSupportRequest() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets The refund requestId
                                                                                                                                                                + +
                                                                                                                                                                + setTimestamp() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
                                                                                                                                                                + +
                                                                                                                                                                + setTransactionCurrency() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets Cryptocurrency selected by the consumer when paying an invoice.
                                                                                                                                                                + +
                                                                                                                                                                + setTxType() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets tx type
                                                                                                                                                                + +
                                                                                                                                                                + setType() + +  : void +
                                                                                                                                                                +
                                                                                                                                                                Sets type
                                                                                                                                                                + +
                                                                                                                                                                + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                +
                                                                                                                                                                Gets LedgerEntry as array
                                                                                                                                                                + +
                                                                                                                                                                + + + + + + +
                                                                                                                                                                +

                                                                                                                                                                + Properties + +

                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $amount + + + +

                                                                                                                                                                + + + + + protected + string|null + $amount + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $buyerFields + + + +

                                                                                                                                                                + + + + + protected + Buyer + $buyerFields + + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $code + + + +

                                                                                                                                                                + + + + + protected + string|null + $code + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $currency + + + +

                                                                                                                                                                + + + + + protected + string|null + $currency + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $description + + + +

                                                                                                                                                                + + + + + protected + string|null + $description + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $id + + + +

                                                                                                                                                                + + + + + protected + string|null + $id + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $invoiceAmount + + + +

                                                                                                                                                                + + + + + protected + float|null + $invoiceAmount + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $invoiceCurrency + + + +

                                                                                                                                                                + + + + + protected + string|null + $invoiceCurrency + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $invoiceId + + + +

                                                                                                                                                                + + + + + protected + string|null + $invoiceId + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $scale + + + +

                                                                                                                                                                + + + + + protected + string|null + $scale + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $supportRequest + + + +

                                                                                                                                                                + + + + + protected + string|null + $supportRequest + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $timestamp + + + +

                                                                                                                                                                + + + + + protected + string|null + $timestamp + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $transactionCurrency + + + +

                                                                                                                                                                + + + + + protected + string|null + $transactionCurrency + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $txType + + + +

                                                                                                                                                                + + + + + protected + string|null + $txType + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + $type + + + +

                                                                                                                                                                + + + + + protected + string|null + $type + = null + +
                                                                                                                                                                + +
                                                                                                                                                                + + + +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +

                                                                                                                                                                + Methods + +

                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + __construct() + +

                                                                                                                                                                + + + + + public + __construct() : mixed + +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getAmount() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Ledger entry amount, relative to the scale.

                                                                                                                                                                + + + public + getAmount() : string|null + +

                                                                                                                                                                The decimal amount can be obtained by dividing the amount field by the scale parameter.

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getBuyerFields() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets buyer fields

                                                                                                                                                                + + + public + getBuyerFields() : Buyer + +

                                                                                                                                                                If provided by the merchant in the buyer object during invoice creation

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + Buyer + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getCode() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets code

                                                                                                                                                                + + + public + getCode() : string|null + +

                                                                                                                                                                Contains the Ledger entry code. +See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the code

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getCurrency() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Ledger entry currency for the corresponding amount

                                                                                                                                                                + + + public + getCurrency() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the currency

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getDescription() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets description

                                                                                                                                                                + + + public + getDescription() : string|null + +

                                                                                                                                                                Ledger entry description. Also contains an id depending on the type of entry +(for instance payout id, settlement id, invoice orderId etc...)

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the description

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getId() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Ledger resource Id

                                                                                                                                                                + + + public + getId() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the id

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getInvoiceAmount() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Invoice price in the invoice original currency

                                                                                                                                                                + + + public + getInvoiceAmount() : float|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + float|null + — +

                                                                                                                                                                the invoice amount

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getInvoiceCurrency() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Currency used for invoice creation

                                                                                                                                                                + + + public + getInvoiceCurrency() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the invoice currency

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getInvoiceId() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets BitPay invoice Id

                                                                                                                                                                + + + public + getInvoiceId() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the invoice id

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getScale() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets scale

                                                                                                                                                                + + + public + getScale() : string|null + +

                                                                                                                                                                Power of 10 used for conversion

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the scale

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getSupportRequest() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets The refund requestId

                                                                                                                                                                + + + public + getSupportRequest() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the support request

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getTimestamp() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                + + + public + getTimestamp() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the timestamp

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getTransactionCurrency() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets Cryptocurrency selected by the consumer when paying an invoice.

                                                                                                                                                                + + + public + getTransactionCurrency() : string|null + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the transaction currency

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getTxType() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets tx type

                                                                                                                                                                + + + public + getTxType() : string|null + +

                                                                                                                                                                [DEPRECRATED] see type

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the txType

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + getType() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets type

                                                                                                                                                                + + + public + getType() : string|null + +

                                                                                                                                                                Contains the Ledger entry name. +See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes

                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + string|null + — +

                                                                                                                                                                the type

                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setAmount() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Ledger entry amount, relative to the scale.

                                                                                                                                                                + + + public + setAmount(string $amount) : void + +

                                                                                                                                                                The decimal amount can be obtained by dividing the amount field by the scale parameter.

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $amount + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the amount

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setBuyerFields() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets buyer fields

                                                                                                                                                                + + + public + setBuyerFields(Buyer $buyerFields) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $buyerFields + : Buyer +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the buyer

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setCode() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets code

                                                                                                                                                                + + + public + setCode(string $code) : void + +

                                                                                                                                                                Contains the Ledger entry code. +See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $code + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the code

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setCurrency() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Ledger entry currency for the corresponding amount

                                                                                                                                                                + + + public + setCurrency(string $currency) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $currency + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the currency

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setDescription() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets description

                                                                                                                                                                + + + public + setDescription(string $description) : void + +

                                                                                                                                                                Ledger entry description. Also contains an id depending on the type of entry +(for instance payout id, settlement id, invoice orderId etc...)

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $description + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the description

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setId() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Ledger resource Id

                                                                                                                                                                + + + public + setId(string $id) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $id + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the id

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setInvoiceAmount() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Invoice price in the invoice original currency

                                                                                                                                                                + + + public + setInvoiceAmount(float $invoiceAmount) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $invoiceAmount + : float +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the invoice amount

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setInvoiceCurrency() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Currency used for invoice creation

                                                                                                                                                                + + + public + setInvoiceCurrency(string $invoiceCurrency) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $invoiceCurrency + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the invoice currency

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setInvoiceId() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets BitPay invoice Id

                                                                                                                                                                + + + public + setInvoiceId(string $invoiceId) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $invoiceId + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the invoice id

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setScale() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets scale

                                                                                                                                                                + + + public + setScale(string $scale) : void + +

                                                                                                                                                                Power of 10 used for conversion

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $scale + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the scale

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setSupportRequest() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets The refund requestId

                                                                                                                                                                + + + public + setSupportRequest(string $supportRequest) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $supportRequest + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the support request

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setTimestamp() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                + + + public + setTimestamp(string $timestamp) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $timestamp + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the timestamp

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setTransactionCurrency() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets Cryptocurrency selected by the consumer when paying an invoice.

                                                                                                                                                                + + + public + setTransactionCurrency(string $transactionCurrency) : void + + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $transactionCurrency + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the transaction currency

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setTxType() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets tx type

                                                                                                                                                                + + + public + setTxType(string $txType) : void + +

                                                                                                                                                                [DEPRECRATED] see type

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $txType + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the txType

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + setType() + +

                                                                                                                                                                + + +

                                                                                                                                                                Sets type

                                                                                                                                                                + + + public + setType(string $type) : void + +

                                                                                                                                                                Contains the Ledger entry name. +See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                Parameters
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + $type + : string +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                the type

                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + void + — + + +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                + toArray() + +

                                                                                                                                                                + + +

                                                                                                                                                                Gets LedgerEntry as array

                                                                                                                                                                + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                Return values
                                                                                                                                                                + array<string|int, mixed> + — +

                                                                                                                                                                LedgerEntry as array

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

                                                                                                                                                                Search results

                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + + +
                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-Payout.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-Payout.html new file mode 100644 index 0000000..9109187 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-Payout.html @@ -0,0 +1,3651 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                  +

                                                                                                                                                                  Documentation

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

                                                                                                                                                                  + Payout + + +
                                                                                                                                                                  + in package + +
                                                                                                                                                                  + + +

                                                                                                                                                                  + + + + + + +
                                                                                                                                                                  + Tags + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + see +
                                                                                                                                                                  +
                                                                                                                                                                  + +

                                                                                                                                                                  REST API Payouts

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + + + + +

                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + $accountId + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $amount + +  : float|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $code + +  : int|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $currency + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $dateExecuted + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $effectiveDate + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $email + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $exchangeRates + +  : array<string|int, mixed>|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $groupId + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $id + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $ignoreEmails + +  : bool +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $label + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $ledgerCurrency + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $message + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $notificationEmail + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $notificationURL + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $recipientId + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $reference + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $requestDate + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $shopperId + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $status + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $token + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + $transactions + +  : array<string|int, mixed> +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                                  +
                                                                                                                                                                  Constructor, create a request Payout object.
                                                                                                                                                                  + +
                                                                                                                                                                  + formatAmount() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Change amount value based on precision rounding.
                                                                                                                                                                  + +
                                                                                                                                                                  + getAccountId() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets BitPay account id that is associated to the payout, +assigned by BitPay for a given account during the onboarding process.
                                                                                                                                                                  + +
                                                                                                                                                                  + getAmount() + +  : float|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets amount of cryptocurrency sent to the requested address.
                                                                                                                                                                  + +
                                                                                                                                                                  + getCode() + +  : int|null +
                                                                                                                                                                  +
                                                                                                                                                                  This field will be returned in case of error and contain an error code.
                                                                                                                                                                  + +
                                                                                                                                                                  + getCurrency() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets currency code set for the batch amount (ISO 4217 3-character currency code).
                                                                                                                                                                  + +
                                                                                                                                                                  + getDateExecuted() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets date and time (UTC) when BitPay executed the payout. ISO-8601 format yyyy-mm-ddThh:mm:ssZ.
                                                                                                                                                                  + +
                                                                                                                                                                  + getEffectiveDate() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets Ledger currency code (ISO 4217 3-character currency code)
                                                                                                                                                                  + +
                                                                                                                                                                  + getEmail() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets email.
                                                                                                                                                                  + +
                                                                                                                                                                  + getExchangeRates() + +  : array<string|int, mixed>|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets exchange rates keyed by source and target currencies.
                                                                                                                                                                  + +
                                                                                                                                                                  + getGroupId() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets group id.
                                                                                                                                                                  + +
                                                                                                                                                                  + getId() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets Payout request id.
                                                                                                                                                                  + +
                                                                                                                                                                  + getLabel() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets label.
                                                                                                                                                                  + +
                                                                                                                                                                  + getLedgerCurrency() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets Ledger currency code (ISO 4217 3-character currency code
                                                                                                                                                                  + +
                                                                                                                                                                  + getMessage() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets message.
                                                                                                                                                                  + +
                                                                                                                                                                  + getNotificationEmail() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets notification email.
                                                                                                                                                                  + +
                                                                                                                                                                  + getNotificationURL() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets notification url.
                                                                                                                                                                  + +
                                                                                                                                                                  + getRecipientId() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets BitPay recipient id. Assigned by BitPay for a given recipient email during the onboarding process.
                                                                                                                                                                  + +
                                                                                                                                                                  + getReference() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets reference.
                                                                                                                                                                  + +
                                                                                                                                                                  + getRequestDate() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets date and time (UTC) when BitPay received the batch. ISO-8601 format `yyyy-mm-ddThh:mm:ssZ`.
                                                                                                                                                                  + +
                                                                                                                                                                  + getShopperId() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets shopper id.
                                                                                                                                                                  + +
                                                                                                                                                                  + getStatus() + +  : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  Gets payout request status.
                                                                                                                                                                  + +
                                                                                                                                                                  + getToken() + +  : string +
                                                                                                                                                                  +
                                                                                                                                                                  Gets resource token.
                                                                                                                                                                  + +
                                                                                                                                                                  + getTransactions() + +  : array<string|int, PayoutTransaction> +
                                                                                                                                                                  +
                                                                                                                                                                  Gets transactions. Contains the cryptocurrency transaction details for the executed payout request.
                                                                                                                                                                  + +
                                                                                                                                                                  + isIgnoreEmails() + +  : bool +
                                                                                                                                                                  +
                                                                                                                                                                  Gets boolean to prevent email updates on a specific payout.
                                                                                                                                                                  + +
                                                                                                                                                                  + setAccountId() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets BitPay account id that is associated to the payout, +assigned by BitPay for a given account during the onboarding process.
                                                                                                                                                                  + +
                                                                                                                                                                  + setAmount() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets amount of cryptocurrency sent to the requested address.
                                                                                                                                                                  + +
                                                                                                                                                                  + setCode() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets error code.
                                                                                                                                                                  + +
                                                                                                                                                                  + setCurrency() + +  : mixed +
                                                                                                                                                                  +
                                                                                                                                                                  Sets currency code set for the batch amount (ISO 4217 3-character currency code).
                                                                                                                                                                  + +
                                                                                                                                                                  + setDateExecuted() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets date and time (UTC) when BitPay executed the payout. ISO-8601 format yyyy-mm-ddThh:mm:ssZ.
                                                                                                                                                                  + +
                                                                                                                                                                  + setEffectiveDate() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets effective date and time (UTC) for the payout.
                                                                                                                                                                  + +
                                                                                                                                                                  + setEmail() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets email.
                                                                                                                                                                  + +
                                                                                                                                                                  + setExchangeRates() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets exchange rates keyed by source and target currencies.
                                                                                                                                                                  + +
                                                                                                                                                                  + setGroupId() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets group id.
                                                                                                                                                                  + +
                                                                                                                                                                  + setId() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets Payout request id.
                                                                                                                                                                  + +
                                                                                                                                                                  + setIgnoreEmails() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets boolean to prevent email updates on a specific payout.
                                                                                                                                                                  + +
                                                                                                                                                                  + setLabel() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets label.
                                                                                                                                                                  + +
                                                                                                                                                                  + setLedgerCurrency() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets Ledger currency code (ISO 4217 3-character currency code)
                                                                                                                                                                  + +
                                                                                                                                                                  + setMessage() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets message.
                                                                                                                                                                  + +
                                                                                                                                                                  + setNotificationEmail() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets notification email.
                                                                                                                                                                  + +
                                                                                                                                                                  + setNotificationURL() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets notification url.
                                                                                                                                                                  + +
                                                                                                                                                                  + setRecipientId() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets BitPay recipient id. Assigned by BitPay for a given recipient email during the onboarding process.
                                                                                                                                                                  + +
                                                                                                                                                                  + setReference() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets reference.
                                                                                                                                                                  + +
                                                                                                                                                                  + setRequestDate() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets date and time (UTC) when BitPay received the batch. ISO-8601 format `yyyy-mm-ddThh:mm:ssZ`.
                                                                                                                                                                  + +
                                                                                                                                                                  + setShopperId() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets shopper id.
                                                                                                                                                                  + +
                                                                                                                                                                  + setStatus() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets payout request status.
                                                                                                                                                                  + +
                                                                                                                                                                  + setToken() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets resource token.
                                                                                                                                                                  + +
                                                                                                                                                                  + setTransactions() + +  : void +
                                                                                                                                                                  +
                                                                                                                                                                  Sets transactions. Contains the cryptocurrency transaction details for the executed payout request.
                                                                                                                                                                  + +
                                                                                                                                                                  + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                  +
                                                                                                                                                                  Return Payout values as array.
                                                                                                                                                                  + +
                                                                                                                                                                  + + + + + + +
                                                                                                                                                                  +

                                                                                                                                                                  + Properties + +

                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $accountId + + + +

                                                                                                                                                                  + + + + + protected + string + $accountId + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $amount + + + +

                                                                                                                                                                  + + + + + protected + float|null + $amount + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $code + + + +

                                                                                                                                                                  + + + + + protected + int|null + $code + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $currency + + + +

                                                                                                                                                                  + + + + + protected + string|null + $currency + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $dateExecuted + + + +

                                                                                                                                                                  + + + + + protected + string|null + $dateExecuted + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $effectiveDate + + + +

                                                                                                                                                                  + + + + + protected + string|null + $effectiveDate + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $email + + + +

                                                                                                                                                                  + + + + + protected + string + $email + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $exchangeRates + + + +

                                                                                                                                                                  + + + + + protected + array<string|int, mixed>|null + $exchangeRates + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $groupId + + + +

                                                                                                                                                                  + + + + + protected + string|null + $groupId + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $id + + + +

                                                                                                                                                                  + + + + + protected + string|null + $id + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $ignoreEmails + + + +

                                                                                                                                                                  + + + + + protected + bool + $ignoreEmails + = false + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $label + + + +

                                                                                                                                                                  + + + + + protected + string + $label + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $ledgerCurrency + + + +

                                                                                                                                                                  + + + + + protected + string|null + $ledgerCurrency + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $message + + + +

                                                                                                                                                                  + + + + + protected + string + $message + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $notificationEmail + + + +

                                                                                                                                                                  + + + + + protected + string + $notificationEmail + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $notificationURL + + + +

                                                                                                                                                                  + + + + + protected + string + $notificationURL + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $recipientId + + + +

                                                                                                                                                                  + + + + + protected + string + $recipientId + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $reference + + + +

                                                                                                                                                                  + + + + + protected + string + $reference + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $requestDate + + + +

                                                                                                                                                                  + + + + + protected + string|null + $requestDate + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $shopperId + + + +

                                                                                                                                                                  + + + + + protected + string + $shopperId + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $status + + + +

                                                                                                                                                                  + + + + + protected + string|null + $status + = null + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $token + + + +

                                                                                                                                                                  + + + + + protected + string + $token + = '' + +
                                                                                                                                                                  + +
                                                                                                                                                                  + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + $transactions + + + +

                                                                                                                                                                  + + + + + protected + array<string|int, mixed> + $transactions + = [] + + + + + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +

                                                                                                                                                                  + Methods + +

                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + __construct() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Constructor, create a request Payout object.

                                                                                                                                                                  + + + public + __construct([float|null $amount = null ][, string|null $currency = null ][, string|null $ledgerCurrency = null ]) : mixed + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $amount + : float|null + = null
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  float The amount for which the payout will be created.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + $currency + : string|null + = null
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  string The three digit currency string for the PayoutBatch to use.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + $ledgerCurrency + : string|null + = null
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  string Ledger currency code set for the payout request (ISO 4217 3-character +currency code), it indicates on which ledger the payout request will be +recorded. If not provided in the request, this parameter will be set by +default to the active ledger currency on your account, e.g. your settlement +currency.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + formatAmount() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Change amount value based on precision rounding.

                                                                                                                                                                  + + + public + formatAmount(int $precision) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $precision + : int +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getAccountId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets BitPay account id that is associated to the payout, +assigned by BitPay for a given account during the onboarding process.

                                                                                                                                                                  + + + public + getAccountId() : string + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getAmount() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets amount of cryptocurrency sent to the requested address.

                                                                                                                                                                  + + + public + getAmount() : float|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + float|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getCode() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  This field will be returned in case of error and contain an error code.

                                                                                                                                                                  + + + public + getCode() : int|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + int|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getCurrency() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets currency code set for the batch amount (ISO 4217 3-character currency code).

                                                                                                                                                                  + + + public + getCurrency() : string|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getDateExecuted() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets date and time (UTC) when BitPay executed the payout. ISO-8601 format yyyy-mm-ddThh:mm:ssZ.

                                                                                                                                                                  + + + public + getDateExecuted() : string|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getEffectiveDate() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets Ledger currency code (ISO 4217 3-character currency code)

                                                                                                                                                                  + + + public + getEffectiveDate() : string|null + +

                                                                                                                                                                  it indicates on which ledger the payout request will be recorded. If not provided in the request, +this parameter will be set by default to the active ledger currency on your account, +e.g. your settlement currency.

                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  + Tags + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + see +
                                                                                                                                                                  +
                                                                                                                                                                  + +

                                                                                                                                                                  Supported ledger currency codes

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getEmail() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets email.

                                                                                                                                                                  + + + public + getEmail() : string + +

                                                                                                                                                                  Email address of an active recipient. +Note: In the future, BitPay may allow recipients to update the email address tied to their personal account. +BitPay encourages the use of recipientId or shopperId when programatically creating payouts requests.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getExchangeRates() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets exchange rates keyed by source and target currencies.

                                                                                                                                                                  + + + public + getExchangeRates() : array<string|int, mixed>|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + array<string|int, mixed>|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getGroupId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets group id.

                                                                                                                                                                  + + + public + getGroupId() : string|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets Payout request id.

                                                                                                                                                                  + + + public + getId() : string|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getLabel() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets label.

                                                                                                                                                                  + + + public + getLabel() : string + +

                                                                                                                                                                  For merchant use, pass through - can be the customer name or unique merchant reference assigned by +the merchant to the recipient.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getLedgerCurrency() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets Ledger currency code (ISO 4217 3-character currency code

                                                                                                                                                                  + + + public + getLedgerCurrency() : string|null + +

                                                                                                                                                                  it indicates on which ledger the payout request will be recorded. If not provided in the request, +this parameter will be set by default to the active ledger currency on your account, +e.g. your settlement currency.

                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  + Tags + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + see +
                                                                                                                                                                  +
                                                                                                                                                                  + +

                                                                                                                                                                  Supported ledger currency codes

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getMessage() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets message.

                                                                                                                                                                  + + + public + getMessage() : string + +

                                                                                                                                                                  In case of error, this field will contain a description message. Set to null if the request is successful.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getNotificationEmail() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets notification email.

                                                                                                                                                                  + + + public + getNotificationEmail() : string + +

                                                                                                                                                                  Merchant email address for notification of payout status change.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getNotificationURL() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets notification url.

                                                                                                                                                                  + + + public + getNotificationURL() : string + +

                                                                                                                                                                  URL to which BitPay sends webhook notifications. HTTPS is mandatory.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getRecipientId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets BitPay recipient id. Assigned by BitPay for a given recipient email during the onboarding process.

                                                                                                                                                                  + + + public + getRecipientId() : string + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getReference() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets reference.

                                                                                                                                                                  + + + public + getReference() : string + +

                                                                                                                                                                  Present only if specified by the merchant in the request. +Merchants can pass their own unique identifier in this field for reconciliation purpose. +Maximum string length is 100 characters.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getRequestDate() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets date and time (UTC) when BitPay received the batch. ISO-8601 format `yyyy-mm-ddThh:mm:ssZ`.

                                                                                                                                                                  + + + public + getRequestDate() : string|null + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getShopperId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets shopper id.

                                                                                                                                                                  + + + public + getShopperId() : string + +

                                                                                                                                                                  This is the unique id assigned by BitPay if the shopper used his personal BitPay account to authenticate and +pay an invoice. For customers signing up for a brand new BitPay personal account, +this id will only be created as part of the payout onboarding. +The same field would also be available on paid invoices for customers who signed in with their +BitPay personal accounts before completing the payment. +This can allow merchants to monitor the activity of a customer (deposits and payouts).

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getStatus() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets payout request status.

                                                                                                                                                                  + + + public + getStatus() : string|null + +

                                                                                                                                                                  The possible values are:

                                                                                                                                                                  +
                                                                                                                                                                    +
                                                                                                                                                                  • new - initial status when the payout batch is created
                                                                                                                                                                  • +
                                                                                                                                                                  • funded - if there are enough funds available on the merchant account, + the payout batches are set to funded. This happens at the daily cutoff time for payout processing, + e.g. 2pm and 9pm UTC +
                                                                                                                                                                  • +
                                                                                                                                                                  • processing - the payout batches switch to this status whenever the corresponding cryptocurrency + transactions are broadcasted by BitPay +
                                                                                                                                                                  • +
                                                                                                                                                                  • complete - the payout batches are marked as complete when the cryptocurrency transaction has reached + the typical target confirmation for the corresponding asset. For instance, + 6 confirmations for a bitcoin transaction. +
                                                                                                                                                                  • +
                                                                                                                                                                  • cancelled - when the merchant cancels a payout batch (only possible for requests in the status new
                                                                                                                                                                  • +
                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getToken() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets resource token.

                                                                                                                                                                  + + + public + getToken() : string + +

                                                                                                                                                                  + This token is actually derived from the API token - + used to submit the payout and is tied to the specific payout resource id created. +

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + string + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + getTransactions() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets transactions. Contains the cryptocurrency transaction details for the executed payout request.

                                                                                                                                                                  + + + public + getTransactions() : array<string|int, PayoutTransaction> + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + array<string|int, PayoutTransaction> + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + isIgnoreEmails() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Gets boolean to prevent email updates on a specific payout.

                                                                                                                                                                  + + + public + isIgnoreEmails() : bool + +

                                                                                                                                                                  Defaults to false if not provided - you will receive emails unless specified to true.

                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + bool + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setAccountId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets BitPay account id that is associated to the payout, +assigned by BitPay for a given account during the onboarding process.

                                                                                                                                                                  + + + public + setAccountId(string $accountId) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $accountId + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setAmount() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets amount of cryptocurrency sent to the requested address.

                                                                                                                                                                  + + + public + setAmount(float $amount) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $amount + : float +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setCode() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets error code.

                                                                                                                                                                  + + + public + setCode(int|null $code) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $code + : int|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setCurrency() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets currency code set for the batch amount (ISO 4217 3-character currency code).

                                                                                                                                                                  + + + public + setCurrency(string $currency) : mixed + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $currency + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + +
                                                                                                                                                                  + Tags + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + throws +
                                                                                                                                                                  +
                                                                                                                                                                  + BitPayException + + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setDateExecuted() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets date and time (UTC) when BitPay executed the payout. ISO-8601 format yyyy-mm-ddThh:mm:ssZ.

                                                                                                                                                                  + + + public + setDateExecuted(string $dateExecuted) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $dateExecuted + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setEffectiveDate() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets effective date and time (UTC) for the payout.

                                                                                                                                                                  + + + public + setEffectiveDate(string $effectiveDate) : void + +

                                                                                                                                                                  ISO-8601 format yyyy-mm-ddThh:mm:ssZ. If not provided, defaults to date and time of creation.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $effectiveDate + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setEmail() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets email.

                                                                                                                                                                  + + + public + setEmail(string $email) : void + +

                                                                                                                                                                  Email address of an active recipient. +Note: In the future, BitPay may allow recipients to update the email address tied to their personal account. +BitPay encourages the use of recipientId or shopperId when programatically creating payouts requests.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $email + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setExchangeRates() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets exchange rates keyed by source and target currencies.

                                                                                                                                                                  + + + public + setExchangeRates(array<string|int, mixed> $exchangeRates) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $exchangeRates + : array<string|int, mixed> +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setGroupId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets group id.

                                                                                                                                                                  + + + public + setGroupId(string|null $groupId) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $groupId + : string|null +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets Payout request id.

                                                                                                                                                                  + + + public + setId(string $id) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $id + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setIgnoreEmails() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets boolean to prevent email updates on a specific payout.

                                                                                                                                                                  + + + public + setIgnoreEmails(bool $ignoreEmails) : void + +

                                                                                                                                                                  Defaults to false if not provided - you will receive emails unless specified to true.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $ignoreEmails + : bool +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setLabel() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets label.

                                                                                                                                                                  + + + public + setLabel(string $label) : void + +

                                                                                                                                                                  For merchant use, pass through - can be the customer name or unique merchant reference assigned by +the merchant to the recipient.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $label + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setLedgerCurrency() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets Ledger currency code (ISO 4217 3-character currency code)

                                                                                                                                                                  + + + public + setLedgerCurrency(string $ledgerCurrency) : void + +

                                                                                                                                                                  it indicates on which ledger the payout request will be recorded. If not provided in the request, +this parameter will be set by default to the active ledger currency on your account, +e.g. your settlement currency.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $ledgerCurrency + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + +
                                                                                                                                                                  + Tags + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + throws +
                                                                                                                                                                  +
                                                                                                                                                                  + BitPayException + + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setMessage() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets message.

                                                                                                                                                                  + + + public + setMessage(string $message) : void + +

                                                                                                                                                                  In case of error, this field will contain a description message. Set to null if the request is successful.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $message + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setNotificationEmail() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets notification email.

                                                                                                                                                                  + + + public + setNotificationEmail(string $notificationEmail) : void + +

                                                                                                                                                                  Merchant email address for notification of payout status change.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $notificationEmail + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setNotificationURL() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets notification url.

                                                                                                                                                                  + + + public + setNotificationURL(string $notificationURL) : void + +

                                                                                                                                                                  URL to which BitPay sends webhook notifications. HTTPS is mandatory.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $notificationURL + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setRecipientId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets BitPay recipient id. Assigned by BitPay for a given recipient email during the onboarding process.

                                                                                                                                                                  + + + public + setRecipientId(string $recipientId) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $recipientId + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setReference() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets reference.

                                                                                                                                                                  + + + public + setReference(string $reference) : void + +

                                                                                                                                                                  Present only if specified by the merchant in the request. +Merchants can pass their own unique identifier in this field for reconciliation purpose. +Maximum string length is 100 characters.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $reference + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setRequestDate() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets date and time (UTC) when BitPay received the batch. ISO-8601 format `yyyy-mm-ddThh:mm:ssZ`.

                                                                                                                                                                  + + + public + setRequestDate(string $requestDate) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $requestDate + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setShopperId() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets shopper id.

                                                                                                                                                                  + + + public + setShopperId(string $shopperId) : void + +

                                                                                                                                                                  This is the unique id assigned by BitPay if the shopper used his personal BitPay account to authenticate and +pay an invoice. For customers signing up for a brand new BitPay personal account, +this id will only be created as part of the payout onboarding. +The same field would also be available on paid invoices for customers who signed in with their +BitPay personal accounts before completing the payment. +This can allow merchants to monitor the activity of a customer (deposits and payouts).

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $shopperId + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setStatus() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets payout request status.

                                                                                                                                                                  + + + public + setStatus(string $status) : void + +

                                                                                                                                                                  The possible values are:

                                                                                                                                                                  +
                                                                                                                                                                    +
                                                                                                                                                                  • new - initial status when the payout batch is created
                                                                                                                                                                  • +
                                                                                                                                                                  • funded - if there are enough funds available on the merchant account, + the payout batches are set to funded. This happens at the daily cutoff time for payout processing, + e.g. 2pm and 9pm UTC +
                                                                                                                                                                  • +
                                                                                                                                                                  • processing - the payout batches switch to this status whenever the corresponding cryptocurrency + transactions are broadcasted by BitPay +
                                                                                                                                                                  • +
                                                                                                                                                                  • complete - the payout batches are marked as complete when the cryptocurrency transaction has reached + the typical target confirmation for the corresponding asset. For instance, + 6 confirmations for a bitcoin transaction. +
                                                                                                                                                                  • +
                                                                                                                                                                  • cancelled - when the merchant cancels a payout batch (only possible for requests in the status new
                                                                                                                                                                  • +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $status + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setToken() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets resource token.

                                                                                                                                                                  + + + public + setToken(string $token) : void + +

                                                                                                                                                                  This token is actually derived from the API token - +used to submit the payout and is tied to the specific payout resource id created.

                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $token + : string +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + setTransactions() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Sets transactions. Contains the cryptocurrency transaction details for the executed payout request.

                                                                                                                                                                  + + + public + setTransactions(array<string|int, PayoutTransaction$transactions) : void + + +
                                                                                                                                                                  Parameters
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + $transactions + : array<string|int, PayoutTransaction> +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + +
                                                                                                                                                                  + Tags + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + throws +
                                                                                                                                                                  +
                                                                                                                                                                  + PayoutException + + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + void + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  + toArray() + +

                                                                                                                                                                  + + +

                                                                                                                                                                  Return Payout values as array.

                                                                                                                                                                  + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                  Return values
                                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  Search results

                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + + +
                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroup.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroup.html new file mode 100644 index 0000000..3ce1168 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroup.html @@ -0,0 +1,532 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                    +

                                                                                                                                                                    Documentation

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

                                                                                                                                                                    + PayoutGroup + + +
                                                                                                                                                                    + in package + +
                                                                                                                                                                    + + +

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

                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + $failed + +  : array<string|int, mixed> +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    + $payouts + +  : array<string|int, mixed> +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    + getFailed() + +  : array<string|int, PayoutGroupFailed> +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    + getPayouts() + +  : array<string|int, Payout> +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    + setFailed() + +  : void +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    + setPayouts() + +  : void +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    + + + + + + +
                                                                                                                                                                    +

                                                                                                                                                                    + Properties + +

                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    + $failed + + + +

                                                                                                                                                                    + + + + + private + array<string|int, mixed> + $failed + = [] + + + + + +
                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    + $payouts + + + +

                                                                                                                                                                    + + + + + private + array<string|int, mixed> + $payouts + = [] + + + + + +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +

                                                                                                                                                                    + Methods + +

                                                                                                                                                                    + +
                                                                                                                                                                    +

                                                                                                                                                                    + getPayouts() + +

                                                                                                                                                                    + + + + + public + getPayouts() : array<string|int, Payout> + + + + + +
                                                                                                                                                                    Return values
                                                                                                                                                                    + array<string|int, Payout> + — + + +
                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    + setFailed() + +

                                                                                                                                                                    + + + + + public + setFailed(array<string|int, PayoutGroupFailed$failed) : void + + +
                                                                                                                                                                    Parameters
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + $failed + : array<string|int, PayoutGroupFailed> +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + + + +
                                                                                                                                                                    Return values
                                                                                                                                                                    + void + — + + +
                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    + setPayouts() + +

                                                                                                                                                                    + + + + + public + setPayouts(array<string|int, Payout$payouts) : void + + +
                                                                                                                                                                    Parameters
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + $payouts + : array<string|int, Payout> +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + + + +
                                                                                                                                                                    Return values
                                                                                                                                                                    + void + — + + +
                                                                                                                                                                    +
                                                                                                                                                                    + + + + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    Search results

                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html new file mode 100644 index 0000000..d6bbd27 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html @@ -0,0 +1,665 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                      +

                                                                                                                                                                      Documentation

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

                                                                                                                                                                      + PayoutGroupFailed + + +
                                                                                                                                                                      + in package + +
                                                                                                                                                                      + + +

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

                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $errMessage + +  : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + $payee + +  : string|null +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + $payoutId + +  : string|null +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + getErrorMessage() + +  : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + getPayee() + +  : string|null +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + getPayoutId() + +  : string|null +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + setErrorMessage() + +  : void +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + setPayee() + +  : void +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + setPayoutId() + +  : void +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      + + + + + + +
                                                                                                                                                                      +

                                                                                                                                                                      + Properties + +

                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + $errMessage + + + +

                                                                                                                                                                      + + + + + private + string + $errMessage + = '' + +
                                                                                                                                                                      + +
                                                                                                                                                                      + + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + $payee + + + +

                                                                                                                                                                      + + + + + private + string|null + $payee + + +
                                                                                                                                                                      + +
                                                                                                                                                                      + + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + $payoutId + + + +

                                                                                                                                                                      + + + + + private + string|null + $payoutId + + +
                                                                                                                                                                      + +
                                                                                                                                                                      + + + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +

                                                                                                                                                                      + Methods + +

                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getErrorMessage() + +

                                                                                                                                                                      + + + + + public + getErrorMessage() : string + + + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + string + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getPayee() + +

                                                                                                                                                                      + + + + + public + getPayee() : string|null + + + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + string|null + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getPayoutId() + +

                                                                                                                                                                      + + + + + public + getPayoutId() : string|null + + + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + string|null + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + setErrorMessage() + +

                                                                                                                                                                      + + + + + public + setErrorMessage(string $errMessage) : void + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $errMessage + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + void + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + setPayee() + +

                                                                                                                                                                      + + + + + public + setPayee(string|null $payee) : void + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $payee + : string|null +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + void + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + setPayoutId() + +

                                                                                                                                                                      + + + + + public + setPayoutId(string|null $payoutId) : void + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $payoutId + : string|null +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + void + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      Search results

                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + + +
                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipient.html new file mode 100644 index 0000000..b8c7cd2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipient.html @@ -0,0 +1,1451 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                        +

                                                                                                                                                                        Documentation

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

                                                                                                                                                                        + PayoutRecipient + + +
                                                                                                                                                                        + in package + +
                                                                                                                                                                        + + +

                                                                                                                                                                        + + + + + + +
                                                                                                                                                                        + Tags + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + see +
                                                                                                                                                                        +
                                                                                                                                                                        + +

                                                                                                                                                                        REST API Payouts

                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + + + +

                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + $email + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $guid + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $id + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $label + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $notificationURL + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $shopperId + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $status + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + $token + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                        +
                                                                                                                                                                        Constructor, create a minimal Recipient object.
                                                                                                                                                                        + +
                                                                                                                                                                        + getEmail() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets email.
                                                                                                                                                                        + +
                                                                                                                                                                        + getGuid() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets guid.
                                                                                                                                                                        + +
                                                                                                                                                                        + getId() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets id.
                                                                                                                                                                        + +
                                                                                                                                                                        + getLabel() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets label.
                                                                                                                                                                        + +
                                                                                                                                                                        + getNotificationURL() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets notification url.
                                                                                                                                                                        + +
                                                                                                                                                                        + getShopperId() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets Shopper ID.
                                                                                                                                                                        + +
                                                                                                                                                                        + getStatus() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets status.
                                                                                                                                                                        + +
                                                                                                                                                                        + getToken() + +  : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        Gets token.
                                                                                                                                                                        + +
                                                                                                                                                                        + setEmail() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets email.
                                                                                                                                                                        + +
                                                                                                                                                                        + setGuid() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets guid.
                                                                                                                                                                        + +
                                                                                                                                                                        + setId() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets id.
                                                                                                                                                                        + +
                                                                                                                                                                        + setLabel() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets label.
                                                                                                                                                                        + +
                                                                                                                                                                        + setNotificationURL() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets notification url.
                                                                                                                                                                        + +
                                                                                                                                                                        + setShopperId() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets Shopper ID.
                                                                                                                                                                        + +
                                                                                                                                                                        + setStatus() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets status.
                                                                                                                                                                        + +
                                                                                                                                                                        + setToken() + +  : void +
                                                                                                                                                                        +
                                                                                                                                                                        Sets token.
                                                                                                                                                                        + +
                                                                                                                                                                        + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                        +
                                                                                                                                                                        Return an array with values of all fields.
                                                                                                                                                                        + +
                                                                                                                                                                        + + + + + + +
                                                                                                                                                                        +

                                                                                                                                                                        + Properties + +

                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $email + + + +

                                                                                                                                                                        + + + + + protected + string|null + $email + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $guid + + + +

                                                                                                                                                                        + + + + + protected + string|null + $guid + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $id + + + +

                                                                                                                                                                        + + + + + protected + string|null + $id + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $label + + + +

                                                                                                                                                                        + + + + + protected + string|null + $label + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $notificationURL + + + +

                                                                                                                                                                        + + + + + protected + string|null + $notificationURL + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $shopperId + + + +

                                                                                                                                                                        + + + + + protected + string|null + $shopperId + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $status + + + +

                                                                                                                                                                        + + + + + protected + string|null + $status + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + $token + + + +

                                                                                                                                                                        + + + + + protected + string|null + $token + = null + +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +

                                                                                                                                                                        + Methods + +

                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + __construct() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Constructor, create a minimal Recipient object.

                                                                                                                                                                        + + + public + __construct([string|null $email = null ][, string|null $label = null ][, string|null $notificationURL = null ]) : mixed + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $email + : string|null + = null
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        string Recipient email address to which the invite shall be sent.

                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + $label + : string|null + = null
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        string Recipient nickname assigned by the merchant (Optional).

                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + $notificationURL + : string|null + = null
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        string URL to which BitPay sends webhook notifications to inform +the merchant about the status of a given recipient. HTTPS is mandatory (Optional).

                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getEmail() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets email.

                                                                                                                                                                        + + + public + getEmail() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getGuid() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets guid.

                                                                                                                                                                        + + + public + getGuid() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getId() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets id.

                                                                                                                                                                        + + + public + getId() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getLabel() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets label.

                                                                                                                                                                        + + + public + getLabel() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getNotificationURL() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets notification url.

                                                                                                                                                                        + + + public + getNotificationURL() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getShopperId() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets Shopper ID.

                                                                                                                                                                        + + + public + getShopperId() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getStatus() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets status.

                                                                                                                                                                        + + + public + getStatus() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + getToken() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Gets token.

                                                                                                                                                                        + + + public + getToken() : string|null + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + string|null + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setEmail() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets email.

                                                                                                                                                                        + + + public + setEmail(string|null $email) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $email + : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setGuid() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets guid.

                                                                                                                                                                        + + + public + setGuid(string $guid) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $guid + : string +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setId() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets id.

                                                                                                                                                                        + + + public + setId(string|null $id) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $id + : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setLabel() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets label.

                                                                                                                                                                        + + + public + setLabel(string|null $label) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $label + : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setNotificationURL() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets notification url.

                                                                                                                                                                        + + + public + setNotificationURL(string|null $notificationURL) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $notificationURL + : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setShopperId() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets Shopper ID.

                                                                                                                                                                        + + + public + setShopperId(string|null $shopperId) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $shopperId + : string|null +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setStatus() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets status.

                                                                                                                                                                        + + + public + setStatus(string $status) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $status + : string +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + setToken() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Sets token.

                                                                                                                                                                        + + + public + setToken(string $token) : void + + +
                                                                                                                                                                        Parameters
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + $token + : string +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + void + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + toArray() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Return an array with values of all fields.

                                                                                                                                                                        + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        Search results

                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + + +
                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html new file mode 100644 index 0000000..919aa48 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html @@ -0,0 +1,791 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                          +

                                                                                                                                                                          Documentation

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

                                                                                                                                                                          + PayoutRecipients + + +
                                                                                                                                                                          + in package + +
                                                                                                                                                                          + + +

                                                                                                                                                                          + + + + + + +
                                                                                                                                                                          + Tags + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + see +
                                                                                                                                                                          +
                                                                                                                                                                          + +

                                                                                                                                                                          REST API Payouts

                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + + + +

                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + $guid + +  : string +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + $recipients + +  : array<string|int, mixed> +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + $token + +  : string +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                                                          +
                                                                                                                                                                          Constructor, create an recipient-full request PayoutBatch object.
                                                                                                                                                                          + +
                                                                                                                                                                          + getGuid() + +  : string +
                                                                                                                                                                          +
                                                                                                                                                                          Gets guid.
                                                                                                                                                                          + +
                                                                                                                                                                          + getRecipients() + +  : array<string|int, PayoutRecipient> +
                                                                                                                                                                          +
                                                                                                                                                                          Gets an array with all recipients.
                                                                                                                                                                          + +
                                                                                                                                                                          + getToken() + +  : string +
                                                                                                                                                                          +
                                                                                                                                                                          Gets token.
                                                                                                                                                                          + +
                                                                                                                                                                          + setGuid() + +  : void +
                                                                                                                                                                          +
                                                                                                                                                                          Sets guid.
                                                                                                                                                                          + +
                                                                                                                                                                          + setRecipients() + +  : void +
                                                                                                                                                                          +
                                                                                                                                                                          Sets array with all recipients.
                                                                                                                                                                          + +
                                                                                                                                                                          + setToken() + +  : void +
                                                                                                                                                                          +
                                                                                                                                                                          Sets token.
                                                                                                                                                                          + +
                                                                                                                                                                          + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                          +
                                                                                                                                                                          Return an array with paid and unpaid value.
                                                                                                                                                                          + +
                                                                                                                                                                          + + + + + + +
                                                                                                                                                                          +

                                                                                                                                                                          + Properties + +

                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + $guid + + + +

                                                                                                                                                                          + + + + + protected + string + $guid + = '' + +
                                                                                                                                                                          + +
                                                                                                                                                                          + + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + $recipients + + + +

                                                                                                                                                                          + + + + + protected + array<string|int, mixed> + $recipients + = [] + +
                                                                                                                                                                          + +
                                                                                                                                                                          + + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + $token + + + +

                                                                                                                                                                          + + + + + protected + string + $token + = '' + +
                                                                                                                                                                          + +
                                                                                                                                                                          + + + +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +

                                                                                                                                                                          + Methods + +

                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + __construct() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Constructor, create an recipient-full request PayoutBatch object.

                                                                                                                                                                          + + + public + __construct([ $recipients = [] ]) : mixed + + +
                                                                                                                                                                          Parameters
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + $recipients + : + = []
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          array array of JSON objects, with containing the following parameters.

                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + getGuid() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Gets guid.

                                                                                                                                                                          + + + public + getGuid() : string + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + string + — + + +
                                                                                                                                                                          + +
                                                                                                                                                                          +

                                                                                                                                                                          + getToken() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Gets token.

                                                                                                                                                                          + + + public + getToken() : string + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + string + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + setGuid() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Sets guid.

                                                                                                                                                                          + + + public + setGuid(string $guid) : void + + +
                                                                                                                                                                          Parameters
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + $guid + : string +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + void + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + setRecipients() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Sets array with all recipients.

                                                                                                                                                                          + + + public + setRecipients(array<string|int, PayoutRecipient$recipients) : void + + +
                                                                                                                                                                          Parameters
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + $recipients + : array<string|int, PayoutRecipient> +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + +
                                                                                                                                                                          + Tags + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + throws +
                                                                                                                                                                          +
                                                                                                                                                                          + PayoutRecipientException + + +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + void + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + setToken() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Sets token.

                                                                                                                                                                          + + + public + setToken(string $token) : void + + +
                                                                                                                                                                          Parameters
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + $token + : string +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + void + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + toArray() + +

                                                                                                                                                                          + + +

                                                                                                                                                                          Return an array with paid and unpaid value.

                                                                                                                                                                          + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + array<string|int, mixed> + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          Search results

                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            + + +
                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html new file mode 100644 index 0000000..f6369e2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html @@ -0,0 +1,571 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                            +

                                                                                                                                                                            Documentation

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

                                                                                                                                                                            + PayoutStatus +
                                                                                                                                                                            + in + +
                                                                                                                                                                            +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Interface PayoutStatus

                                                                                                                                                                            + + + +
                                                                                                                                                                            + Tags + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            + see +
                                                                                                                                                                            +
                                                                                                                                                                            + +

                                                                                                                                                                            REST API Payouts

                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + + + +

                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + CANCELLED + +  = 'cancelled' +
                                                                                                                                                                            +
                                                                                                                                                                            Cancelled status.
                                                                                                                                                                            + +
                                                                                                                                                                            + COMPLETE + +  = 'complete' +
                                                                                                                                                                            +
                                                                                                                                                                            Complete status
                                                                                                                                                                            + +
                                                                                                                                                                            + FAILED + +  = 'failed' +
                                                                                                                                                                            +
                                                                                                                                                                            Failed status.
                                                                                                                                                                            + +
                                                                                                                                                                            + FUNDED + +  = 'funded' +
                                                                                                                                                                            +
                                                                                                                                                                            Funded status.
                                                                                                                                                                            + +
                                                                                                                                                                            + NEW + +  = 'new' +
                                                                                                                                                                            +
                                                                                                                                                                            New status.
                                                                                                                                                                            + +
                                                                                                                                                                            + PAID + +  = 'paid' +
                                                                                                                                                                            +
                                                                                                                                                                            Paid status.
                                                                                                                                                                            + +
                                                                                                                                                                            + PROCESSING + +  = 'processing' +
                                                                                                                                                                            +
                                                                                                                                                                            Processing status
                                                                                                                                                                            + +
                                                                                                                                                                            + UNPAID + +  = 'unpaid' +
                                                                                                                                                                            +
                                                                                                                                                                            Unpaid status.
                                                                                                                                                                            + +
                                                                                                                                                                            + + + + +
                                                                                                                                                                            +

                                                                                                                                                                            + Constants + +

                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + CANCELLED + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Cancelled status.

                                                                                                                                                                            + + + public + mixed + CANCELLED + = 'cancelled' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + COMPLETE + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Complete status

                                                                                                                                                                            + + + public + mixed + COMPLETE + = 'complete' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + FAILED + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Failed status.

                                                                                                                                                                            + + + public + mixed + FAILED + = 'failed' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + FUNDED + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Funded status.

                                                                                                                                                                            + + + public + mixed + FUNDED + = 'funded' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + NEW + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            New status.

                                                                                                                                                                            + + + public + mixed + NEW + = 'new' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + PAID + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Paid status.

                                                                                                                                                                            + + + public + mixed + PAID + = 'paid' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + PROCESSING + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Processing status

                                                                                                                                                                            + + + public + mixed + PROCESSING + = 'processing' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + UNPAID + +

                                                                                                                                                                            + + + +

                                                                                                                                                                            Unpaid status.

                                                                                                                                                                            + + + public + mixed + UNPAID + = 'unpaid' + + + + +
                                                                                                                                                                            + + + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            Search results

                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + + +
                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutTransaction.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutTransaction.html new file mode 100644 index 0000000..7850212 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-PayoutTransaction.html @@ -0,0 +1,915 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                              +

                                                                                                                                                                              Documentation

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

                                                                                                                                                                              + PayoutTransaction + + +
                                                                                                                                                                              + in package + +
                                                                                                                                                                              + + +

                                                                                                                                                                              + + + +

                                                                                                                                                                              Contains the cryptocurrency transaction details for the executed payout.

                                                                                                                                                                              + + + +
                                                                                                                                                                              + Tags + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + see +
                                                                                                                                                                              +
                                                                                                                                                                              + +

                                                                                                                                                                              REST API Payouts

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + + + +

                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + $amount + +  : float|null +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + $confirmations + +  : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + $date + +  : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + $txid + +  : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + __construct() + +  : mixed +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + getAmount() + +  : float|null +
                                                                                                                                                                              +
                                                                                                                                                                              Gets Amount of cryptocurrency sent to the requested address.
                                                                                                                                                                              + +
                                                                                                                                                                              + getConfirmations() + +  : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              Gets the number of confirmations the transaction has received.
                                                                                                                                                                              + +
                                                                                                                                                                              + getDate() + +  : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              Gets Date and time (UTC) when the cryptocurrency transaction is broadcasted.
                                                                                                                                                                              + +
                                                                                                                                                                              + getTxid() + +  : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              Gets Cryptocurrency transaction hash for the executed payout.
                                                                                                                                                                              + +
                                                                                                                                                                              + setAmount() + +  : void +
                                                                                                                                                                              +
                                                                                                                                                                              Sets Amount of cryptocurrency sent to the requested address.
                                                                                                                                                                              + +
                                                                                                                                                                              + setConfirmations() + +  : void +
                                                                                                                                                                              +
                                                                                                                                                                              Sets the number of confirmations the transaction has received.
                                                                                                                                                                              + +
                                                                                                                                                                              + setDate() + +  : void +
                                                                                                                                                                              +
                                                                                                                                                                              Sets Date and time (UTC) when the cryptocurrency transaction is broadcasted.
                                                                                                                                                                              + +
                                                                                                                                                                              + setTxid() + +  : void +
                                                                                                                                                                              +
                                                                                                                                                                              Sets Cryptocurrency transaction hash for the executed payout.
                                                                                                                                                                              + +
                                                                                                                                                                              + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                              +
                                                                                                                                                                              Gets PayoutTransaction as array
                                                                                                                                                                              + +
                                                                                                                                                                              + + + + + + +
                                                                                                                                                                              +

                                                                                                                                                                              + Properties + +

                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + $amount + + + +

                                                                                                                                                                              + + + + + protected + float|null + $amount + = null + +
                                                                                                                                                                              + +
                                                                                                                                                                              + + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + $confirmations + + + +

                                                                                                                                                                              + + + + + protected + string|null + $confirmations + = null + +
                                                                                                                                                                              + +
                                                                                                                                                                              + + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + $date + + + +

                                                                                                                                                                              + + + + + protected + string|null + $date + = null + +
                                                                                                                                                                              + +
                                                                                                                                                                              + + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + $txid + + + +

                                                                                                                                                                              + + + + + protected + string|null + $txid + = null + +
                                                                                                                                                                              + +
                                                                                                                                                                              + + + +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +

                                                                                                                                                                              + Methods + +

                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + __construct() + +

                                                                                                                                                                              + + + + + public + __construct() : mixed + +
                                                                                                                                                                              + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + mixed + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + getAmount() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Gets Amount of cryptocurrency sent to the requested address.

                                                                                                                                                                              + + + public + getAmount() : float|null + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + float|null + — +

                                                                                                                                                                              the amount

                                                                                                                                                                              +
                                                                                                                                                                              + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + getConfirmations() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Gets the number of confirmations the transaction has received.

                                                                                                                                                                              + + + public + getConfirmations() : string|null + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + getDate() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Gets Date and time (UTC) when the cryptocurrency transaction is broadcasted.

                                                                                                                                                                              + + + public + getDate() : string|null + +

                                                                                                                                                                              ISO-8601 format yyyy-mm-ddThh:mm:ssZ.

                                                                                                                                                                              +
                                                                                                                                                                              + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + string|null + — +

                                                                                                                                                                              the date

                                                                                                                                                                              +
                                                                                                                                                                              + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + getTxid() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Gets Cryptocurrency transaction hash for the executed payout.

                                                                                                                                                                              + + + public + getTxid() : string|null + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + string|null + — +

                                                                                                                                                                              the tax id

                                                                                                                                                                              +
                                                                                                                                                                              + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + setAmount() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Sets Amount of cryptocurrency sent to the requested address.

                                                                                                                                                                              + + + public + setAmount(float|null $amount) : void + + +
                                                                                                                                                                              Parameters
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + $amount + : float|null +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              the amount

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + void + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + setConfirmations() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Sets the number of confirmations the transaction has received.

                                                                                                                                                                              + + + public + setConfirmations(string|null $confirmations) : void + + +
                                                                                                                                                                              Parameters
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + $confirmations + : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + void + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + setDate() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Sets Date and time (UTC) when the cryptocurrency transaction is broadcasted.

                                                                                                                                                                              + + + public + setDate(string|null $date) : void + +

                                                                                                                                                                              ISO-8601 format yyyy-mm-ddThh:mm:ssZ.

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              Parameters
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + $date + : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              the date

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + void + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + setTxid() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Sets Cryptocurrency transaction hash for the executed payout.

                                                                                                                                                                              + + + public + setTxid(string|null $txid) : void + + +
                                                                                                                                                                              Parameters
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + $txid + : string|null +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              the tax id

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + void + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + toArray() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Gets PayoutTransaction as array

                                                                                                                                                                              + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                                                              PayoutTransaction as array

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

                                                                                                                                                                              Search results

                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + + +
                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html new file mode 100644 index 0000000..d8fd37a --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html @@ -0,0 +1,389 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                +

                                                                                                                                                                                Documentation

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

                                                                                                                                                                                + RecipientReferenceMethod +
                                                                                                                                                                                + in + +
                                                                                                                                                                                +

                                                                                                                                                                                + + + +

                                                                                                                                                                                List of recipient reference methods

                                                                                                                                                                                + + + +
                                                                                                                                                                                + Tags + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + see +
                                                                                                                                                                                +
                                                                                                                                                                                + +

                                                                                                                                                                                REST API Payouts

                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + EMAIL + +  = 1 +
                                                                                                                                                                                +
                                                                                                                                                                                Email method will be used to target the recipient
                                                                                                                                                                                + +
                                                                                                                                                                                + RECIPIENT_ID + +  = 2 +
                                                                                                                                                                                +
                                                                                                                                                                                Recipient id will be used to target the recipient
                                                                                                                                                                                + +
                                                                                                                                                                                + SHOPPER_ID + +  = 3 +
                                                                                                                                                                                +
                                                                                                                                                                                Shopper id will be used to target the recipient
                                                                                                                                                                                + +
                                                                                                                                                                                + + + + +
                                                                                                                                                                                +

                                                                                                                                                                                + Constants + +

                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + EMAIL + +

                                                                                                                                                                                + + + +

                                                                                                                                                                                Email method will be used to target the recipient

                                                                                                                                                                                + + + public + mixed + EMAIL + = 1 + + + + +
                                                                                                                                                                                + + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + RECIPIENT_ID + +

                                                                                                                                                                                + + + +

                                                                                                                                                                                Recipient id will be used to target the recipient

                                                                                                                                                                                + + + public + mixed + RECIPIENT_ID + = 2 + + + + +
                                                                                                                                                                                + + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + SHOPPER_ID + +

                                                                                                                                                                                + + + +

                                                                                                                                                                                Shopper id will be used to target the recipient

                                                                                                                                                                                + + + public + mixed + SHOPPER_ID + = 3 + + + + +
                                                                                                                                                                                + + + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                Search results

                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + +
                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientStatus.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientStatus.html new file mode 100644 index 0000000..a9d8fc7 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Payout-RecipientStatus.html @@ -0,0 +1,499 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                  + RecipientStatus +
                                                                                                                                                                                  + in + +
                                                                                                                                                                                  +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Interface RecipientStatus

                                                                                                                                                                                  + + + +
                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + see +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +

                                                                                                                                                                                  REST API Payouts

                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + ACTIVE + +  = 'active' +
                                                                                                                                                                                  +
                                                                                                                                                                                  Active recipient status.
                                                                                                                                                                                  + +
                                                                                                                                                                                  + INVITED + +  = 'invited' +
                                                                                                                                                                                  +
                                                                                                                                                                                  Invited recipient status.
                                                                                                                                                                                  + +
                                                                                                                                                                                  + PAUSED + +  = 'paused' +
                                                                                                                                                                                  +
                                                                                                                                                                                  Paused recipient status.
                                                                                                                                                                                  + +
                                                                                                                                                                                  + REMOVED + +  = 'removed' +
                                                                                                                                                                                  +
                                                                                                                                                                                  Removed recipient status.
                                                                                                                                                                                  + +
                                                                                                                                                                                  + UNVERIFIED + +  = 'unverified' +
                                                                                                                                                                                  +
                                                                                                                                                                                  Unverified recipient status.
                                                                                                                                                                                  + +
                                                                                                                                                                                  + VERIFIED + +  = 'verified' +
                                                                                                                                                                                  +
                                                                                                                                                                                  Verified recipient status.
                                                                                                                                                                                  + +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  + Constants + +

                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + ACTIVE + +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Active recipient status.

                                                                                                                                                                                  + + + public + mixed + ACTIVE + = 'active' + + + + +
                                                                                                                                                                                  + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + INVITED + +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Invited recipient status.

                                                                                                                                                                                  + + + public + mixed + INVITED + = 'invited' + + + + +
                                                                                                                                                                                  + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + PAUSED + +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Paused recipient status.

                                                                                                                                                                                  + + + public + mixed + PAUSED + = 'paused' + + + + +
                                                                                                                                                                                  + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + REMOVED + +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Removed recipient status.

                                                                                                                                                                                  + + + public + mixed + REMOVED + = 'removed' + + + + +
                                                                                                                                                                                  + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + UNVERIFIED + +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Unverified recipient status.

                                                                                                                                                                                  + + + public + mixed + UNVERIFIED + = 'unverified' + + + + +
                                                                                                                                                                                  + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + VERIFIED + +

                                                                                                                                                                                  + + + +

                                                                                                                                                                                  Verified recipient status.

                                                                                                                                                                                  + + + public + mixed + VERIFIED + = 'verified' + + + + +
                                                                                                                                                                                  + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  Search results

                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rate.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rate.html new file mode 100644 index 0000000..161a94a --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rate.html @@ -0,0 +1,782 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                    + Rate + + +
                                                                                                                                                                                    + in package + +
                                                                                                                                                                                    + + +

                                                                                                                                                                                    + + + +

                                                                                                                                                                                    Class Rate

                                                                                                                                                                                    + + + +
                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + see +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +

                                                                                                                                                                                    REST API Rates

                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + $code + +  : string|null +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + $name + +  : string|null +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + $rate + +  : float|null +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + __construct() + +  : mixed +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + getCode() + +  : string|null +
                                                                                                                                                                                    +
                                                                                                                                                                                    Gets ISO 4217 3-character currency code
                                                                                                                                                                                    + +
                                                                                                                                                                                    + getName() + +  : string|null +
                                                                                                                                                                                    +
                                                                                                                                                                                    Gets detailed currency name
                                                                                                                                                                                    + +
                                                                                                                                                                                    + getRate() + +  : float|null +
                                                                                                                                                                                    +
                                                                                                                                                                                    Gets rate for the requested baseCurrency /currency pair
                                                                                                                                                                                    + +
                                                                                                                                                                                    + setCode() + +  : void +
                                                                                                                                                                                    +
                                                                                                                                                                                    Sets ISO 4217 3-character currency code
                                                                                                                                                                                    + +
                                                                                                                                                                                    + setName() + +  : void +
                                                                                                                                                                                    +
                                                                                                                                                                                    Sets detailed currency name
                                                                                                                                                                                    + +
                                                                                                                                                                                    + setRate() + +  : void +
                                                                                                                                                                                    +
                                                                                                                                                                                    Sets rate for the requested baseCurrency /currency pair
                                                                                                                                                                                    + +
                                                                                                                                                                                    + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                    +
                                                                                                                                                                                    Gets Rate as array
                                                                                                                                                                                    + +
                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    + Properties + +

                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + $code + + + +

                                                                                                                                                                                    + + + + + protected + string|null + $code + = null + +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + $name + + + +

                                                                                                                                                                                    + + + + + protected + string|null + $name + = null + +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + $rate + + + +

                                                                                                                                                                                    + + + + + protected + float|null + $rate + = null + +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +

                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + __construct() + +

                                                                                                                                                                                    + + + + + public + __construct() : mixed + +
                                                                                                                                                                                    + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + mixed + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + getCode() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Gets ISO 4217 3-character currency code

                                                                                                                                                                                    + + + public + getCode() : string|null + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + string|null + — +

                                                                                                                                                                                    the code

                                                                                                                                                                                    +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + getName() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Gets detailed currency name

                                                                                                                                                                                    + + + public + getName() : string|null + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + string|null + — +

                                                                                                                                                                                    the name

                                                                                                                                                                                    +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + getRate() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Gets rate for the requested baseCurrency /currency pair

                                                                                                                                                                                    + + + public + getRate() : float|null + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + float|null + — +

                                                                                                                                                                                    the rate

                                                                                                                                                                                    +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + setCode() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Sets ISO 4217 3-character currency code

                                                                                                                                                                                    + + + public + setCode(string $code) : void + + +
                                                                                                                                                                                    Parameters
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + $code + : string +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    the code

                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + setName() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Sets detailed currency name

                                                                                                                                                                                    + + + public + setName(string $name) : void + + +
                                                                                                                                                                                    Parameters
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + $name + : string +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    the name

                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + setRate() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Sets rate for the requested baseCurrency /currency pair

                                                                                                                                                                                    + + + public + setRate(float $rate) : void + + +
                                                                                                                                                                                    Parameters
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + $rate + : float +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    the rate

                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + toArray() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Gets Rate as array

                                                                                                                                                                                    + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                                                                                    Rate as array

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

                                                                                                                                                                                    Search results

                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rates.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rates.html new file mode 100644 index 0000000..af0f2ad --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Rate-Rates.html @@ -0,0 +1,676 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                      + Rates + + +
                                                                                                                                                                                      + in package + +
                                                                                                                                                                                      + + +

                                                                                                                                                                                      + + + +

                                                                                                                                                                                      Class Rates

                                                                                                                                                                                      + + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + see +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +

                                                                                                                                                                                      REST API Rates

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $rates + +  : array<string|int, mixed> +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                                      +
                                                                                                                                                                                      Rates constructor.
                                                                                                                                                                                      + +
                                                                                                                                                                                      + getRate() + +  : float|null +
                                                                                                                                                                                      +
                                                                                                                                                                                      Gets rate for the requested currency code.
                                                                                                                                                                                      + +
                                                                                                                                                                                      + getRates() + +  : array<string|int, mixed> +
                                                                                                                                                                                      +
                                                                                                                                                                                      Gets rates.
                                                                                                                                                                                      + +
                                                                                                                                                                                      + toArray() + +  : array<string|int, array<string|int, mixed>> +
                                                                                                                                                                                      +
                                                                                                                                                                                      Return an array with rates value.
                                                                                                                                                                                      + +
                                                                                                                                                                                      + update() + +  : void +
                                                                                                                                                                                      +
                                                                                                                                                                                      Update rates.
                                                                                                                                                                                      + +
                                                                                                                                                                                      + validateRates() + +  : void +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      + Properties + +

                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + $rates + + + +

                                                                                                                                                                                      + + + + + protected + array<string|int, mixed> + $rates + + + +

                                                                                                                                                                                      Rate[]

                                                                                                                                                                                      +
                                                                                                                                                                                      + + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +

                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + __construct() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      Rates constructor.

                                                                                                                                                                                      + + + public + __construct(array<string|int, mixed> $rates) : mixed + + +
                                                                                                                                                                                      Parameters
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $rates + : array<string|int, mixed> +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      Rate[]

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + throws +
                                                                                                                                                                                      +
                                                                                                                                                                                      + BitPayException + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + getRate() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      Gets rate for the requested currency code.

                                                                                                                                                                                      + + + public + getRate(string $currencyCode) : float|null + + +
                                                                                                                                                                                      Parameters
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $currencyCode + : string +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + throws +
                                                                                                                                                                                      +
                                                                                                                                                                                      + BitPayException + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + float|null + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + getRates() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      Gets rates.

                                                                                                                                                                                      + + + public + getRates() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + array<string|int, mixed> + — +

                                                                                                                                                                                      Rate[]

                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + toArray() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      Return an array with rates value.

                                                                                                                                                                                      + + + public + toArray() : array<string|int, array<string|int, mixed>> + + + + + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + array<string|int, array<string|int, mixed>> + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + update() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      Update rates.

                                                                                                                                                                                      + + + public + update(Client $bp) : void + + +
                                                                                                                                                                                      Parameters
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $bp + : Client +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + throws +
                                                                                                                                                                                      +
                                                                                                                                                                                      + BitPayException + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + validateRates() + +

                                                                                                                                                                                      + + + + + private + validateRates(array<string|int, mixed> $rates) : void + + +
                                                                                                                                                                                      Parameters
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $rates + : array<string|int, mixed> +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + throws +
                                                                                                                                                                                      +
                                                                                                                                                                                      + BitPayException + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      Search results

                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-InvoiceData.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-InvoiceData.html new file mode 100644 index 0000000..f234306 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-InvoiceData.html @@ -0,0 +1,1451 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                        + InvoiceData + + +
                                                                                                                                                                                        + in package + +
                                                                                                                                                                                        + + +

                                                                                                                                                                                        + + + +

                                                                                                                                                                                        Object containing relevant information from the paid invoice.

                                                                                                                                                                                        + + + +
                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + see +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +

                                                                                                                                                                                        Settlements

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $currency + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $date + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $orderId + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $overPaidAmount + +  : float|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $payoutPercentage + +  : float|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $price + +  : float|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $refundInfo + +  : RefundInfo|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $transactionCurrency + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getCurrency() + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets Invoice currency
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getDate() + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets Date at which the invoice was created (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getOrderId() + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets Invoice orderId provided during invoice creation.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getOverPaidAmount() + +  : float|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets over paid amount
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getPayoutPercentage() + +  : float|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets The payout percentage defined by the merchant on his BitPay account settings
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getPrice() + +  : float|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets Invoice price in the invoice original currency
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getRefundInfo() + +  : RefundInfo|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets Object containing information about the refund executed for the invoice
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getTransactionCurrency() + +  : string|null +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets Cryptocurrency selected by the consumer when paying the invoice.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setCurrency() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets Invoice currency
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setDate() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets Date at which the invoice was created (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setOrderId() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets Invoice orderId provided during invoice creation.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setOverPaidAmount() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets over paid amount
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setPayoutPercentage() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets The payout percentage defined by the merchant on his BitPay account settings
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setPrice() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets Invoice price in the invoice original currency
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setRefundInfo() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets Object containing information about the refund executed for the invoice
                                                                                                                                                                                        + +
                                                                                                                                                                                        + setTransactionCurrency() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        Sets Cryptocurrency selected by the consumer when paying the invoice.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                        +
                                                                                                                                                                                        Gets InvoiceData as array
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + Properties + +

                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $currency + + + +

                                                                                                                                                                                        + + + + + protected + string|null + $currency + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $date + + + +

                                                                                                                                                                                        + + + + + protected + string|null + $date + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $orderId + + + +

                                                                                                                                                                                        + + + + + protected + string|null + $orderId + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $overPaidAmount + + + +

                                                                                                                                                                                        + + + + + protected + float|null + $overPaidAmount + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $payoutPercentage + + + +

                                                                                                                                                                                        + + + + + protected + float|null + $payoutPercentage + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $price + + + +

                                                                                                                                                                                        + + + + + protected + float|null + $price + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $refundInfo + + + +

                                                                                                                                                                                        + + + + + protected + RefundInfo|null + $refundInfo + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $transactionCurrency + + + +

                                                                                                                                                                                        + + + + + protected + string|null + $transactionCurrency + = null + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + __construct() + +

                                                                                                                                                                                        + + + + + public + __construct() : mixed + +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getCurrency() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets Invoice currency

                                                                                                                                                                                        + + + public + getCurrency() : string|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                        the Invoice currency

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getDate() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets Date at which the invoice was created (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                        + + + public + getDate() : string|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                        the date

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getOrderId() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets Invoice orderId provided during invoice creation.

                                                                                                                                                                                        + + + public + getOrderId() : string|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                        the order id

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getOverPaidAmount() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets over paid amount

                                                                                                                                                                                        + + + public + getOverPaidAmount() : float|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + float|null + — +

                                                                                                                                                                                        the over paid amount

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getPayoutPercentage() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets The payout percentage defined by the merchant on his BitPay account settings

                                                                                                                                                                                        + + + public + getPayoutPercentage() : float|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + float|null + — +

                                                                                                                                                                                        the payout percentage

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getPrice() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets Invoice price in the invoice original currency

                                                                                                                                                                                        + + + public + getPrice() : float|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + float|null + — +

                                                                                                                                                                                        the price

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getRefundInfo() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets Object containing information about the refund executed for the invoice

                                                                                                                                                                                        + + + public + getRefundInfo() : RefundInfo|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + RefundInfo|null + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getTransactionCurrency() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets Cryptocurrency selected by the consumer when paying the invoice.

                                                                                                                                                                                        + + + public + getTransactionCurrency() : string|null + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                        the transaction currency

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setCurrency() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets Invoice currency

                                                                                                                                                                                        + + + public + setCurrency(string $currency) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $currency + : string +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the Invoice currency

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setDate() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets Date at which the invoice was created (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                        + + + public + setDate(string $date) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $date + : string +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the date

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setOrderId() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets Invoice orderId provided during invoice creation.

                                                                                                                                                                                        + + + public + setOrderId(string $orderId) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $orderId + : string +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the order id

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setOverPaidAmount() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets over paid amount

                                                                                                                                                                                        + + + public + setOverPaidAmount(float $overPaidAmount) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $overPaidAmount + : float +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the over paid amount

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setPayoutPercentage() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets The payout percentage defined by the merchant on his BitPay account settings

                                                                                                                                                                                        + + + public + setPayoutPercentage(float $payoutPercentage) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $payoutPercentage + : float +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the payout percentage

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setPrice() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets Invoice price in the invoice original currency

                                                                                                                                                                                        + + + public + setPrice(float $price) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $price + : float +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the price

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setRefundInfo() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets Object containing information about the refund executed for the invoice

                                                                                                                                                                                        + + + public + setRefundInfo(RefundInfo $refundInfo) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $refundInfo + : RefundInfo +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + setTransactionCurrency() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Sets Cryptocurrency selected by the consumer when paying the invoice.

                                                                                                                                                                                        + + + public + setTransactionCurrency(string $transactionCurrency) : void + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $transactionCurrency + : string +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        the transaction currency

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + toArray() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Gets InvoiceData as array

                                                                                                                                                                                        + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + array<string|int, mixed> + — +

                                                                                                                                                                                        InvoiceData as array

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

                                                                                                                                                                                        Search results

                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-PayoutInfo.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-PayoutInfo.html new file mode 100644 index 0000000..53d5638 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-PayoutInfo.html @@ -0,0 +1,3643 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                          + PayoutInfo + + +
                                                                                                                                                                                          + in package + +
                                                                                                                                                                                          + + +

                                                                                                                                                                                          + + + +

                                                                                                                                                                                          Object containing the settlement info provided by the Merchant in his BitPay account settings.

                                                                                                                                                                                          + + + +
                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + see +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +

                                                                                                                                                                                          Settlements

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $account + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $accountHolderAddress + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $accountHolderAddress2 + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $accountHolderCity + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $accountHolderCountry + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $accountHolderName + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $accountHolderPostalCode + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $additionalInformation + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $address + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $bank + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $bankAddress + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $bankAddress2 + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $bankCountry + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $bankName + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $city + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $iban + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $label + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $merchantEin + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $name + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $postal + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $routing + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $sort + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $swift + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + $wire + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccount() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account number of the merchant
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccountHolderAddress() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account holder address
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccountHolderAddress2() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account holder address2
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccountHolderCity() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account holder city
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccountHolderCountry() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account holder country
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccountHolderName() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account holder name
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAccountHolderPostalCode() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Bank account holder postal code
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAdditionalInformation() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets additional information
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getAddress() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets address
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getBank() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Name of the bank used by the merchant
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getBankAddress() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets bank address
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getBankAddress2() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets bank address 2
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getBankCountry() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Country where the merchant's bank account is located
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getBankName() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets bank name
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getCity() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets City of the merchant bank, field return if the settlement currency is
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getIban() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets iban
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getLabel() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets label
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getMerchantEin() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets merchant ein
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getName() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets account holder name
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getPostal() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets Postal code of the merchant bank, field return if the settlement currency is
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getRouting() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets routing
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getSort() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets sort
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getSwift() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets SWIFT/BIC code of the merchant's bank.
                                                                                                                                                                                          + +
                                                                                                                                                                                          + getWire() + +  : string|null +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets wire
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccount() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account number of the merchant
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccountHolderAddress() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account holder address2
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccountHolderAddress2() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account holder address2
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccountHolderCity() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account holder city
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccountHolderCountry() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account holder country
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccountHolderName() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account holder name
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAccountHolderPostalCode() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Bank account holder postal code
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAdditionalInformation() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets additional information
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setAddress() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets address
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setBank() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Name of the bank used by the merchant
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setBankAddress() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets bank address
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setBankAddress2() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets bank address2
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setBankCountry() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Country where the merchant's bank account is located
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setBankName() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets bank name
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setCity() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets city of the merchant bank
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setIban() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets iban
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setLabel() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets label
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setMerchantEin() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets merchant ein
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setName() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets account holder name
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setPostal() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets Postal code of the merchant bank
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setRouting() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets routing
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setSort() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets sort
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setSwift() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets SWIFT/BIC code of the merchant's bank.
                                                                                                                                                                                          + +
                                                                                                                                                                                          + setWire() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          Sets wire
                                                                                                                                                                                          + +
                                                                                                                                                                                          + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                          +
                                                                                                                                                                                          Gets PayoutInfo as array
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          + Properties + +

                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $account + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $account + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $accountHolderAddress + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $accountHolderAddress + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $accountHolderAddress2 + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $accountHolderAddress2 + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $accountHolderCity + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $accountHolderCity + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $accountHolderCountry + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $accountHolderCountry + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $accountHolderName + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $accountHolderName + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $accountHolderPostalCode + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $accountHolderPostalCode + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $additionalInformation + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $additionalInformation + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $address + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $address + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $bank + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $bank + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $bankAddress + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $bankAddress + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $bankAddress2 + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $bankAddress2 + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $bankCountry + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $bankCountry + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $bankName + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $bankName + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $city + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $city + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $iban + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $iban + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $label + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $label + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $merchantEin + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $merchantEin + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $name + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $name + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $postal + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $postal + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $routing + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $routing + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $sort + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $sort + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $swift + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $swift + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + $wire + + + +

                                                                                                                                                                                          + + + + + protected + string|null + $wire + = null + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +

                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + __construct() + +

                                                                                                                                                                                          + + + + + public + __construct() : mixed + +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccount() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account number of the merchant

                                                                                                                                                                                          + + + public + getAccount() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account number

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccountHolderAddress() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account holder address

                                                                                                                                                                                          + + + public + getAccountHolderAddress() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account holder address

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccountHolderAddress2() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account holder address2

                                                                                                                                                                                          + + + public + getAccountHolderAddress2() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account holder address2

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccountHolderCity() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account holder city

                                                                                                                                                                                          + + + public + getAccountHolderCity() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account holder city

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccountHolderCountry() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account holder country

                                                                                                                                                                                          + + + public + getAccountHolderCountry() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account holder country

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccountHolderName() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account holder name

                                                                                                                                                                                          + + + public + getAccountHolderName() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account holder name

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAccountHolderPostalCode() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Bank account holder postal code

                                                                                                                                                                                          + + + public + getAccountHolderPostalCode() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank account holder postal code

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAdditionalInformation() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets additional information

                                                                                                                                                                                          + + + public + getAdditionalInformation() : string|null + +

                                                                                                                                                                                          When providing the settlement info via the dashboard, this field can be used by the merchant to provide +additional information about the receiving bank. Field returned if "wire": true in the "payoutInfo" object

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the additional information

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getAddress() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets address

                                                                                                                                                                                          + + + public + getAddress() : string|null + +

                                                                                                                                                                                          This field is used to indicate the wallet address used for the settlement, +if the settlement currency selected by the merchant is one of the supported crypto currency: +Bitcoin (BTC), Bitcoin Cash (BCH), Dogecoin (DOGE), Ether (ETH), Gemini US Dollar (GUSD), +Circle USD Coin (USDC), Paxos Standard USD (PAX), Binance USD (BUSD), Dai (DAI), Wrapped Bitcoin (WBTC), +and Ripple (XRP). If the settlement currency used is AUD, GBP, NZD, MXN, ZAR - +this field is used to indicate the address of the merchant's bank

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the address

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getBank() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Name of the bank used by the merchant

                                                                                                                                                                                          + + + public + getBank() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getBankAddress() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets bank address

                                                                                                                                                                                          + + + public + getBankAddress() : string|null + +

                                                                                                                                                                                          Address of the merchant's bank. Field returned if "wire": true in the "payoutInfo" object

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank address

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getBankAddress2() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets bank address 2

                                                                                                                                                                                          + + + public + getBankAddress2() : string|null + +

                                                                                                                                                                                          Address of the merchant's bank. Field returned if "wire": true in the "payoutInfo" object

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank address2

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getBankCountry() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Country where the merchant's bank account is located

                                                                                                                                                                                          + + + public + getBankCountry() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank country

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getBankName() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets bank name

                                                                                                                                                                                          + + + public + getBankName() : string|null + +

                                                                                                                                                                                          Name of the bank used by the merchant. Field returned if "wire": true in the "payoutInfo" object

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the bank name

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getCity() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets City of the merchant bank, field return if the settlement currency is

                                                                                                                                                                                          + + + public + getCity() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the city

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getIban() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets iban

                                                                                                                                                                                          + + + public + getIban() : string|null + +

                                                                                                                                                                                          The merchant's bank account number, in the IBAN (International Bank Account Number) format. +Field returned if "wire": true in the "payoutInfo" object

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the iban

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getLabel() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets label

                                                                                                                                                                                          + + + public + getLabel() : string|null + +

                                                                                                                                                                                          As indicated by the merchant in his settlement settings

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the label

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getMerchantEin() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets merchant ein

                                                                                                                                                                                          + + + public + getMerchantEin() : string|null + +

                                                                                                                                                                                          for merchants receiving USD settlements via local ACH, this field contains the merchant's EIN

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the merchant ein

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getName() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets account holder name

                                                                                                                                                                                          + + + public + getName() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the name

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getPostal() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets Postal code of the merchant bank, field return if the settlement currency is

                                                                                                                                                                                          + + + public + getPostal() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the postal

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getRouting() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets routing

                                                                                                                                                                                          + + + public + getRouting() : string|null + +

                                                                                                                                                                                          for merchants receiving USD settlements via local ACH, this field contains the ABA provided by the merchant

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the routing

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getSort() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets sort

                                                                                                                                                                                          + + + public + getSort() : string|null + +

                                                                                                                                                                                          used to pass country specific bank fields: BSB for AUD

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getSwift() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets SWIFT/BIC code of the merchant's bank.

                                                                                                                                                                                          + + + public + getSwift() : string|null + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the swift

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + getWire() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets wire

                                                                                                                                                                                          + + + public + getWire() : string|null + +

                                                                                                                                                                                          If set to true, this means BitPay will be settling the account using an international transfer via the SWIFT +network instead of local settlement methods like ACH(United States) or SEPA (European Economic Area)

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + string|null + — +

                                                                                                                                                                                          the wire

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccount() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account number of the merchant

                                                                                                                                                                                          + + + public + setAccount(string $account) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $account + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account number

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccountHolderAddress() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account holder address2

                                                                                                                                                                                          + + + public + setAccountHolderAddress(string $accountHolderAddress) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $accountHolderAddress + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account holder address

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccountHolderAddress2() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account holder address2

                                                                                                                                                                                          + + + public + setAccountHolderAddress2(string $accountHolderAddress2) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $accountHolderAddress2 + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account holder address2

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccountHolderCity() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account holder city

                                                                                                                                                                                          + + + public + setAccountHolderCity(string $accountHolderCity) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $accountHolderCity + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account holder city

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccountHolderCountry() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account holder country

                                                                                                                                                                                          + + + public + setAccountHolderCountry(string $accountHolderCountry) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $accountHolderCountry + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account holder country

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccountHolderName() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account holder name

                                                                                                                                                                                          + + + public + setAccountHolderName(string $accountHolderName) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $accountHolderName + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account holder name

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAccountHolderPostalCode() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Bank account holder postal code

                                                                                                                                                                                          + + + public + setAccountHolderPostalCode(string $accountHolderPostalCode) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $accountHolderPostalCode + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank account holder postal code

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAdditionalInformation() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets additional information

                                                                                                                                                                                          + + + public + setAdditionalInformation(string $additionalInformation) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $additionalInformation + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the additional information

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setAddress() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets address

                                                                                                                                                                                          + + + public + setAddress(string $address) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $address + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the address

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setBank() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Name of the bank used by the merchant

                                                                                                                                                                                          + + + public + setBank(string $bank) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $bank + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setBankAddress() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets bank address

                                                                                                                                                                                          + + + public + setBankAddress(string $bankAddress) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $bankAddress + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank address

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setBankAddress2() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets bank address2

                                                                                                                                                                                          + + + public + setBankAddress2(string $bankAddress2) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $bankAddress2 + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank address2

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setBankCountry() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Country where the merchant's bank account is located

                                                                                                                                                                                          + + + public + setBankCountry(string $bankCountry) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $bankCountry + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank country

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setBankName() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets bank name

                                                                                                                                                                                          + + + public + setBankName(string $bankName) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $bankName + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the bank name

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setCity() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets city of the merchant bank

                                                                                                                                                                                          + + + public + setCity(string $city) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $city + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the city

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setIban() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets iban

                                                                                                                                                                                          + + + public + setIban(string $iban) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $iban + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the iban

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setLabel() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets label

                                                                                                                                                                                          + + + public + setLabel(string $label) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $label + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the label

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setMerchantEin() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets merchant ein

                                                                                                                                                                                          + + + public + setMerchantEin(string $merchantEin) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $merchantEin + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the merchant ein

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setName() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets account holder name

                                                                                                                                                                                          + + + public + setName(string $name) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $name + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the name

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setPostal() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets Postal code of the merchant bank

                                                                                                                                                                                          + + + public + setPostal(string $postal) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $postal + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the postal

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setRouting() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets routing

                                                                                                                                                                                          + + + public + setRouting(string $routing) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $routing + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the routing

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setSort() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets sort

                                                                                                                                                                                          + + + public + setSort(string $sort) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $sort + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the sort

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setSwift() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets SWIFT/BIC code of the merchant's bank.

                                                                                                                                                                                          + + + public + setSwift(string $swift) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $swift + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the swift

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + setWire() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Sets wire

                                                                                                                                                                                          + + + public + setWire(string $wire) : void + + +
                                                                                                                                                                                          Parameters
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + $wire + : string +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          the wire

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + toArray() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          Gets PayoutInfo as array

                                                                                                                                                                                          + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                          PayoutInfo as array

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

                                                                                                                                                                                          Search results

                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-RefundInfo.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-RefundInfo.html new file mode 100644 index 0000000..92be4ec --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-RefundInfo.html @@ -0,0 +1,786 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                            +

                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                            + RefundInfo + + +
                                                                                                                                                                                            + in package + +
                                                                                                                                                                                            + + +

                                                                                                                                                                                            + + + +

                                                                                                                                                                                            Object containing information about the refund.

                                                                                                                                                                                            + + + +
                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + see +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +

                                                                                                                                                                                            Settlements

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + $amounts + +  : array<string|int, mixed>|null +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + $currency + +  : string|null +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + $supportRequest + +  : string|null +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + __construct() + +  : mixed +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + getAmounts() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                            +
                                                                                                                                                                                            Gets amounts.
                                                                                                                                                                                            + +
                                                                                                                                                                                            + getCurrency() + +  : string|null +
                                                                                                                                                                                            +
                                                                                                                                                                                            Gets currency.
                                                                                                                                                                                            + +
                                                                                                                                                                                            + getSupportRequest() + +  : string|null +
                                                                                                                                                                                            +
                                                                                                                                                                                            Gets support request.
                                                                                                                                                                                            + +
                                                                                                                                                                                            + setAmounts() + +  : void +
                                                                                                                                                                                            +
                                                                                                                                                                                            Sets amounts.
                                                                                                                                                                                            + +
                                                                                                                                                                                            + setCurrency() + +  : void +
                                                                                                                                                                                            +
                                                                                                                                                                                            Sets currency.
                                                                                                                                                                                            + +
                                                                                                                                                                                            + setSupportRequest() + +  : void +
                                                                                                                                                                                            +
                                                                                                                                                                                            Sets support request.
                                                                                                                                                                                            + +
                                                                                                                                                                                            + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                            +
                                                                                                                                                                                            Gets Refund info as array
                                                                                                                                                                                            + +
                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                            +

                                                                                                                                                                                            + Properties + +

                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + $amounts + + + +

                                                                                                                                                                                            + + + + + protected + array<string|int, mixed>|null + $amounts + = null + +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + $currency + + + +

                                                                                                                                                                                            + + + + + protected + string|null + $currency + = null + +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + $supportRequest + + + +

                                                                                                                                                                                            + + + + + protected + string|null + $supportRequest + = null + +
                                                                                                                                                                                            + +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +

                                                                                                                                                                                            + Methods + +

                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + __construct() + +

                                                                                                                                                                                            + + + + + public + __construct() : mixed + +
                                                                                                                                                                                            + + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + mixed + — + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + getAmounts() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Gets amounts.

                                                                                                                                                                                            + + + public + getAmounts() : array<string|int, mixed>|null + +

                                                                                                                                                                                            This object will contain the crypto currency amount refunded by BitPay to the consumer

                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + array<string|int, mixed>|null + — + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + getCurrency() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Gets currency.

                                                                                                                                                                                            + + + public + getCurrency() : string|null + +

                                                                                                                                                                                            ISO 4217 3-character currency code. This is the currency associated with the settlement. +Supported settlement currencies are listed on Settlement Docs

                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + string|null + — + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + getSupportRequest() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Gets support request.

                                                                                                                                                                                            + + + public + getSupportRequest() : string|null + +

                                                                                                                                                                                            BitPay support request ID associated to the refund

                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + string|null + — +

                                                                                                                                                                                            the support request

                                                                                                                                                                                            +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + setAmounts() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Sets amounts.

                                                                                                                                                                                            + + + public + setAmounts(array<string|int, mixed> $amounts) : void + + +
                                                                                                                                                                                            Parameters
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + $amounts + : array<string|int, mixed> +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + setCurrency() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Sets currency.

                                                                                                                                                                                            + + + public + setCurrency(string $currency) : void + +

                                                                                                                                                                                            ISO 4217 3-character currency code. This is the currency associated with the settlement. +Supported settlement currencies are listed on Settlement Docs

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            Parameters
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + $currency + : string +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            the currency

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + setSupportRequest() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Sets support request.

                                                                                                                                                                                            + + + public + setSupportRequest(string $supportRequest) : void + +

                                                                                                                                                                                            BitPay support request ID associated to the refund

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            Parameters
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + $supportRequest + : string +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            the support request

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            + toArray() + +

                                                                                                                                                                                            + + +

                                                                                                                                                                                            Gets Refund info as array

                                                                                                                                                                                            + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                            Return values
                                                                                                                                                                                            + array<string|int, mixed> + — +

                                                                                                                                                                                            refund info as array

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

                                                                                                                                                                                            Search results

                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-Settlement.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-Settlement.html new file mode 100644 index 0000000..104e99c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-Settlement.html @@ -0,0 +1,2694 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                              + Settlement + + +
                                                                                                                                                                                              + in package + +
                                                                                                                                                                                              + + +

                                                                                                                                                                                              + + + +

                                                                                                                                                                                              Settlement data object.

                                                                                                                                                                                              + + + +
                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + see +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +

                                                                                                                                                                                              Settlements

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $accountId + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $closingDate + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $currency + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $dateCompleted + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $dateCreated + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $dateExecuted + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $id + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $ledgerEntries + +  : array<string|int, mixed> +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $ledgerEntriesSum + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $openingBalance + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $openingDate + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $payoutInfo + +  : PayoutInfo|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $status + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $token + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $totalAmount + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $withHoldings + +  : array<string|int, mixed> +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + $withHoldingsSum + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + __construct() + +  : mixed +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getAccountId() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets account id
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getClosingDate() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets closing date.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getCurrency() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets currency
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getDateCompleted() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets date completed
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getDateCreated() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets date created
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getDateExecuted() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets date executed
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getId() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets id
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getLedgerEntries() + +  : array<string|int, SettlementLedgerEntry> +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets Array of ledger entries listing the various debits and credits which are settled in the report.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getLedgerEntriesSum() + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets ledger entries sum.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getOpeningBalance() + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets Balance of the ledger at the openingDate
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getOpeningDate() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets opening date
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getPayoutInfo() + +  : PayoutInfo|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets Object containing the settlement info provided by the Merchant in his BitPay account settings
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getStatus() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets Status of the settlement. Possible statuses are "new", "processing", "rejected" and "completed".
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getToken() + +  : string|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets API token for the corresponding settlement resource.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getTotalAmount() + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets total amount sent to the merchant; 2 decimals.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getWithHoldings() + +  : array<string|int, WithHoldings> +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets with holdings
                                                                                                                                                                                              + +
                                                                                                                                                                                              + getWithHoldingsSum() + +  : float|null +
                                                                                                                                                                                              +
                                                                                                                                                                                              Gets Sum of all amounts that are withheld from settlement
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setAccountId() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets account id
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setClosingDate() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets closing date.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setCurrency() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets currency
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setDateCompleted() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets date completed
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setDateCreated() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets date created
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setDateExecuted() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets date executed
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setId() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets id
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setLedgerEntries() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets Array of ledger entries listing the various debits and credits which are settled in the report.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setLedgerEntriesSum() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets ledger entries sum.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setOpeningBalance() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets Balance of the ledger at the openingDate
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setOpeningDate() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets opening date
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setPayoutInfo() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets Object containing the settlement info provided by the Merchant in his BitPay account settings
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setStatus() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets Status of the settlement. Possible statuses are "new", "processing", "rejected" and "completed".
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setToken() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets API token for the corresponding settlement resource.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setTotalAmount() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets total amount sent to the merchant; 2 decimals.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setWithHoldings() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets with holdings
                                                                                                                                                                                              + +
                                                                                                                                                                                              + setWithHoldingsSum() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              Sets Sum of all amounts that are withheld from settlement
                                                                                                                                                                                              + +
                                                                                                                                                                                              + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                              +
                                                                                                                                                                                              Returns the Settlement object as array
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              + Properties + +

                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $accountId + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $accountId + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $closingDate + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $closingDate + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $currency + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $currency + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $dateCompleted + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $dateCompleted + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $dateCreated + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $dateCreated + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $dateExecuted + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $dateExecuted + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $id + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $id + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $ledgerEntries + + + +

                                                                                                                                                                                              + + + + + protected + array<string|int, mixed> + $ledgerEntries + = [] + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $ledgerEntriesSum + + + +

                                                                                                                                                                                              + + + + + protected + float|null + $ledgerEntriesSum + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $openingBalance + + + +

                                                                                                                                                                                              + + + + + protected + float|null + $openingBalance + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $openingDate + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $openingDate + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $payoutInfo + + + +

                                                                                                                                                                                              + + + + + protected + PayoutInfo|null + $payoutInfo + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $status + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $status + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $token + + + +

                                                                                                                                                                                              + + + + + protected + string|null + $token + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $totalAmount + + + +

                                                                                                                                                                                              + + + + + protected + float|null + $totalAmount + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $withHoldings + + + +

                                                                                                                                                                                              + + + + + protected + array<string|int, mixed> + $withHoldings + = [] + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + $withHoldingsSum + + + +

                                                                                                                                                                                              + + + + + protected + float|null + $withHoldingsSum + = null + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +

                                                                                                                                                                                              + Methods + +

                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + __construct() + +

                                                                                                                                                                                              + + + + + public + __construct() : mixed + +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + mixed + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getAccountId() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets account id

                                                                                                                                                                                              + + + public + getAccountId() : string|null + +

                                                                                                                                                                                              String identifying the BitPay merchant. For internal use, this field can be ignored in merchant implementations.

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getClosingDate() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets closing date.

                                                                                                                                                                                              + + + public + getClosingDate() : string|null + +

                                                                                                                                                                                              Date & time for last ledger entry used for the settlement. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getCurrency() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets currency

                                                                                                                                                                                              + + + public + getCurrency() : string|null + +

                                                                                                                                                                                              ISO 4217 3-character currency code. This is the currency associated with the settlement. +Supported settlement currencies are listed on https://bitpay.com/docs/settlement

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getDateCompleted() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets date completed

                                                                                                                                                                                              + + + public + getDateCompleted() : string|null + +

                                                                                                                                                                                              Timestamp when the settlement was completed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getDateCreated() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets date created

                                                                                                                                                                                              + + + public + getDateCreated() : string|null + +

                                                                                                                                                                                              Timestamp when the settlement was created. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getDateExecuted() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets date executed

                                                                                                                                                                                              + + + public + getDateExecuted() : string|null + +

                                                                                                                                                                                              Timestamp when the settlement was executed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getId() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets id

                                                                                                                                                                                              + + + public + getId() : string|null + +

                                                                                                                                                                                              String identifying the settlement; this id will also be in the description of the corresponding bank settlement.

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getLedgerEntries() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets Array of ledger entries listing the various debits and credits which are settled in the report.

                                                                                                                                                                                              + + + public + getLedgerEntries() : array<string|int, SettlementLedgerEntry> + +

                                                                                                                                                                                              The total sum of all ledger entries is reported in the field ledgerEntriesSum. +A description of all ledger codes can be found

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + array<string|int, SettlementLedgerEntry> + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getLedgerEntriesSum() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets ledger entries sum.

                                                                                                                                                                                              + + + public + getLedgerEntriesSum() : float|null + +

                                                                                                                                                                                              Sum of all ledger entries in the settlement, this means all the debits & credits +which happened between openingDate and closingDate

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + float|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getOpeningBalance() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets Balance of the ledger at the openingDate

                                                                                                                                                                                              + + + public + getOpeningBalance() : float|null + + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + float|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getOpeningDate() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets opening date

                                                                                                                                                                                              + + + public + getOpeningDate() : string|null + +

                                                                                                                                                                                              corresponds to the closingDate of the previous settlement executed. +For the first settlement of an account the value will be the BitPay merchant account creation date. +UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getPayoutInfo() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets Object containing the settlement info provided by the Merchant in his BitPay account settings

                                                                                                                                                                                              + + + public + getPayoutInfo() : PayoutInfo|null + + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + PayoutInfo|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getStatus() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets Status of the settlement. Possible statuses are "new", "processing", "rejected" and "completed".

                                                                                                                                                                                              + + + public + getStatus() : string|null + + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getToken() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets API token for the corresponding settlement resource.

                                                                                                                                                                                              + + + public + getToken() : string|null + +

                                                                                                                                                                                              This token is actually derived from the merchant facade token used during the query. +This token is required to fetch the reconciliation report

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + string|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getTotalAmount() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets total amount sent to the merchant; 2 decimals.

                                                                                                                                                                                              + + + public + getTotalAmount() : float|null + +

                                                                                                                                                                                              totalAmount = openingBalance + ledgerEntriesSum - withholdingsSum

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + float|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getWithHoldings() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets with holdings

                                                                                                                                                                                              + + + public + getWithHoldings() : array<string|int, WithHoldings> + +

                                                                                                                                                                                              Array of withholdings. Withholdings are kept on the ledger to be used later and thus withheld +from this settlement. Each withholding is a JSON object containing a code, amount and description field.

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + array<string|int, WithHoldings> + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + getWithHoldingsSum() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Gets Sum of all amounts that are withheld from settlement

                                                                                                                                                                                              + + + public + getWithHoldingsSum() : float|null + + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + float|null + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setAccountId() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets account id

                                                                                                                                                                                              + + + public + setAccountId(string $accountId) : void + +

                                                                                                                                                                                              String identifying the BitPay merchant. For internal use, this field can be ignored in merchant implementations.

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $accountId + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setClosingDate() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets closing date.

                                                                                                                                                                                              + + + public + setClosingDate(string $closingDate) : void + +

                                                                                                                                                                                              Date & time for last ledger entry used for the settlement. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $closingDate + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setCurrency() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets currency

                                                                                                                                                                                              + + + public + setCurrency(string $currency) : void + +

                                                                                                                                                                                              ISO 4217 3-character currency code. This is the currency associated with the settlement. +Supported settlement currencies are listed on https://bitpay.com/docs/settlement

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $currency + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setDateCompleted() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets date completed

                                                                                                                                                                                              + + + public + setDateCompleted(string $dateCompleted) : void + +

                                                                                                                                                                                              Timestamp when the settlement was completed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $dateCompleted + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setDateCreated() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets date created

                                                                                                                                                                                              + + + public + setDateCreated(string $dateCreated) : void + +

                                                                                                                                                                                              Timestamp when the settlement was created. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $dateCreated + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setDateExecuted() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets date executed

                                                                                                                                                                                              + + + public + setDateExecuted(string $dateExecuted) : void + +

                                                                                                                                                                                              Timestamp when the settlement was executed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $dateExecuted + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setId() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets id

                                                                                                                                                                                              + + + public + setId(string $id) : void + +

                                                                                                                                                                                              String identifying the settlement; this id will also be in the description of the corresponding bank settlement.

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $id + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setLedgerEntries() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets Array of ledger entries listing the various debits and credits which are settled in the report.

                                                                                                                                                                                              + + + public + setLedgerEntries(array<string|int, SettlementLedgerEntry$ledgerEntries) : void + +

                                                                                                                                                                                              The total sum of all ledger entries is reported in the field ledgerEntriesSum. +A description of all ledger codes can be found

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $ledgerEntries + : array<string|int, SettlementLedgerEntry> +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + throws +
                                                                                                                                                                                              +
                                                                                                                                                                                              + SettlementException + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setLedgerEntriesSum() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets ledger entries sum.

                                                                                                                                                                                              + + + public + setLedgerEntriesSum(float $ledgerEntriesSum) : void + +

                                                                                                                                                                                              Sum of all ledger entries in the settlement, this means all the debits & credits +which happened between openingDate and closingDate

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $ledgerEntriesSum + : float +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setOpeningBalance() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets Balance of the ledger at the openingDate

                                                                                                                                                                                              + + + public + setOpeningBalance(float $openingBalance) : void + + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $openingBalance + : float +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setOpeningDate() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets opening date

                                                                                                                                                                                              + + + public + setOpeningDate(string $openingDate) : void + +

                                                                                                                                                                                              corresponds to the closingDate of the previous settlement executed. +For the first settlement of an account the value will be the BitPay merchant account creation date. +UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $openingDate + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setPayoutInfo() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets Object containing the settlement info provided by the Merchant in his BitPay account settings

                                                                                                                                                                                              + + + public + setPayoutInfo(PayoutInfo $payoutInfo) : void + + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $payoutInfo + : PayoutInfo +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setStatus() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets Status of the settlement. Possible statuses are "new", "processing", "rejected" and "completed".

                                                                                                                                                                                              + + + public + setStatus(string $status) : void + + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $status + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setToken() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets API token for the corresponding settlement resource.

                                                                                                                                                                                              + + + public + setToken(string $token) : void + +

                                                                                                                                                                                              This token is actually derived from the merchant facade token used during the query. +This token is required to fetch the reconciliation report

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $token + : string +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setTotalAmount() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets total amount sent to the merchant; 2 decimals.

                                                                                                                                                                                              + + + public + setTotalAmount(float $totalAmount) : void + +

                                                                                                                                                                                              totalAmount = openingBalance + ledgerEntriesSum - withholdingsSum

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $totalAmount + : float +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setWithHoldings() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets with holdings

                                                                                                                                                                                              + + + public + setWithHoldings(array<string|int, WithHoldings$withHoldings) : void + +

                                                                                                                                                                                              Array of withholdings. Withholdings are kept on the ledger to be used later and thus withheld +from this settlement. Each withholding is a JSON object containing a code, amount and description field.

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $withHoldings + : array<string|int, WithHoldings> +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + throws +
                                                                                                                                                                                              +
                                                                                                                                                                                              + SettlementException + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + setWithHoldingsSum() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Sets Sum of all amounts that are withheld from settlement

                                                                                                                                                                                              + + + public + setWithHoldingsSum(float $withHoldingsSum) : void + + +
                                                                                                                                                                                              Parameters
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + $withHoldingsSum + : float +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + toArray() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              Returns the Settlement object as array

                                                                                                                                                                                              + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + array<string|int, mixed> + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              Search results

                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html new file mode 100644 index 0000000..de5ab26 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html @@ -0,0 +1,1336 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                + SettlementLedgerEntry + + +
                                                                                                                                                                                                + in package + +
                                                                                                                                                                                                + + +

                                                                                                                                                                                                + + + +

                                                                                                                                                                                                Class SettlementLedgerEntry

                                                                                                                                                                                                + + + +
                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + see +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Settlements

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $amount + +  : float|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + $code + +  : int|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + $description + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + $invoiceData + +  : InvoiceData +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + $invoiceId + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + $reference + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + $timestamp + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getAmount() + +  : float|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets amount
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getCode() + +  : int|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets code
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getDescription() + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets Ledger entry description.
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getInvoiceData() + +  : InvoiceData +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets Invoice Data
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getInvoiceId() + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets BitPay invoice Id
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getReference() + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets reference
                                                                                                                                                                                                + +
                                                                                                                                                                                                + getTimestamp() + +  : string|null +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setAmount() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets amount
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setCode() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets code
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setDescription() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets Ledger entry description.
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setInvoiceData() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets Invoice Data
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setInvoiceId() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets BitPay invoice Id
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setReference() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets reference
                                                                                                                                                                                                + +
                                                                                                                                                                                                + setTimestamp() + +  : void +
                                                                                                                                                                                                +
                                                                                                                                                                                                Sets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ
                                                                                                                                                                                                + +
                                                                                                                                                                                                + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                +
                                                                                                                                                                                                Gets SettlementLedgerEntry as array
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + Properties + +

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + $amount + + + +

                                                                                                                                                                                                + + + + + protected + float|null + $amount + = null + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + $description + + + +

                                                                                                                                                                                                + + + + + protected + string|null + $description + = null + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + $invoiceId + + + +

                                                                                                                                                                                                + + + + + protected + string|null + $invoiceId + = null + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + $reference + + + +

                                                                                                                                                                                                + + + + + protected + string|null + $reference + = null + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + $timestamp + + + +

                                                                                                                                                                                                + + + + + protected + string|null + $timestamp + = null + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + Methods + +

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + __construct() + +

                                                                                                                                                                                                + + + + + public + __construct() : mixed + +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getAmount() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets amount

                                                                                                                                                                                                + + + public + getAmount() : float|null + +

                                                                                                                                                                                                Amount for the ledger entry. Can be positive of negative depending on the type of entry (debit or credit)

                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + float|null + — +

                                                                                                                                                                                                the amount

                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getCode() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets code

                                                                                                                                                                                                + + + public + getCode() : int|null + +

                                                                                                                                                                                                Contains the Ledger entry code

                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + int|null + — +

                                                                                                                                                                                                the code

                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getDescription() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets Ledger entry description.

                                                                                                                                                                                                + + + public + getDescription() : string|null + +

                                                                                                                                                                                                This field often contains an id depending on the type of entry +(for instance payout id, settlement id, invoice orderId etc...)

                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + string|null + — +

                                                                                                                                                                                                the description

                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getInvoiceData() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets Invoice Data

                                                                                                                                                                                                + + + public + getInvoiceData() : InvoiceData + +

                                                                                                                                                                                                Object containing relevant information from the paid invoice

                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + InvoiceData + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getInvoiceId() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets BitPay invoice Id

                                                                                                                                                                                                + + + public + getInvoiceId() : string|null + + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + string|null + — +

                                                                                                                                                                                                BitPay invoice Id

                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getReference() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets reference

                                                                                                                                                                                                + + + public + getReference() : string|null + + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + string|null + — +

                                                                                                                                                                                                the reference

                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + getTimestamp() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                                + + + public + getTimestamp() : string|null + + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + string|null + — +

                                                                                                                                                                                                the timestamp

                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setAmount() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets amount

                                                                                                                                                                                                + + + public + setAmount(float $amount) : void + +

                                                                                                                                                                                                Amount for the ledger entry. Can be positive of negative depending on the type of entry (debit or credit)

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $amount + : float +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                the amount

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setCode() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets code

                                                                                                                                                                                                + + + public + setCode(int $code) : void + +

                                                                                                                                                                                                Contains the Ledger entry code

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $code + : int +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                the code

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setDescription() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets Ledger entry description.

                                                                                                                                                                                                + + + public + setDescription(string $description) : void + +

                                                                                                                                                                                                This field often contains an id depending on the type of entry +(for instance payout id, settlement id, invoice orderId etc...)

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $description + : string +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                the description

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setInvoiceData() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets Invoice Data

                                                                                                                                                                                                + + + public + setInvoiceData(InvoiceData $invoiceData) : void + +

                                                                                                                                                                                                Object containing relevant information from the paid invoice

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $invoiceData + : InvoiceData +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setInvoiceId() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets BitPay invoice Id

                                                                                                                                                                                                + + + public + setInvoiceId(string $invoiceId) : void + + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $invoiceId + : string +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                BitPay invoice Id

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setReference() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets reference

                                                                                                                                                                                                + + + public + setReference(string $reference) : void + + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $reference + : string +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                the reference

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + setTimestamp() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Sets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ

                                                                                                                                                                                                + + + public + setTimestamp(string $timestamp) : void + + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $timestamp + : string +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                the timestamp

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + toArray() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                Gets SettlementLedgerEntry as array

                                                                                                                                                                                                + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + array<string|int, mixed> + — +

                                                                                                                                                                                                SettlementLedgerEntry as array

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

                                                                                                                                                                                                Search results

                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-WithHoldings.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-WithHoldings.html new file mode 100644 index 0000000..30385f0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Settlement-WithHoldings.html @@ -0,0 +1,1161 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                  + WithHoldings + + +
                                                                                                                                                                                                  + in package + +
                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                  Class WithHoldings

                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + see +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  Settlements

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $amount + +  : float|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $bankCountry + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $code + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $description + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $label + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $notes + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  WithHoldings constructor.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + getAmount() + +  : float|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Gets amount.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + getBankCountry() + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Gets bank country.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + getCode() + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Gets code.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + getDescription() + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Gets description.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + getLabel() + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Gets label.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + getNotes() + +  : string|null +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Gets notes.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setAmount() + +  : void +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Sets amount.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setBankCountry() + +  : void +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Sets bank country.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setCode() + +  : void +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Sets code.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setDescription() + +  : void +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Sets description.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setLabel() + +  : void +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Sets label.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setNotes() + +  : void +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Sets notes.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Return an array with class values.
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Properties + +

                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $amount + + + +

                                                                                                                                                                                                  + + + + + protected + float|null + $amount + = null + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $bankCountry + + + +

                                                                                                                                                                                                  + + + + + protected + string|null + $bankCountry + = null + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $code + + + +

                                                                                                                                                                                                  + + + + + protected + string|null + $code + = null + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $description + + + +

                                                                                                                                                                                                  + + + + + protected + string|null + $description + = null + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $label + + + +

                                                                                                                                                                                                  + + + + + protected + string|null + $label + = null + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $notes + + + +

                                                                                                                                                                                                  + + + + + protected + string|null + $notes + = null + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + __construct() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  WithHoldings constructor.

                                                                                                                                                                                                  + + + public + __construct() : mixed + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + getAmount() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Gets amount.

                                                                                                                                                                                                  + + + public + getAmount() : float|null + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + float|null + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + getBankCountry() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Gets bank country.

                                                                                                                                                                                                  + + + public + getBankCountry() : string|null + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + getCode() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Gets code.

                                                                                                                                                                                                  + + + public + getCode() : string|null + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + getDescription() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Gets description.

                                                                                                                                                                                                  + + + public + getDescription() : string|null + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + getLabel() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Gets label.

                                                                                                                                                                                                  + + + public + getLabel() : string|null + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + getNotes() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Gets notes.

                                                                                                                                                                                                  + + + public + getNotes() : string|null + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + string|null + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setAmount() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Sets amount.

                                                                                                                                                                                                  + + + public + setAmount(float $amount) : void + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $amount + : float +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setBankCountry() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Sets bank country.

                                                                                                                                                                                                  + + + public + setBankCountry(string $bankCountry) : void + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $bankCountry + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setCode() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Sets code.

                                                                                                                                                                                                  + + + public + setCode(string $code) : void + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $code + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setDescription() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Sets description.

                                                                                                                                                                                                  + + + public + setDescription(string $description) : void + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $description + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setLabel() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Sets label.

                                                                                                                                                                                                  + + + public + setLabel(string $label) : void + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $label + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setNotes() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Sets notes.

                                                                                                                                                                                                  + + + public + setNotes(string $notes) : void + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $notes + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + toArray() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Return an array with class values.

                                                                                                                                                                                                  + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  Search results

                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Currencies.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Currencies.html new file mode 100644 index 0000000..c6b8dd8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Currencies.html @@ -0,0 +1,1479 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                    + Currencies + + +
                                                                                                                                                                                                    + in package + +
                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                    Details of what currencies support payments for this wallet

                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + see +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    Wallets

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $code + +  : string|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $dappBrowser + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $image + +  : string|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $p2p + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $payPro + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $qr + +  : CurrencyQr|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $walletConnect + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $withdrawalFee + +  : string|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __construct() + +  : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getCode() + +  : string|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets code
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getDappBrowser() + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets Dapp Browser
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getImage() + +  : string|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets URL that displays currency image
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getP2p() + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets p2p
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getPayPro() + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets pay pro
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getQr() + +  : CurrencyQr|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets CurrencyQr
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getWalletConnect() + +  : bool|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets wallet connect
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + getWithdrawalFee() + +  : string|null +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets Custodial wallet withdrawal fee
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setCode() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets code
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setDappBrowser() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets Dapp Browser
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setImage() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets URL that displays currency image
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setP2p() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets p2p
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setPayPro() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets pay pro
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setQr() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets CurrencyQr
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setWalletConnect() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets wallet connect
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + setWithdrawalFee() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Sets Custodial wallet withdrawal fee
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Gets Currencies as array
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + Properties + +

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $code + + + +

                                                                                                                                                                                                    + + + + + protected + string|null + $code + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $dappBrowser + + + +

                                                                                                                                                                                                    + + + + + protected + bool|null + $dappBrowser + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $image + + + +

                                                                                                                                                                                                    + + + + + protected + string|null + $image + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $p2p + + + +

                                                                                                                                                                                                    + + + + + protected + bool|null + $p2p + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $payPro + + + +

                                                                                                                                                                                                    + + + + + protected + bool|null + $payPro + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $walletConnect + + + +

                                                                                                                                                                                                    + + + + + protected + bool|null + $walletConnect + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $withdrawalFee + + + +

                                                                                                                                                                                                    + + + + + protected + string|null + $withdrawalFee + = null + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __construct() + +

                                                                                                                                                                                                    + + + + + public + __construct() : mixed + +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + mixed + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getCode() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets code

                                                                                                                                                                                                    + + + public + getCode() : string|null + +

                                                                                                                                                                                                    Identifying code for the currency

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + string|null + — +

                                                                                                                                                                                                    the code

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getDappBrowser() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets Dapp Browser

                                                                                                                                                                                                    + + + public + getDappBrowser() : bool|null + +

                                                                                                                                                                                                    Indicates that this payment method operates via a browser plugin interacting with the invoice

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + bool|null + — +

                                                                                                                                                                                                    the dapp browser

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getImage() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets URL that displays currency image

                                                                                                                                                                                                    + + + public + getImage() : string|null + + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + string|null + — +

                                                                                                                                                                                                    the image url

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getP2p() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets p2p

                                                                                                                                                                                                    + + + public + getP2p() : bool|null + +

                                                                                                                                                                                                    Indicates that this is a peer to peer (p2p) payment method (as opposed to payment protocol)

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + bool|null + — +

                                                                                                                                                                                                    the p2p

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getPayPro() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets pay pro

                                                                                                                                                                                                    + + + public + getPayPro() : bool|null + +

                                                                                                                                                                                                    Whether or not BitPay Payment Protocol is supported on this particular currency option

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + bool|null + — +

                                                                                                                                                                                                    the pay pro

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getQr() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets CurrencyQr

                                                                                                                                                                                                    + + + public + getQr() : CurrencyQr|null + +

                                                                                                                                                                                                    Object containing QR code related information to show for this payment method

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + CurrencyQr|null + — +

                                                                                                                                                                                                    the qr

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getWalletConnect() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets wallet connect

                                                                                                                                                                                                    + + + public + getWalletConnect() : bool|null + +

                                                                                                                                                                                                    Whether or not this wallet supports walletConnect

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + bool|null + — +

                                                                                                                                                                                                    the wallet connect

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + getWithdrawalFee() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets Custodial wallet withdrawal fee

                                                                                                                                                                                                    + + + public + getWithdrawalFee() : string|null + + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + string|null + — +

                                                                                                                                                                                                    the withdrawal fee

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setCode() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets code

                                                                                                                                                                                                    + + + public + setCode(string $code) : void + +

                                                                                                                                                                                                    Identifying code for the currency

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $code + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the code

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setDappBrowser() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets Dapp Browser

                                                                                                                                                                                                    + + + public + setDappBrowser(bool $dappBrowser) : void + +

                                                                                                                                                                                                    Indicates that this payment method operates via a browser plugin interacting with the invoice

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $dappBrowser + : bool +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the dapp browser

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setImage() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets URL that displays currency image

                                                                                                                                                                                                    + + + public + setImage(string $image) : void + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $image + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the image url

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setP2p() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets p2p

                                                                                                                                                                                                    + + + public + setP2p(bool $p2p) : void + +

                                                                                                                                                                                                    Indicates that this is a peer to peer (p2p) payment method (as opposed to payment protocol)

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $p2p + : bool +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the p2p

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setPayPro() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets pay pro

                                                                                                                                                                                                    + + + public + setPayPro(bool $payPro) : void + +

                                                                                                                                                                                                    Whether or not BitPay Payment Protocol is supported on this particular currency option

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $payPro + : bool +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the pay pro

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setQr() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets CurrencyQr

                                                                                                                                                                                                    + + + public + setQr(CurrencyQr $qr) : void + +

                                                                                                                                                                                                    Object containing QR code related information to show for this payment method

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $qr + : CurrencyQr +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the currency qr

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setWalletConnect() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets wallet connect

                                                                                                                                                                                                    + + + public + setWalletConnect(bool $walletConnect) : void + +

                                                                                                                                                                                                    Whether or not this wallet supports walletConnect

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $walletConnect + : bool +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the wallet connect

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + setWithdrawalFee() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Sets Custodial wallet withdrawal fee

                                                                                                                                                                                                    + + + public + setWithdrawalFee(string $withdrawalFee) : void + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $withdrawalFee + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    the withdrawal fee

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + toArray() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Gets Currencies as array

                                                                                                                                                                                                    + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                                                                                                    Currencies as array

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

                                                                                                                                                                                                    Search results

                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-CurrencyQr.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-CurrencyQr.html new file mode 100644 index 0000000..3db4294 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-CurrencyQr.html @@ -0,0 +1,653 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                      + CurrencyQr + + +
                                                                                                                                                                                                      + in package + +
                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                      Object containing QR code related information to show for this payment method

                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + see +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      Wallets

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $collapsed + +  : bool|null +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $type + +  : string|null +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + getCollapsed() + +  : bool|null +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Gets collapsed
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + getType() + +  : string|null +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Gets Type
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + setCollapsed() + +  : void +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Sets collapsed
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + setType() + +  : void +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Sets Type
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Gets CurrencyQr as array
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + Properties + +

                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $collapsed + + + +

                                                                                                                                                                                                      + + + + + protected + bool|null + $collapsed + = null + +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $type + + + +

                                                                                                                                                                                                      + + + + + protected + string|null + $type + = null + +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + __construct() + +

                                                                                                                                                                                                      + + + + + public + __construct() : mixed + +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + getCollapsed() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Gets collapsed

                                                                                                                                                                                                      + + + public + getCollapsed() : bool|null + +

                                                                                                                                                                                                      UI hint for BitPay invoice, generally not relevant to customer integrations

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + bool|null + — +

                                                                                                                                                                                                      the collapsed

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + getType() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Gets Type

                                                                                                                                                                                                      + + + public + getType() : string|null + +

                                                                                                                                                                                                      The type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc)

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + string|null + — +

                                                                                                                                                                                                      The type of QR code to use

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + setCollapsed() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Sets collapsed

                                                                                                                                                                                                      + + + public + setCollapsed(bool $collapsed) : void + +

                                                                                                                                                                                                      UI hint for BitPay invoice, generally not relevant to customer integrations

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $collapsed + : bool +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      the collapsed

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + setType() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Sets Type

                                                                                                                                                                                                      + + + public + setType(string $type) : void + +

                                                                                                                                                                                                      The type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc)

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $type + : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      The type of QR code to use

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + toArray() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Gets CurrencyQr as array

                                                                                                                                                                                                      + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + array<string|int, mixed> + — +

                                                                                                                                                                                                      CurrencyQr as array

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

                                                                                                                                                                                                      Search results

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Wallet.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Wallet.html new file mode 100644 index 0000000..4c2852c --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Model-Wallet-Wallet.html @@ -0,0 +1,1204 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                        + Wallet + + +
                                                                                                                                                                                                        + in package + +
                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + see +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Wallets

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $avatar + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $currencies + +  : Currencies +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $displayName + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $image + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $key + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $payPro + +  : bool|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Constructor, create a minimal request Wallet object.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + getAvatar() + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets avatar
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + getCurrencies() + +  : Currencies +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets currencies
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + getDisplayName() + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets display name
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + getImage() + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets image
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + getKey() + +  : string|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets A unique identifier for the wallet
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + getPayPro() + +  : bool|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets pay pro
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + setAvatar() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Sets avatar
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + setCurrencies() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Sets currencies
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + setDisplayName() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Sets display name
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + setImage() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Sets image
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + setKey() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Sets A unique identifier for the wallet
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + setPayPro() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Sets pay pro
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + toArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Gets Wallet as array
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Properties + +

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $avatar + + + +

                                                                                                                                                                                                        + + + + + protected + string|null + $avatar + = null + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $currencies + + + +

                                                                                                                                                                                                        + + + + + protected + Currencies + $currencies + + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $displayName + + + +

                                                                                                                                                                                                        + + + + + protected + string|null + $displayName + = null + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $image + + + +

                                                                                                                                                                                                        + + + + + protected + string|null + $image + = null + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $key + + + +

                                                                                                                                                                                                        + + + + + protected + string|null + $key + = null + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $payPro + + + +

                                                                                                                                                                                                        + + + + + protected + bool|null + $payPro + = null + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __construct() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Constructor, create a minimal request Wallet object.

                                                                                                                                                                                                        + + + public + __construct() : mixed + + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + getAvatar() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets avatar

                                                                                                                                                                                                        + + + public + getAvatar() : string|null + +

                                                                                                                                                                                                        Filename of a wallet graphic (not fully qualified)

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                                        the avatar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + getCurrencies() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets currencies

                                                                                                                                                                                                        + + + public + getCurrencies() : Currencies + +

                                                                                                                                                                                                        Details of what currencies support payments for this wallet

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + Currencies + — +

                                                                                                                                                                                                        the currencies

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + getDisplayName() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets display name

                                                                                                                                                                                                        + + + public + getDisplayName() : string|null + +

                                                                                                                                                                                                        Human readable display name for the wallet

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                                        the display name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + getImage() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets image

                                                                                                                                                                                                        + + + public + getImage() : string|null + +

                                                                                                                                                                                                        URL that displays wallet avatar image

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                                        the image url

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + getKey() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets A unique identifier for the wallet

                                                                                                                                                                                                        + + + public + getKey() : string|null + + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + string|null + — +

                                                                                                                                                                                                        the key

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + getPayPro() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets pay pro

                                                                                                                                                                                                        + + + public + getPayPro() : bool|null + +

                                                                                                                                                                                                        Whether or not the wallet supports ANY BitPay Payment Protocol options

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool|null + — +

                                                                                                                                                                                                        the pay pro

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + setAvatar() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Sets avatar

                                                                                                                                                                                                        + + + public + setAvatar(string $avatar) : void + +

                                                                                                                                                                                                        Filename of a wallet graphic (not fully qualified)

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $avatar + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        the avatar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + setCurrencies() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Sets currencies

                                                                                                                                                                                                        + + + public + setCurrencies(Currencies $currencies) : void + +

                                                                                                                                                                                                        Details of what currencies support payments for this wallet

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $currencies + : Currencies +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        the currencies

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + setDisplayName() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Sets display name

                                                                                                                                                                                                        + + + public + setDisplayName(string $displayName) : void + +

                                                                                                                                                                                                        Human readable display name for the wallet

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $displayName + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        the display name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + setImage() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Sets image

                                                                                                                                                                                                        + + + public + setImage(string $image) : void + +

                                                                                                                                                                                                        URL that displays wallet avatar image

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $image + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        the image url

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + setKey() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Sets A unique identifier for the wallet

                                                                                                                                                                                                        + + + public + setKey(string $key) : void + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $key + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        the key

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + setPayPro() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Sets pay pro

                                                                                                                                                                                                        + + + public + setPayPro(bool $payPro) : void + +

                                                                                                                                                                                                        Whether or not the wallet supports ANY BitPay Payment Protocol options

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $payPro + : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        the pay pro

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + toArray() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Gets Wallet as array

                                                                                                                                                                                                        + + + public + toArray() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + array<string|int, mixed> + — +

                                                                                                                                                                                                        Wallet as array

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

                                                                                                                                                                                                        Search results

                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-PosClient.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-PosClient.html new file mode 100644 index 0000000..50563a6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-PosClient.html @@ -0,0 +1,5474 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                          + PosClient + + + extends Client + + +
                                                                                                                                                                                                          + in package + +
                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                          Class Client

                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + author +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Antonio Buedo

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + version +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + 2.1.2112 + +

                                                                                                                                                                                                          See bitpay.com/api for more information. +date 10.12.2021

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $env + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $restCli + +  : RESTcli +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $RESTcli + +  : RESTcli +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $token + +  : Tokens +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $tokenCache + +  : Tokens +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Constructor for the BitPay SDK to use with the POS facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + cancelInvoice() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Cancel a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + cancelInvoiceByGuid() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Cancel a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + cancelPayout() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Cancel a BitPay Payout.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + cancelPayoutGroup() + +  : PayoutGroup +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + cancelRefund() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Cancel a previously submitted refund request on a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + cancelRefundByGuid() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Cancel a previously submitted refund request on a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + createBill() + +  : Bill +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Create a BitPay Bill.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + createInvoice() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Create a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + createPayoutGroup() + +  : PayoutGroup +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + createRefund() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Create a refund for a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + createWithData() + +  : Client +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Constructor for use if the keys and SIN are managed by this library.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + createWithFile() + +  : Client +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Constructor for use if the keys and SIN are managed by this library.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + deletePayoutRecipient() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Delete a Payout Recipient.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + deliverBill() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Deliver a BitPay Bill.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getBill() + +  : Bill +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a BitPay bill by bill id using the specified facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getBills() + +  : array<string|int, Bill> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a collection of BitPay bills.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getCurrencies() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Fetch the supported currencies.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getCurrencyPairRate() + +  : Rate +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve the rate for a cryptocurrency / fiat pair
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getCurrencyRates() + +  : Rates +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve all the rates for a given cryptocurrency
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getInvoice() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously +authorized for the specified facade (the public facade requires no authorization).
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getInvoiceByGuid() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a BitPay invoice by guid using the specified facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getInvoices() + +  : array<string|int, Invoice> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a collection of BitPay invoices.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getLedgerEntries() + +  : array<string|int, LedgerEntry> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a list of ledgers by date range using the merchant facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getLedgers() + +  : array<string|int, Ledger> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a list of ledgers using the merchant facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getPayout() + +  : Payout +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a BitPay payout by payout id using. The client must have been previously authorized +for the payout facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getPayoutRecipient() + +  : PayoutRecipient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the +payout facade.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getPayoutRecipients() + +  : array<string|int, PayoutRecipient> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a collection of BitPay Payout Recipients.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getPayouts() + +  : array<string|int, Payout> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a collection of BitPay payouts.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getRates() + +  : Rates +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getRefund() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a previously made refund request on a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getRefundByGuid() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve a previously made refund request on a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getRefunds() + +  : array<string|int, Refund> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve all refund requests on a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getSettlement() + +  : Settlement +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieves a summary of the specified settlement.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getSettlementReconciliationReport() + +  : Settlement +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets a detailed reconciliation report of the activity within the settlement period.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getSettlements() + +  : array<string|int, Settlement> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieves settlement reports for the calling merchant filtered by query.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getSupportedWallets() + +  : array<string|int, Wallet> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Retrieve all supported wallets.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getTokens() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get Tokens.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + payInvoice() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Pay an invoice with a mock transaction
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + requestInvoiceNotification() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Request a BitPay Invoice Webhook.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + requestPayoutNotification() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Notify BitPay Payout.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + requestPayoutRecipientNotification() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Notify BitPay Payout Recipient.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + sendRefundNotification() + +  : bool +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Send a refund notification.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + submitPayout() + +  : Payout +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Submit a BitPay Payout.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + submitPayoutRecipients() + +  : array<string|int, PayoutRecipient> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Submit BitPay Payout Recipients.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + updateBill() + +  : Bill +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Update a BitPay Bill.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + updateInvoice() + +  : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Update a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + updatePayoutRecipient() + +  : PayoutRecipient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Update a Payout Recipient.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + updateRefund() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Update the status of a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + updateRefundByGuid() + +  : Refund +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Update the status of a BitPay invoice.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getBillClient() + +  : BillClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets bill client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getInvoiceClient() + +  : InvoiceClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets invoice client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getLedgerClient() + +  : LedgerClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets ledger client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getPayoutClient() + +  : PayoutClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets payout client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getPayoutRecipientsClient() + +  : PayoutRecipientsClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets payout recipients client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getRateClient() + +  : RateClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets rate client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getRefundClient() + +  : RefundClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets refund client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getSettlementClient() + +  : SettlementClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets settlement client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getWalletClient() + +  : WalletClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets wallet client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getConfigData() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + getTokenClient() + +  : TokenClient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Gets token client
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + init() + +  : void +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Initialize this object with the selected environment.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + initKeys() + +  : PrivateKey|null +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Properties + +

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $env + + + +

                                                                                                                                                                                                          + + + + + protected + string + $env + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $restCli + + + +

                                                                                                                                                                                                          + + + + + protected + RESTcli + $restCli + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $RESTcli + + + +

                                                                                                                                                                                                          + + + + + protected + RESTcli + $RESTcli + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $token + + + +

                                                                                                                                                                                                          + + + + + protected + Tokens + $token + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $tokenCache + + + +

                                                                                                                                                                                                          + + + + + protected + Tokens + $tokenCache + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __construct() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Constructor for the BitPay SDK to use with the POS facade.

                                                                                                                                                                                                          + + + public + __construct( $token[, string|null $environment = null ]) : mixed + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $token + : +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The token generated on the BitPay account.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $environment + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The target environment [Default: Production].

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + +

                                                                                                                                                                                                          BitPayException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + cancelInvoice() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Cancel a BitPay invoice.

                                                                                                                                                                                                          + + + public + cancelInvoice(string $invoiceId[, bool $forceCancel = false ]) : Invoice + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the invoice to updated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $forceCancel + : bool + = false
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Cancel an Invoice

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoiceCancellationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — +

                                                                                                                                                                                                          $invoice Cancelled invoice object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + cancelInvoiceByGuid() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Cancel a BitPay invoice.

                                                                                                                                                                                                          + + + public + cancelInvoiceByGuid(string $guid[, bool $forceCancel = false ]) : Invoice + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $guid + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The guid of the invoice to cancel.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $forceCancel + : bool + = false
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Cancel an Invoice by GUID

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoiceCancellationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — +

                                                                                                                                                                                                          $invoice Cancelled invoice object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + cancelPayout() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Cancel a BitPay Payout.

                                                                                                                                                                                                          + + + public + cancelPayout(string $payoutId) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $payoutId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the payout to cancel.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Cancel a Payout

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutCancellationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + cancelRefund() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Cancel a previously submitted refund request on a BitPay invoice.

                                                                                                                                                                                                          + + + public + cancelRefund(string $refundId) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $refundId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The refund Id for the refund to be canceled.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Cancel a Refund Request

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundCancellationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          $refund Cancelled refund Object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + cancelRefundByGuid() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Cancel a previously submitted refund request on a BitPay invoice.

                                                                                                                                                                                                          + + + public + cancelRefundByGuid(string $guid) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $guid + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The refund Guid for the refund to be canceled.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Cancel a Refund by GUID Request + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundCancellationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          $refund Cancelled refund Object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + createBill() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Create a BitPay Bill.

                                                                                                                                                                                                          + + + public + createBill(Bill $bill[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Bill + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $bill + : Bill +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A Bill object with request parameters defined.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $facade + : string + = Facade::MERCHANT
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The facade used to create it.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $signRequest + : bool + = true
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Signed request.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Create a Bill

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Bill + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + createInvoice() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Create a BitPay invoice.

                                                                                                                                                                                                          + + + public + createInvoice(Invoice $invoice[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoice + : Invoice +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          An Invoice object with request parameters defined.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $facade + : string + = Facade::MERCHANT
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The facade used to create it.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $signRequest + : bool + = true
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Signed request.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Create an Invoice

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + createRefund() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Create a refund for a BitPay invoice.

                                                                                                                                                                                                          + + + public + createRefund(string $invoiceId, float $amount, string $currency[, bool $preview = false ][, bool $immediate = false ][, bool $buyerPaysRefundFee = false ][, string|null $guid = null ]) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The BitPay invoice Id having the associated refund to be created.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $amount + : float +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Amount to be refunded in the currency indicated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $currency + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Reference currency used for the refund, usually the same as the currency used +to create the invoice.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $preview + : bool + = false
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Whether to create the refund request as a preview (which will not be acted on +until status is updated)

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $immediate + : bool + = false
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Whether funds should be removed from merchant ledger immediately on submission +or at time of processing

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $buyerPaysRefundFee + : bool + = false
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Whether the buyer should pay the refund fee (default is merchant)

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $guid + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Create a Refund Request

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundCreationException + +

                                                                                                                                                                                                          RefundCreationException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + +

                                                                                                                                                                                                          BitPayException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          $refund An updated Refund Object

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + createWithData() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Constructor for use if the keys and SIN are managed by this library.

                                                                                                                                                                                                          + + + public + static createWithData(string $environment, string $privateKey, Tokens $tokens[, string|null $privateKeySecret = null ][, string|null $proxy = null ]) : Client + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $environment + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Target environment. Options: Env.Test / Env.Prod

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $privateKey + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Private Key file path or the HEX value.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $tokens + : Tokens +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Tokens containing the available tokens.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $privateKeySecret + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Private Key encryption password.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $proxy + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The url of your proxy to forward requests through. Example: +http://********.com:3128

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Client + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + createWithFile() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Constructor for use if the keys and SIN are managed by this library.

                                                                                                                                                                                                          + + + public + static createWithFile(string $configFilePath) : Client + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $configFilePath + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The path to the configuration file.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + +

                                                                                                                                                                                                          BitPayException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Client + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + deletePayoutRecipient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Delete a Payout Recipient.

                                                                                                                                                                                                          + + + public + deletePayoutRecipient(string $recipientId) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $recipientId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The recipient id for the recipient to be deleted.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Remove a Recipient

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutRecipientCancellationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — +

                                                                                                                                                                                                          True if the recipient was successfully deleted, false otherwise.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + deliverBill() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Deliver a BitPay Bill.

                                                                                                                                                                                                          + + + public + deliverBill(string $billId, string $billToken[, bool $signRequest = true ]) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $billId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the requested bill.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $billToken + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The token of the requested bill.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $signRequest + : bool + = true
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Allow unsigned request

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Deliver a Bill Via Email

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getBill() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a BitPay bill by bill id using the specified facade.

                                                                                                                                                                                                          + + + public + getBill( $billId[,  $facade = Facade::MERCHANT ][,  $signRequest = true ]) : Bill + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $billId + : +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The id of the bill to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $facade + : + = Facade::MERCHANT
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The facade used to retrieve it.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $signRequest + : + = true
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          bool Signed request.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve a Bill

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Bill + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getBills() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a collection of BitPay bills.

                                                                                                                                                                                                          + + + public + getBills([string $status = null ]) : array<string|int, Bill> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve Bills by Status

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, Bill> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getCurrencies() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Fetch the supported currencies.

                                                                                                                                                                                                          + + + public + getCurrencies() : array<string|int, mixed> + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CurrencyQueryException + +

                                                                                                                                                                                                          CurrencyQueryException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + +

                                                                                                                                                                                                          BitPayException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          A list of BitPay Invoice objects.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getCurrencyPairRate() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve the rate for a cryptocurrency / fiat pair

                                                                                                                                                                                                          + + + public + getCurrencyPairRate(string $baseCurrency, string $currency) : Rate + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $baseCurrency + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The cryptocurrency for which you want to fetch the fiat-equivalent rate. +Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $currency + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The fiat currency for which you want to fetch the baseCurrency rate

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve the rates for a cryptocurrency / fiat pair + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Rate + — +

                                                                                                                                                                                                          A Rate object populated with the currency rate for the requested baseCurrency.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getCurrencyRates() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve all the rates for a given cryptocurrency

                                                                                                                                                                                                          + + + public + getCurrencyRates(string $baseCurrency) : Rates + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $baseCurrency + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The cryptocurrency for which you want to fetch the rates. +Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve all the rates for a given cryptocurrency + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Rates + — +

                                                                                                                                                                                                          A Rates object populated with the currency rates for the requested baseCurrency.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getInvoice() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously +authorized for the specified facade (the public facade requires no authorization).

                                                                                                                                                                                                          + + + public + getInvoice(string $invoiceId[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the invoice to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $facade + : string + = Facade::MERCHANT
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The facade used to create it.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $signRequest + : bool + = true
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Signed request.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve an Invoice by GUID

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoiceQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getInvoiceByGuid() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a BitPay invoice by guid using the specified facade.

                                                                                                                                                                                                          + + + public + getInvoiceByGuid(string $guid[, string $facade = Facade::MERCHANT ][, bool $signRequest = true ]) : Invoice + +

                                                                                                                                                                                                          The client must have been previously authorized for the specified facade.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $guid + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The guid of the invoice to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $facade + : string + = Facade::MERCHANT
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The facade used to create it.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $signRequest + : bool + = true
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Signed request.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve an Invoice by GUID

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoiceQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getInvoices() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a collection of BitPay invoices.

                                                                                                                                                                                                          + + + public + getInvoices(string $dateStart, string $dateEnd[, string|null $status = null ][, string|null $orderId = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Invoice> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $dateStart + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The start of the date window to query for invoices. Format YYYY-MM-DD.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $dateEnd + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The end of the date window to query for invoices. Format YYYY-MM-DD.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The invoice status you want to query on.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $orderId + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The optional order id specified at time of invoice creation.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $limit + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Maximum results that the query will return (useful for paging results).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $offset + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Number of results to offset (ex. skip 10 will give you results starting +with the 11th result).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve Invoices Filtered by Query + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, Invoice> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getLedgerEntries() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a list of ledgers by date range using the merchant facade.

                                                                                                                                                                                                          + + + public + getLedgerEntries(string $currency, string $startDate, string $endDate) : array<string|int, LedgerEntry> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $currency + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The three digit currency string for the ledger to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $startDate + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The first date for the query filter.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $endDate + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The last date for the query filter.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve Ledger Entries

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, LedgerEntry> + — +

                                                                                                                                                                                                          A Ledger object populated with the BitPay ledger entries list.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getLedgers() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a list of ledgers using the merchant facade.

                                                                                                                                                                                                          + + + public + getLedgers() : array<string|int, Ledger> + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve Account Balances

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, Ledger> + — +

                                                                                                                                                                                                          A list of Ledger objects populated with the currency and current balance of each one.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getPayout() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a BitPay payout by payout id using. The client must have been previously authorized +for the payout facade.

                                                                                                                                                                                                          + + + public + getPayout(string $payoutId) : Payout + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $payoutId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the payout to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve a Payout

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Payout + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getPayoutRecipient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the +payout facade.

                                                                                                                                                                                                          + + + public + getPayoutRecipient(string $recipientId) : PayoutRecipient + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $recipientId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the recipient to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve a Recipient

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutRecipientQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + PayoutRecipient + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getPayoutRecipients() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a collection of BitPay Payout Recipients.

                                                                                                                                                                                                          + + + public + getPayoutRecipients([string|null $status = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, PayoutRecipient> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The recipient status you want to query on.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $limit + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Maximum results that the query will return (useful for paging results).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $offset + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Number of results to offset (ex. skip 10 will give you results +starting with the 11th result).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve Recipients by Status + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, PayoutRecipient> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getPayouts() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a collection of BitPay payouts.

                                                                                                                                                                                                          + + + public + getPayouts([string|null $startDate = null ][, string|null $endDate = null ][, string|null $status = null ][, string|null $reference = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Payout> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $startDate + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The start date to filter the Payout Batches.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $endDate + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The end date to filter the Payout Batches.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The status to filter the Payout Batches.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $reference + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The optional reference specified at payout request creation.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $limit + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Maximum results that the query will return (useful for paging results).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $offset + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Number of results to offset (ex. skip 10 will give you results +starting with the 11th result).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve Payouts Filtered by Query + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, Payout> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getRates() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.

                                                                                                                                                                                                          + + + public + getRates() : Rates + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Rates + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getRefund() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a previously made refund request on a BitPay invoice.

                                                                                                                                                                                                          + + + public + getRefund(string $refundId) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $refundId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The BitPay refund ID.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve a Refund Request

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          $refund BitPay Refund object with the associated Refund object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getRefundByGuid() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve a previously made refund request on a BitPay invoice.

                                                                                                                                                                                                          + + + public + getRefundByGuid(string $guid) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $guid + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The BitPay refund Guid

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve a Refund by GUID Request + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          BitPay Refund object with the associated Refund object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getRefunds() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieve all refund requests on a BitPay invoice.

                                                                                                                                                                                                          + + + public + getRefunds(string $invoiceId) : array<string|int, Refund> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The BitPay invoice object having the associated refunds.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Retrieve Refunds of an Invoice + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, Refund> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getSettlement() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieves a summary of the specified settlement.

                                                                                                                                                                                                          + + + public + getSettlement(string $settlementId) : Settlement + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $settlementId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Settlement Id.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve a Settlement

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Settlement + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getSettlementReconciliationReport() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets a detailed reconciliation report of the activity within the settlement period.

                                                                                                                                                                                                          + + + public + getSettlementReconciliationReport(Settlement $settlement) : Settlement + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $settlement + : Settlement +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Settlement to generate report for.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Fetch a Reconciliation Report + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Settlement + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getSettlements() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Retrieves settlement reports for the calling merchant filtered by query.

                                                                                                                                                                                                          + + + public + getSettlements( $currency,  $dateStart,  $dateEnd[, string|null $status = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Settlement> + +

                                                                                                                                                                                                          The limit and offset parameters +specify pages for large query sets.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $currency + : +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The three digit currency string for the ledger to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $dateStart + : +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The start date for the query.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $dateEnd + : +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string The end date for the query.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          string Can be processing, completed, or failed.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $limit + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          int Maximum number of settlements to retrieve.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $offset + : int|null + = null
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          int Offset for paging.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve Settlements

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, Settlement> + — + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getTokens() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get Tokens.

                                                                                                                                                                                                          + + + public + getTokens() : array<string|int, mixed> + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + JsonException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + payInvoice() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Pay an invoice with a mock transaction

                                                                                                                                                                                                          + + + public + payInvoice(string $invoiceId[, string $status = 'confirmed' ]) : Invoice + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the invoice.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string + = 'confirmed'
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Status the invoice will become. Acceptable values are confirmed (default) and complete.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoicePaymentException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — +

                                                                                                                                                                                                          $invoice Invoice object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + requestInvoiceNotification() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Request a BitPay Invoice Webhook.

                                                                                                                                                                                                          + + + public + requestInvoiceNotification(string $invoiceId) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A BitPay invoice ID.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Retrieve an Event Token

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoiceQueryException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — +

                                                                                                                                                                                                          True if the webhook was successfully requested, false otherwise.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + requestPayoutNotification() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Notify BitPay Payout.

                                                                                                                                                                                                          + + + public + requestPayoutNotification(string $payoutId) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $payoutId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the Payout to notify.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Request a Payout Webhook to be Resent + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutNotificationException + +

                                                                                                                                                                                                          BitPayException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + requestPayoutRecipientNotification() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Notify BitPay Payout Recipient.

                                                                                                                                                                                                          + + + public + requestPayoutRecipientNotification(string $recipientId) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $recipientId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the recipient to notify.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Request a Recipient Webhook to be Resent + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutRecipientNotificationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — +

                                                                                                                                                                                                          True if the notification was successfully sent, false otherwise.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + sendRefundNotification() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Send a refund notification.

                                                                                                                                                                                                          + + + public + sendRefundNotification(string $refundId) : bool + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $refundId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A BitPay refund ID.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Request a Refund Notification to be Resent + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundCreationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + bool + — +

                                                                                                                                                                                                          $result An updated Refund Object

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + submitPayout() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Submit a BitPay Payout.

                                                                                                                                                                                                          + + + public + submitPayout(Payout $payout) : Payout + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $payout + : Payout +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A Payout object with request parameters defined.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Create a Payout

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutCreationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Payout + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + submitPayoutRecipients() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Submit BitPay Payout Recipients.

                                                                                                                                                                                                          + + + public + submitPayoutRecipients(PayoutRecipients $recipients) : array<string|int, PayoutRecipient> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $recipients + : PayoutRecipients +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A PayoutRecipients object with request parameters defined.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Invite Recipients

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutRecipientCreationException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, PayoutRecipient> + — +

                                                                                                                                                                                                          A list of BitPay PayoutRecipients objects.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + updateBill() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Update a BitPay Bill.

                                                                                                                                                                                                          + + + public + updateBill(Bill $bill, string $billId) : Bill + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $bill + : Bill +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A Bill object with the parameters to update defined.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $billId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The Id of the Bill to update.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Update a Bill

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Bill + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + updateInvoice() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Update a BitPay invoice.

                                                                                                                                                                                                          + + + public + updateInvoice(string $invoiceId, string|null $buyerSms, string|null $smsCode, string|null $buyerEmail[, bool $autoVerify = false ]) : Invoice + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $invoiceId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The id of the invoice to updated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $buyerSms + : string|null +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The buyer's cell number.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $smsCode + : string|null +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The buyer's received verification code.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $buyerEmail + : string|null +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The buyer's email address.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $autoVerify + : bool + = false
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Skip the user verification on sandbox ONLY.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Update an Invoice

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + InvoiceUpdateException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Invoice + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + updatePayoutRecipient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Update a Payout Recipient.

                                                                                                                                                                                                          + + + public + updatePayoutRecipient(string $recipientId, PayoutRecipient $recipient) : PayoutRecipient + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $recipientId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The recipient id for the recipient to be updated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $recipient + : PayoutRecipient +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          A PayoutRecipient object with updated parameters defined.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Update a Recipient

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + PayoutRecipientUpdateException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + PayoutRecipient + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + updateRefund() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Update the status of a BitPay invoice.

                                                                                                                                                                                                          + + + public + updateRefund(string $refundId, string $status) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $refundId + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          BitPay refund ID.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The new status for the refund to be updated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Update a Refund Request

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundUpdateException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          $refund Refund A BitPay generated Refund object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + updateRefundByGuid() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Update the status of a BitPay invoice.

                                                                                                                                                                                                          + + + public + updateRefundByGuid(string $guid, string $status) : Refund + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $guid + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          BitPay refund Guid.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $status + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          The new status for the refund to be updated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + see +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +Update a Refund by GUID Request + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + RefundUpdateException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + Refund + — +

                                                                                                                                                                                                          $refund Refund A BitPay generated Refund object.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getBillClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets bill client

                                                                                                                                                                                                          + + + protected + getBillClient() : BillClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + BillClient + — +

                                                                                                                                                                                                          the bill client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getInvoiceClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets invoice client

                                                                                                                                                                                                          + + + protected + getInvoiceClient() : InvoiceClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + InvoiceClient + — +

                                                                                                                                                                                                          the invoice client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getLedgerClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets ledger client

                                                                                                                                                                                                          + + + protected + getLedgerClient() : LedgerClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + LedgerClient + — +

                                                                                                                                                                                                          the ledger client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getPayoutClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets payout client

                                                                                                                                                                                                          + + + protected + getPayoutClient() : PayoutClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + PayoutClient + — +

                                                                                                                                                                                                          the payout client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getRateClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets rate client

                                                                                                                                                                                                          + + + protected + getRateClient() : RateClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + RateClient + — +

                                                                                                                                                                                                          the rate client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getRefundClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets refund client

                                                                                                                                                                                                          + + + protected + getRefundClient() : RefundClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + RefundClient + — +

                                                                                                                                                                                                          the refund client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getSettlementClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets settlement client

                                                                                                                                                                                                          + + + protected + getSettlementClient() : SettlementClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + SettlementClient + — +

                                                                                                                                                                                                          the settlements client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getWalletClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets wallet client

                                                                                                                                                                                                          + + + protected + getWalletClient() : WalletClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + WalletClient + — +

                                                                                                                                                                                                          the wallet client

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getConfigData() + +

                                                                                                                                                                                                          + + + + + private + static getConfigData(string $configFilePath) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $configFilePath + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + getTokenClient() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Gets token client

                                                                                                                                                                                                          + + + private + getTokenClient() : TokenClient + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + TokenClient + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + init() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Initialize this object with the selected environment.

                                                                                                                                                                                                          + + + private + init() : void + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + +

                                                                                                                                                                                                          BitPayException class

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + initKeys() + +

                                                                                                                                                                                                          + + + + + private + static initKeys(string|null $privateKey, string|null $privateKeySecret) : PrivateKey|null + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $privateKey + : string|null +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $privateKeySecret + : string|null +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + BitPayException + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + Exception + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + PrivateKey|null + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Search results

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Tokens.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Tokens.html new file mode 100644 index 0000000..a4140e3 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Tokens.html @@ -0,0 +1,708 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                            + Tokens + + +
                                                                                                                                                                                                            + in package + +
                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                            Class Tokens

                                                                                                                                                                                                            + + + + + + + + + +

                                                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $merchant + +  : string|null +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + $payout + +  : string|null +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + $pos + +  : string|null +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + __construct() + +  : mixed +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Tokens constructor.
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + getPayoutToken() + +  : string|null +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + getTokenByFacade() + +  : string|null +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + loadFromArray() + +  : Tokens +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + setMerchantToken() + +  : void +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + setPayoutToken() + +  : void +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + Properties + +

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + $merchant + + + +

                                                                                                                                                                                                            + + + + + protected + string|null + $merchant + + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + $payout + + + +

                                                                                                                                                                                                            + + + + + protected + string|null + $payout + + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + $pos + + + +

                                                                                                                                                                                                            + + + + + protected + string|null + $pos + + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + Methods + +

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + __construct() + +

                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            Tokens constructor.

                                                                                                                                                                                                            + + + public + __construct([string|null $merchant = null ][, string|null $payout = null ][, string|null $pos = null ]) : mixed + + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $merchant + : string|null + = null
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $payout + : string|null + = null
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $pos + : string|null + = null
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + mixed + — + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + getPayoutToken() + +

                                                                                                                                                                                                            + + + + + public + getPayoutToken() : string|null + + + + + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + string|null + — + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + getTokenByFacade() + +

                                                                                                                                                                                                            + + + + + public + getTokenByFacade( $facade) : string|null + + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $facade + : +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + Exception + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + string|null + — + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + loadFromArray() + +

                                                                                                                                                                                                            + + + + + public + static loadFromArray(array<string|int, mixed> $tokens) : Tokens + +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $tokens + : array<string|int, mixed> +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + Tokens + — + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + setMerchantToken() + +

                                                                                                                                                                                                            + + + + + public + setMerchantToken(string $merchant) : void + + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $merchant + : string +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + setPayoutToken() + +

                                                                                                                                                                                                            + + + + + public + setPayoutToken(string $payout) : void + + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $payout + : string +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            Search results

                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-JsonMapperFactory.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-JsonMapperFactory.html new file mode 100644 index 0000000..0504337 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-JsonMapperFactory.html @@ -0,0 +1,311 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                              + JsonMapperFactory + + +
                                                                                                                                                                                                              + in package + +
                                                                                                                                                                                                              + + +

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

                                                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + create() + +  : JsonMapper +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + + + + + + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Methods + +

                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + create() + +

                                                                                                                                                                                                              + + + + + public + static create() : JsonMapper + +
                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                              Return values
                                                                                                                                                                                                              + JsonMapper + — + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Search results

                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html new file mode 100644 index 0000000..21f1730 --- /dev/null +++ b/vendor/bitpay/sdk/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html @@ -0,0 +1,1030 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                + RESTcli + + +
                                                                                                                                                                                                                + in package + +
                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                + + + +

                                                                                                                                                                                                                Class RESTcli

                                                                                                                                                                                                                + + + + + + + + + +

                                                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $baseUrl + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $client + +  : Client +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $ecKey + +  : PrivateKey +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $identity + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $proxy + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                RESTcli constructor.
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + delete() + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Send DELETE request.
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + get() + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Send GET request.
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + init() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Initialize Client.
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + post() + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Send POST request.
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + responseToJsonString() + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Convert Response object into json
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + update() + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Send PUT request.
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + isErrorStatus() + +  : bool +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Properties + +

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $baseUrl + + + +

                                                                                                                                                                                                                + + + + + protected + string + $baseUrl + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $client + + + +

                                                                                                                                                                                                                + + + + + protected + Client + $client + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $ecKey + + + +

                                                                                                                                                                                                                + + + + + protected + PrivateKey + $ecKey + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $identity + + + +

                                                                                                                                                                                                                + + + + + protected + string + $identity + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $proxy + + + +

                                                                                                                                                                                                                + + + + + protected + string + $proxy + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Methods + +

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + __construct() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                RESTcli constructor.

                                                                                                                                                                                                                + + + public + __construct(string $environment, PrivateKey $ecKey[, string|null $proxy = null ]) : mixed + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $environment + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $ecKey + : PrivateKey +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $proxy + : string|null + = null
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + delete() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Send DELETE request.

                                                                                                                                                                                                                + + + public + delete( $uri[, array<string|int, mixed>|null $parameters = null ]) : string + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $uri + : +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $parameters + : array<string|int, mixed>|null + = null
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + string + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + get() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Send GET request.

                                                                                                                                                                                                                + + + public + get( $uri[, array<string|int, mixed>|null $parameters = null ][, bool $signatureRequired = true ]) : string + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $uri + : +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $parameters + : array<string|int, mixed>|null + = null
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $signatureRequired + : bool + = true
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + string + — +

                                                                                                                                                                                                                (json)

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + init() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Initialize Client.

                                                                                                                                                                                                                + + + public + init() : void + + + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + post() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Send POST request.

                                                                                                                                                                                                                + + + public + post( $uri[, array<string|int, mixed> $formData = [] ][, bool $signatureRequired = true ]) : string + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $uri + : +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $formData + : array<string|int, mixed> + = []
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $signatureRequired + : bool + = true
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + string + — +

                                                                                                                                                                                                                (json)

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + responseToJsonString() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Convert Response object into json

                                                                                                                                                                                                                + + + public + responseToJsonString(Response $response) : string + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $response + : Response +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + Exception + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + string + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + update() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Send PUT request.

                                                                                                                                                                                                                + + + public + update( $uri[, array<string|int, mixed> $formData = [] ]) : string + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $uri + : +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $formData + : array<string|int, mixed> + = []
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + throws +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + BitPayException + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + string + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + isErrorStatus() + +

                                                                                                                                                                                                                + + + + + private + isErrorStatus(array<string|int, mixed> $body) : bool + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $body + : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + bool + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/css/base.css b/vendor/bitpay/sdk/docs/css/base.css new file mode 100644 index 0000000..b71c759 --- /dev/null +++ b/vendor/bitpay/sdk/docs/css/base.css @@ -0,0 +1,1105 @@ + +:root { + /* Typography */ + --font-primary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-secondary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-monospace: 'Source Code Pro', monospace; + --line-height--primary: 1.6; + --letter-spacing--primary: .05rem; + --text-base-size: 1em; + --text-scale-ratio: 1.2; + + --text-xxs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-xs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); + --text-md: var(--text-base-size); + --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); + --text-xl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + + /* Colors */ + --primary-color-hue: 96; + --primary-color-saturation: 57%; + --primary-color: hsl(var(--primary-color-hue), var(--primary-color-saturation), 60%); + --primary-color-darken: hsl(var(--primary-color-hue), var(--primary-color-saturation), 40%); + --primary-color-darker: hsl(var(--primary-color-hue), var(--primary-color-saturation), 20%); + --primary-color-darkest: hsl(var(--primary-color-hue), var(--primary-color-saturation), 10%); + --primary-color-lighten: hsl(var(--primary-color-hue), var(--primary-color-saturation), 80%); + --primary-color-lighter: hsl(var(--primary-color-hue), var(--primary-color-saturation), 99%); + --dark-gray: #d1d1d1; + --light-gray: #f0f0f0; + + --text-color: var(--primary-color-darkest); + + --header-height: var(--spacing-xxxxl); + --header-bg-color: var(--primary-color); + --code-background-color: var(--primary-color-lighter); + --code-border-color: --primary-color-lighten; + --button-border-color: var(--primary-color-darken); + --button-color: transparent; + --button-color-primary: var(--primary-color); + --button-text-color: #555; + --button-text-color-primary: white; + --popover-background-color: rgba(255, 255, 255, 0.75); + --link-color-primary: var(--primary-color-darken); + --link-hover-color-primary: var(--primary-color-darker); + --form-field-border-color: var(--dark-gray); + --form-field-color: #fff; + --admonition-success-color: var(--primary-color); + --admonition-border-color: silver; + --table-separator-color: var(--primary-color-lighten); + --title-text-color: var(--primary-color); + + --sidebar-border-color: var(--primary-color-lighten); + + /* Grid */ + --container-width: 1400px; + + /* Spacing */ + --spacing-base-size: 1rem; + --spacing-scale-ratio: 1.5; + + --spacing-xxxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-sm: calc(var(--spacing-base-size) / var(--spacing-scale-ratio)); + --spacing-md: var(--spacing-base-size); + --spacing-lg: calc(var(--spacing-base-size) * var(--spacing-scale-ratio)); + --spacing-xl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + + --border-radius-base-size: 3px; +} + +/* Base Styles +-------------------------------------------------- */ +body { + color: var(--text-color); + font-family: var(--font-primary); + font-size: var(--text-md); + letter-spacing: var(--letter-spacing--primary); + line-height: var(--line-height--primary); + width: 100%; +} + +.phpdocumentor h1, +.phpdocumentor h2, +.phpdocumentor h3, +.phpdocumentor h4, +.phpdocumentor h5, +.phpdocumentor h6 { + margin-bottom: var(--spacing-lg); + margin-top: var(--spacing-lg); + font-weight: 600; +} + +.phpdocumentor h1 { + font-size: var(--text-xxxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.2; + margin-top: 0; +} + +.phpdocumentor h2 { + font-size: var(--text-xxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.25; +} + +.phpdocumentor h3 { + font-size: var(--text-xxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.3; +} + +.phpdocumentor h4 { + font-size: var(--text-xl); + letter-spacing: calc(var(--letter-spacing--primary) / 2); + line-height: 1.35; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor h5 { + font-size: var(--text-lg); + letter-spacing: calc(var(--letter-spacing--primary) / 4); + line-height: 1.5; + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h6 { + font-size: var(--text-md); + letter-spacing: 0; + line-height: var(--line-height--primary); + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h1 .headerlink, +.phpdocumentor h2 .headerlink, +.phpdocumentor h3 .headerlink, +.phpdocumentor h4 .headerlink, +.phpdocumentor h5 .headerlink, +.phpdocumentor h6 .headerlink +{ + transition: all .3s ease-in-out; + opacity: 0; + text-decoration: none; + color: silver; + font-size: 80%; +} + +.phpdocumentor h1:hover .headerlink, +.phpdocumentor h2:hover .headerlink, +.phpdocumentor h3:hover .headerlink, +.phpdocumentor h4:hover .headerlink, +.phpdocumentor h5:hover .headerlink, +.phpdocumentor h6:hover .headerlink +{ + opacity: 1; +} +.phpdocumentor p { + margin-top: 0; + margin-bottom: var(--spacing-md); +} +.phpdocumentor figure { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor figcaption { + text-align: center; + font-style: italic; + font-size: 80%; +} + +.phpdocumentor-uml-diagram svg { + max-width: 100%; + height: auto !important; +} +.phpdocumentor-line { + border-top: 1px solid #E1E1E1; + border-width: 0; + margin-bottom: var(--spacing-xxl); + margin-top: var(--spacing-xxl); +} +.phpdocumentor-section { + box-sizing: border-box; + margin: 0 auto; + max-width: var(--container-width); + padding: 0 var(--spacing-lg); + position: relative; + width: 100%; +} + +@media (min-width: 1200px) { + .phpdocumentor-section { + padding: 0; + width: 95%; + } +} +.phpdocumentor-column { + box-sizing: border-box; + float: left; + width: 100%; +} + +@media (min-width: 550px) { + .phpdocumentor-column { + margin-left: 4%; + } + + .phpdocumentor-column:first-child { + margin-left: 0; + } + + .-one.phpdocumentor-column { + width: 4.66666666667%; + } + + .-two.phpdocumentor-column { + width: 13.3333333333%; + } + + .-three.phpdocumentor-column { + width: 22%; + } + + .-four.phpdocumentor-column { + width: 30.6666666667%; + } + + .-five.phpdocumentor-column { + width: 39.3333333333%; + } + + .-six.phpdocumentor-column { + width: 48%; + } + + .-seven.phpdocumentor-column { + width: 56.6666666667%; + } + + .-eight.phpdocumentor-column { + width: 65.3333333333%; + } + + .-nine.phpdocumentor-column { + width: 74.0%; + } + + .-ten.phpdocumentor-column { + width: 82.6666666667%; + } + + .-eleven.phpdocumentor-column { + width: 91.3333333333%; + } + + .-twelve.phpdocumentor-column { + margin-left: 0; + width: 100%; + } + + .-one-third.phpdocumentor-column { + width: 30.6666666667%; + } + + .-two-thirds.phpdocumentor-column { + width: 65.3333333333%; + } + + .-one-half.phpdocumentor-column { + width: 48%; + } + + /* Offsets */ + .-offset-by-one.phpdocumentor-column { + margin-left: 8.66666666667%; + } + + .-offset-by-two.phpdocumentor-column { + margin-left: 17.3333333333%; + } + + .-offset-by-three.phpdocumentor-column { + margin-left: 26%; + } + + .-offset-by-four.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-five.phpdocumentor-column { + margin-left: 43.3333333333%; + } + + .-offset-by-six.phpdocumentor-column { + margin-left: 52%; + } + + .-offset-by-seven.phpdocumentor-column { + margin-left: 60.6666666667%; + } + + .-offset-by-eight.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-nine.phpdocumentor-column { + margin-left: 78.0%; + } + + .-offset-by-ten.phpdocumentor-column { + margin-left: 86.6666666667%; + } + + .-offset-by-eleven.phpdocumentor-column { + margin-left: 95.3333333333%; + } + + .-offset-by-one-third.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-two-thirds.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-one-half.phpdocumentor-column { + margin-left: 52%; + } +} +.phpdocumentor a { + color: var(--link-color-primary); +} + +.phpdocumentor a:hover { + color: var(--link-hover-color-primary); +} +.phpdocumentor-button { + background-color: var(--button-color); + border: 1px solid var(--button-border-color); + border-radius: var(--border-radius-base-size); + box-sizing: border-box; + color: var(--button-text-color); + cursor: pointer; + display: inline-block; + font-size: var(--text-sm); + font-weight: 600; + height: 38px; + letter-spacing: .1rem; + line-height: 38px; + padding: 0 var(--spacing-xxl); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-button .-wide { + width: 100%; +} + +.phpdocumentor-button:hover, +.phpdocumentor-button:focus { + border-color: #888; + color: #333; + outline: 0; +} + +.phpdocumentor-button.-primary { + background-color: var(--button-color-primary); + border-color: var(--button-color-primary); + color: var(--button-text-color-primary); +} + +.phpdocumentor-button.-primary:hover, +.phpdocumentor-button.-primary:focus { + background-color: var(--link-color-primary); + border-color: var(--link-color-primary); + color: var(--button-text-color-primary); +} +.phpdocumentor form { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-field { + background-color: var(--form-field-color); + border: 1px solid var(--form-field-border-color); + border-radius: var(--border-radius-base-size); + box-shadow: none; + box-sizing: border-box; + height: 38px; + padding: var(--spacing-xxxs) var(--spacing-xxs); /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: var(--spacing-md); +} + +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; +} + +.phpdocumentor-textarea { + min-height: 65px; + padding-bottom: var(--spacing-xxxs); + padding-top: var(--spacing-xxxs); +} + +.phpdocumentor-field:focus { + border: 1px solid var(--button-color-primary); + outline: 0; +} + +.phpdocumentor-label { + display: block; + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor-fieldset { + border-width: 0; + padding: 0; +} + +input[type="checkbox"].phpdocumentor-field, +input[type="radio"].phpdocumentor-field { + display: inline; +} +.phpdocumentor-column ul, +div.phpdocumentor-list > ul, +ul.phpdocumentor-list { + list-style: circle; +} + +.phpdocumentor-column ol, +div.phpdocumentor-list > ol, +ol.phpdocumentor-list { + list-style: decimal; +} + + +.phpdocumentor-column ul, +div.phpdocumentor-list > ul, +ol.phpdocumentor-list, +ul.phpdocumentor-list { + margin-top: 0; + padding-left: 1rem; + margin-bottom: var(--spacing-md); +} + +dl { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-column ul ul, +div.phpdocumentor-list > ul ul, +ul.phpdocumentor-list ul.phpdocumentor-list, +ul.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ul.phpdocumentor-list { + font-size: var(--text-sm); + margin: var(--spacing-xs) 0 var(--spacing-xs) calc(var(--spacing-xs) * 2); +} + +.phpdocumentor-column ul li, +.phpdocumentor-list li { + padding-bottom: var(--spacing-xs); +} + +.phpdocumentor dl dt { + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor dl dd { + margin-bottom: var(--spacing-md); +} +.phpdocumentor pre { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-code { + font-family: var(--font-monospace); + background: var(--code-background-color); + border: 1px solid var(--code-border-color); + border-radius: var(--border-radius-base-size); + font-size: var(--text-sm); + padding: var(--spacing-sm) var(--spacing-md); + width: 100%; + box-sizing: border-box; +} + +.phpdocumentor-code.-dark { + background: var(--primary-color-darkest); + color: var(--light-gray); + box-shadow: 0 2px 3px var(--dark-gray); +} + +pre > .phpdocumentor-code { + display: block; + white-space: pre; +} +.phpdocumentor blockquote { + border-left: 4px solid var(--primary-color-darken); + margin: var(--spacing-md) 0; + padding: var(--spacing-xs) var(--spacing-sm); + color: var(--primary-color-darker); + font-style: italic; +} + +.phpdocumentor blockquote p:last-of-type { + margin-bottom: 0; +} +.phpdocumentor table { + margin-bottom: var(--spacing-md); +} + +th.phpdocumentor-heading, +td.phpdocumentor-cell { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) var(--spacing-md); + text-align: left; +} + +th.phpdocumentor-heading:first-child, +td.phpdocumentor-cell:first-child { + padding-left: 0; +} + +th.phpdocumentor-heading:last-child, +td.phpdocumentor-cell:last-child { + padding-right: 0; +} + +.phpdocumentor-header { + display: flex; + flex-direction: row; + align-items: stretch; + flex-wrap: wrap; + justify-content: space-between; + height: auto; + padding: var(--spacing-md) var(--spacing-md); +} + +.phpdocumentor-header__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-header__menu-icon { + font-size: 2rem; + color: var(--primary-color); +} + +.phpdocumentor-header__menu-button:checked ~ .phpdocumentor-topnav { + max-height: 250px; + padding-top: var(--spacing-md); +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + flex-direction: row; + padding: var(--spacing-lg) var(--spacing-lg); + min-height: var(--header-height); + } + + .phpdocumentor-header__menu-icon { + display: none; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + padding-top: 0; + padding-bottom: 0; + } +} +@media (min-width: 1200px) { + .phpdocumentor-header { + padding: 0; + } +} +.phpdocumentor-title { + box-sizing: border-box; + color: var(--title-text-color); + font-size: var(--text-xxl); + letter-spacing: .05rem; + font-weight: normal; + width: auto; + margin: 0; + display: flex; + align-items: center; +} + +.phpdocumentor-title.-without-divider { + border: none; +} + +.phpdocumentor-title__link { + transition: all .3s ease-out; + display: flex; + color: var(--title-text-color); + text-decoration: none; + font-weight: normal; + white-space: nowrap; + transform: scale(.75); + transform-origin: left; +} + +.phpdocumentor-title__link:hover { + transform: perspective(15rem) translateX(.5rem); + font-weight: 600; +} + +@media (min-width: 1000px) { + .phpdocumentor-title { + width: 30.6666666667%; + border-right: var(--sidebar-border-color) solid 1px; + } + + .phpdocumentor-title__link { + transform-origin: left; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-title__link { + transform: scale(.85); + } +} + +@media (min-width: 1200px) { + .phpdocumentor-title__link { + transform: scale(1); + } +} +.phpdocumentor-topnav { + display: flex; + align-items: center; + margin: 0; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + flex-basis: 100%; +} + +.phpdocumentor-topnav__menu { + text-align: right; + list-style: none; + margin: 0; + padding: 0; + flex: 1; + display: flex; + flex-flow: row wrap; + justify-content: center; +} + +.phpdocumentor-topnav__menu-item { + margin: 0; + width: 100%; + display: inline-block; + text-align: center; + padding: var(--spacing-sm) 0 +} + +.phpdocumentor-topnav__menu-item.-social { + width: auto; + padding: var(--spacing-sm) +} + +.phpdocumentor-topnav__menu-item a { + display: inline-block; + color: var(--text-color); + text-decoration: none; + font-size: var(--text-lg); + transition: all .3s ease-out; + border-bottom: 1px dotted transparent; + line-height: 1; +} + +.phpdocumentor-topnav__menu-item a:hover { + transform: perspective(15rem) translateY(.1rem); + border-bottom: 1px dotted var(--text-color); +} + +@media (min-width: 1000px) { + .phpdocumentor-topnav { + max-height: none; + overflow: visible; + flex-basis: auto; + } + + .phpdocumentor-topnav__menu { + display: flex; + flex-flow: row wrap; + justify-content: flex-end; + } + + .phpdocumentor-topnav__menu-item, + .phpdocumentor-topnav__menu-item.-social { + width: auto; + display: inline; + text-align: right; + padding: 0 0 0 var(--spacing-md) + } +} +.phpdocumentor-sidebar { + margin: 0; + overflow: hidden; + max-height: 0; +} + +.phpdocumentor .phpdocumentor-sidebar .phpdocumentor-list { + padding: var(--spacing-xs) var(--spacing-md); + list-style: none; + margin: 0; +} + +.phpdocumentor .phpdocumentor-sidebar li { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 0 var(--spacing-xxxs) var(--spacing-md); +} + +.phpdocumentor .phpdocumentor-sidebar abbr, +.phpdocumentor .phpdocumentor-sidebar a { + text-decoration: none; + border-bottom: none; + color: var(--text-color); + font-size: var(--text-md); + padding-left: 0; + transition: padding-left .4s ease-out; +} + +.phpdocumentor .phpdocumentor-sidebar a:hover, +.phpdocumentor .phpdocumentor-sidebar a.-active { + padding-left: 5px; + font-weight: 600; +} + +.phpdocumentor .phpdocumentor-sidebar__category > * { + border-left: 1px solid var(--primary-color-lighten); +} + +.phpdocumentor .phpdocumentor-sidebar__category { + margin-bottom: var(--spacing-lg); +} + +.phpdocumentor .phpdocumentor-sidebar__category-header { + font-size: var(--text-md); + margin-bottom: var(--spacing-xs); + color: var(--link-color-primary); + font-weight: 600; + border-left: 0; +} + +.phpdocumentor .phpdocumentor-sidebar__root-package, +.phpdocumentor .phpdocumentor-sidebar__root-namespace { + font-size: var(--text-md); + margin: 0; + padding-top: var(--spacing-xs); + padding-left: var(--spacing-md); + color: var(--text-color); + font-weight: normal; +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + border-right: var(--sidebar-border-color) solid 1px; + } +} + +.phpdocumentor-sidebar__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-sidebar__menu-icon { + font-size: var(--text-md); + font-weight: 600; + background: var(--primary-color); + color: white; + margin: 0 0 var(--spacing-lg); + display: block; + padding: var(--spacing-sm); + text-align: center; + border-radius: 3px; + text-transform: uppercase; + letter-spacing: .15rem; +} + +.phpdocumentor-sidebar__menu-button:checked ~ .phpdocumentor-sidebar { + max-height: 100%; + padding-top: var(--spacing-md); +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + overflow: visible; + max-height: 100%; + } + + .phpdocumentor-sidebar__menu-icon { + display: none; + } +} +.phpdocumentor-admonition { + border: 1px solid var(--admonition-border-color); + border-radius: var(--border-radius-base-size); + border-color: var(--primary-color-lighten); + background-color: var(--primary-color-lighter); + padding: var(--spacing-lg); + margin: var(--spacing-lg) 0; + display: flex; + flex-direction: row; + align-items: flex-start; +} + +.phpdocumentor-admonition p:last-of-type { + margin-bottom: 0; +} + +.phpdocumentor-admonition--success, +.phpdocumentor-admonition.-success { + border-color: var(--admonition-success-color); +} + +.phpdocumentor-admonition__icon { + margin-right: var(--spacing-md); + color: var(--primary-color); + max-width: 3rem; +} +.phpdocumentor ul.phpdocumentor-breadcrumbs { + font-size: var(--text-md); + list-style: none; + margin: 0; + padding: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs a { + color: var(--text-color); + text-decoration: none; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li { + display: inline-block; + margin: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li + li:before { + color: var(--dark-gray); + content: "\\\A0"; + padding: 0; +} +.phpdocumentor .phpdocumentor-back-to-top { + position: fixed; + bottom: 2rem; + font-size: 2.5rem; + opacity: .25; + transition: all .3s ease-in-out; + right: 2rem; +} + +.phpdocumentor .phpdocumentor-back-to-top:hover { + color: var(--link-color-primary); + opacity: 1; +} +.phpdocumentor-search { + position: relative; + display: none; /** disable by default for non-js flow */ + opacity: .3; /** white-out default for loading indication */ + transition: opacity .3s, background .3s; + margin: var(--spacing-sm) 0; + flex: 1; + min-width: 100%; +} + +.phpdocumentor-search label { + display: flex; + align-items: center; + flex: 1; +} + +.phpdocumentor-search__icon { + color: var(--primary-color); + margin-right: var(--spacing-sm); + width: 1rem; + height: 1rem; +} + +.phpdocumentor-search--enabled { + display: flex; +} + +.phpdocumentor-search--active { + opacity: 1; +} + +.phpdocumentor-search input:disabled { + background-color: lightgray; +} + +.phpdocumentor-search__field:focus, +.phpdocumentor-search__field { + margin-bottom: 0; + border: 0; + border-bottom: 2px solid var(--primary-color); + padding: 0; + border-radius: 0; + flex: 1; +} + +@media (min-width: 1000px) { + .phpdocumentor-search { + min-width: auto; + max-width: 20rem; + margin: 0 0 0 auto; + } +} +.phpdocumentor-content { + position: relative; +} + +.phpdocumentor-search-results { + backdrop-filter: blur(5px); + background: var(--popover-background-color); + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0; + opacity: 1; + pointer-events: all; + + transition: opacity .3s, background .3s; +} + +.phpdocumentor-search-results--hidden { + background: transparent; + backdrop-filter: blur(0); + opacity: 0; + pointer-events: none; +} + +.phpdocumentor-search-results__dialog { + width: 100%; + background: white; + max-height: 100%; + display: flex; + flex-direction: column; +} + +.phpdocumentor-search-results__body { + overflow: auto; +} + +.phpdocumentor-search-results__header { + padding: var(--spacing-lg); + display: flex; + justify-content: space-between; + background: var(--primary-color-darken); + color: white; + align-items: center; +} + +.phpdocumentor-search-results__close { + font-size: var(--text-xl); + background: none; + border: none; + padding: 0; + margin: 0; +} + +.phpdocumentor .phpdocumentor-search-results__title { + font-size: var(--text-xl); + margin-bottom: 0; +} + +.phpdocumentor-search-results__entries { + list-style: none; + padding: 0 var(--spacing-lg); + margin: 0; +} + +.phpdocumentor-search-results__entry { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) 0; + text-align: left; +} + +.phpdocumentor-search-results__entry a { + display: block; +} + +.phpdocumentor-search-results__entry small { + margin-top: var(--spacing-xs); + margin-bottom: var(--spacing-md); + color: var(--primary-color-darker); + display: block; + word-break: break-word; +} + +.phpdocumentor-search-results__entry h3 { + font-size: var(--text-lg); + margin: 0; +} + +@media (min-width: 550px) { + .phpdocumentor-search-results { + padding: 0 var(--spacing-lg); + } + + .phpdocumentor-search-results__entry h3 { + font-size: var(--text-xxl); + } + + .phpdocumentor-search-results__dialog { + margin: var(--spacing-xl) auto; + max-width: 40rem; + background: white; + border: 1px solid silver; + box-shadow: 0 2px 5px silver; + max-height: 40rem; + border-radius: 3px; + } +} +.phpdocumentor-modal { + position: fixed; + width: 100vw; + height: 100vh; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + top: 0; + left: 0; + display: flex; + align-items: center; + justify-content: center; +} + +.phpdocumentor-modal__open { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} + +.phpdocumentor-modal-bg { + position: absolute; + background: gray; + opacity: 50%; + width: 100%; + height: 100%; +} + +.phpdocumentor-modal-container { + border-radius: 1em; + background: #fff; + position: relative; + padding: 2em; + box-sizing: border-box; + max-width:100vw; +} + +.phpdocumentor-modal__close { + position: absolute; + right: 0.75em; + top: 0.75em; + outline: none; + appearance: none; + color: var(--primary-color); + background: none; + border: 0px; + font-weight: bold; + cursor: pointer; +} + +/* Used for screen readers and such */ +.visually-hidden { + display: none; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} diff --git a/vendor/bitpay/sdk/docs/css/normalize.css b/vendor/bitpay/sdk/docs/css/normalize.css new file mode 100644 index 0000000..579152b --- /dev/null +++ b/vendor/bitpay/sdk/docs/css/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: var(--font-monospace); + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/vendor/bitpay/sdk/docs/css/template.css b/vendor/bitpay/sdk/docs/css/template.css new file mode 100644 index 0000000..f717828 --- /dev/null +++ b/vendor/bitpay/sdk/docs/css/template.css @@ -0,0 +1,192 @@ +.phpdocumentor-summary { + font-style: italic; +} +.phpdocumentor-description { + margin-bottom: var(--spacing-md); +} +.phpdocumentor-element { + position: relative; +} + +.phpdocumentor .phpdocumentor-element__name { + line-height: 1; +} + +.phpdocumentor-element__package, +.phpdocumentor-element__extends, +.phpdocumentor-element__implements { + display: block; + font-size: var(--text-xxs); + font-weight: normal; + opacity: .7; +} + +.phpdocumentor-element__package .phpdocumentor-breadcrumbs { + display: inline; +} + +.phpdocumentor-element:not(:last-child) { + border-bottom: 1px solid var(--primary-color-lighten); + padding-bottom: var(--spacing-lg); +} + +.phpdocumentor-element.-deprecated .phpdocumentor-element__name { + text-decoration: line-through; +} + +.phpdocumentor-element__modifier { + font-size: var(--text-xxs); + padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2); + color: var(--text-color); + background-color: var(--light-gray); + border-radius: 3px; + text-transform: uppercase; +} +.phpdocumentor-signature { + display: inline-block; + font-size: var(--text-sm); + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { + text-decoration: line-through; +} +.phpdocumentor-table-of-contents { +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry { + padding-top: var(--spacing-xs); + margin-left: 2rem; + display: flex; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a { + flex: 0 1 auto; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span { + flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after { + content: ''; + height: 12px; + width: 12px; + left: 16px; + position: absolute; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after { + background: url('data:image/svg+xml;utf8,') no-repeat; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after { + left: 13px; + background: url('data:image/svg+xml;utf8,') no-repeat; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + position: absolute; + left: 0; + border-radius: 50%; + font-weight: 600; + color: white; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before { + content: 'P' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before { + content: 'C'; + background-color: transparent; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before { + content: 'C' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before { + content: 'I' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before { + content: 'T' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before { + content: 'N' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before { + content: 'P' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-enum:before { + content: 'E' +} + +.phpdocumentor-table-of-contents dd { + font-style: italic; + margin-left: 2rem; +} +.phpdocumentor-element-found-in { + position: absolute; + top: 0; + right: 0; + font-size: var(--text-sm); + color: gray; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source { + flex: 0 1 auto; + display: inline-flex; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + left: 0; + border-radius: 50%; + font-weight: 600; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} +.phpdocumentor-class-graph { + width: 100%; height: 600px; border:1px solid black; overflow: hidden +} + +.phpdocumentor-class-graph__graph { + width: 100%; +} +.phpdocumentor-tag-list__definition { + display: flex; +} + +.phpdocumentor-tag-link { + margin-right: var(--spacing-sm); +} diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-billclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-billclient.html new file mode 100644 index 0000000..b26f897 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-billclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                  BillClient.php

                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  BillClient
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-invoiceclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-invoiceclient.html new file mode 100644 index 0000000..6085a95 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-invoiceclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                    InvoiceClient.php

                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    InvoiceClient
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-ledgerclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-ledgerclient.html new file mode 100644 index 0000000..5a9d9e2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-ledgerclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                      LedgerClient.php

                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      LedgerClient
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutclient.html new file mode 100644 index 0000000..a92fb0d --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                        PayoutClient.php

                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        PayoutClient
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutrecipientsclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutrecipientsclient.html new file mode 100644 index 0000000..9989350 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-payoutrecipientsclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                          PayoutRecipientsClient.php

                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          PayoutRecipientsClient
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-rateclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-rateclient.html new file mode 100644 index 0000000..747aaca --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-rateclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                            RateClient.php

                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            RateClient
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-refundclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-refundclient.html new file mode 100644 index 0000000..fb0583b --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-refundclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                              RefundClient.php

                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              RefundClient
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-settlementclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-settlementclient.html new file mode 100644 index 0000000..6420e7c --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-settlementclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                SettlementClient.php

                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                SettlementClient
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-tokenclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-tokenclient.html new file mode 100644 index 0000000..8137f2c --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-tokenclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                  TokenClient.php

                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  TokenClient
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-walletclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-walletclient.html new file mode 100644 index 0000000..80508b7 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client-walletclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                    WalletClient.php

                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    WalletClient
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client.html new file mode 100644 index 0000000..5a50bd9 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-client.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                      Client.php

                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      Client
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      Class Client
                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-env.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-env.html new file mode 100644 index 0000000..85ea345 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-env.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                        Env.php

                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                        Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                        + + + + + + + +

                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        Env
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billcreationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billcreationexception.html new file mode 100644 index 0000000..d4f22ee --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billcreationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                          BillCreationException.php

                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          BillCreationException
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billdeliveryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billdeliveryexception.html new file mode 100644 index 0000000..8414f97 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billdeliveryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                            BillDeliveryException.php

                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            BillDeliveryException
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billexception.html new file mode 100644 index 0000000..ba79a66 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                              BillException.php

                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              BillException
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billqueryexception.html new file mode 100644 index 0000000..4b10559 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                BillQueryException.php

                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                BillQueryException
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billupdateexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billupdateexception.html new file mode 100644 index 0000000..30d8b86 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-billupdateexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                  BillUpdateException.php

                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  BillUpdateException
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-bitpayexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-bitpayexception.html new file mode 100644 index 0000000..6185d1b --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-bitpayexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                    BitPayException.php

                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    BitPayException
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyexception.html new file mode 100644 index 0000000..2369c73 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                      CurrencyException.php

                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      CurrencyException
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyqueryexception.html new file mode 100644 index 0000000..7ccad08 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-currencyqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                        CurrencyQueryException.php

                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        CurrencyQueryException
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecancellationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecancellationexception.html new file mode 100644 index 0000000..d95c91a --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecancellationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                          InvoiceCancellationException.php

                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          InvoiceCancellationException
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecreationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecreationexception.html new file mode 100644 index 0000000..0cd2f91 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicecreationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                            InvoiceCreationException.php

                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            InvoiceCreationException
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceexception.html new file mode 100644 index 0000000..57e1418 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                              InvoiceException.php

                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              InvoiceException
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicepaymentexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicepaymentexception.html new file mode 100644 index 0000000..f7a45d1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicepaymentexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                InvoicePaymentException.php

                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                InvoicePaymentException
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicequeryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicequeryexception.html new file mode 100644 index 0000000..fef5597 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoicequeryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                  InvoiceQueryException.php

                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  InvoiceQueryException
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceupdateexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceupdateexception.html new file mode 100644 index 0000000..29e85ce --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-invoiceupdateexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                    InvoiceUpdateException.php

                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    InvoiceUpdateException
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerexception.html new file mode 100644 index 0000000..a1477c8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                      LedgerException.php

                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      LedgerException
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerqueryexception.html new file mode 100644 index 0000000..1c6be81 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ledgerqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                        LedgerQueryException.php

                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        LedgerQueryException
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcancellationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcancellationexception.html new file mode 100644 index 0000000..3ce1dc7 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcancellationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                          PayoutBatchCancellationException.php

                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          PayoutBatchCancellationException
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcreationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcreationexception.html new file mode 100644 index 0000000..03e6d97 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchcreationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                            PayoutBatchCreationException.php

                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            PayoutBatchCreationException
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchexception.html new file mode 100644 index 0000000..f2444d9 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                              PayoutBatchException.php

                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              PayoutBatchException
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchnotificationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchnotificationexception.html new file mode 100644 index 0000000..1252964 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchnotificationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                PayoutBatchNotificationException.php

                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                PayoutBatchNotificationException
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchqueryexception.html new file mode 100644 index 0000000..f888392 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutbatchqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                  PayoutBatchQueryException.php

                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  PayoutBatchQueryException
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcancellationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcancellationexception.html new file mode 100644 index 0000000..d9a55c9 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcancellationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                    PayoutCancellationException.php

                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    PayoutCancellationException
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcreationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcreationexception.html new file mode 100644 index 0000000..cdd5d93 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutcreationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                      PayoutCreationException.php

                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      PayoutCreationException
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutexception.html new file mode 100644 index 0000000..69d8aeb --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                        PayoutException.php

                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        PayoutException
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutnotificationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutnotificationexception.html new file mode 100644 index 0000000..357f963 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutnotificationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                          PayoutNotificationException.php

                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          PayoutNotificationException
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutqueryexception.html new file mode 100644 index 0000000..11b2444 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                            PayoutQueryException.php

                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            PayoutQueryException
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcancellationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcancellationexception.html new file mode 100644 index 0000000..0a6b1d8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcancellationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcreationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcreationexception.html new file mode 100644 index 0000000..d1ad308 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientcreationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                PayoutRecipientCreationException.php

                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                PayoutRecipientCreationException
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientexception.html new file mode 100644 index 0000000..e6a2f80 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                  PayoutRecipientException.php

                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  PayoutRecipientException
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientnotificationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientnotificationexception.html new file mode 100644 index 0000000..cf48b7a --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientnotificationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientqueryexception.html new file mode 100644 index 0000000..96c744e --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                      PayoutRecipientQueryException.php

                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      PayoutRecipientQueryException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientupdateexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientupdateexception.html new file mode 100644 index 0000000..26adae5 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutrecipientupdateexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                        PayoutRecipientUpdateException.php

                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        PayoutRecipientUpdateException
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutupdateexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutupdateexception.html new file mode 100644 index 0000000..431aa35 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-payoutupdateexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                          PayoutUpdateException.php

                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          PayoutUpdateException
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-rateexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-rateexception.html new file mode 100644 index 0000000..af3b1a8 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-rateexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                            RateException.php

                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            RateException
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ratequeryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ratequeryexception.html new file mode 100644 index 0000000..3394e83 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-ratequeryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                              RateQueryException.php

                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              RateQueryException
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcancellationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcancellationexception.html new file mode 100644 index 0000000..1471a3f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcancellationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                RefundCancellationException.php

                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                RefundCancellationException
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcreationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcreationexception.html new file mode 100644 index 0000000..6650b78 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundcreationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                  RefundCreationException.php

                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  RefundCreationException
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundexception.html new file mode 100644 index 0000000..a7525a5 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                    RefundException.php

                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    RefundException
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundnotificationexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundnotificationexception.html new file mode 100644 index 0000000..cb7ebd4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundnotificationexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                      RefundNotificationException.php

                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      RefundNotificationException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundqueryexception.html new file mode 100644 index 0000000..17bd097 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                        RefundQueryException.php

                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        RefundQueryException
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundupdateexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundupdateexception.html new file mode 100644 index 0000000..dde522c --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-refundupdateexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                          RefundUpdateException.php

                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          RefundUpdateException
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementexception.html new file mode 100644 index 0000000..5a4acc6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                            SettlementException.php

                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            SettlementException
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementqueryexception.html new file mode 100644 index 0000000..1232ce0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-settlementqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                              SettlementQueryException.php

                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              SettlementQueryException
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletexception.html new file mode 100644 index 0000000..fb6b466 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                WalletException.php

                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                WalletException
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletqueryexception.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletqueryexception.html new file mode 100644 index 0000000..893962f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-exceptions-walletqueryexception.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                  WalletQueryException.php

                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  WalletQueryException
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-bill.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-bill.html new file mode 100644 index 0000000..5a0a5ec --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-bill.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                    Bill.php

                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    Bill
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-billstatus.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-billstatus.html new file mode 100644 index 0000000..f18618a --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-billstatus.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                      BillStatus.php

                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                      Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                      + + + + + + + +

                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      BillStatus
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      Contains bill statuses: Can be "draft", "sent", "new", "paid", or "complete"
                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-item.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-item.html new file mode 100644 index 0000000..1fab250 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-bill-item.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                        Item.php

                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        Item
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-currency.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-currency.html new file mode 100644 index 0000000..bbde4ee --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-currency.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                          Currency.php

                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                          Currency
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          Object containing currency information
                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-facade.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-facade.html new file mode 100644 index 0000000..3bfa29f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-facade.html @@ -0,0 +1,186 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                            Facade.php

                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                            Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                            + + + + + + + +

                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            Facade
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            Facades named collections of capabilities that can be granted, +such as the ability to create invoices or grant refunds
                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyer.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyer.html new file mode 100644 index 0000000..d34b0b0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyer.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                              Buyer.php

                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                              Buyer
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyerprovidedinfo.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyerprovidedinfo.html new file mode 100644 index 0000000..38ea2d4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-buyerprovidedinfo.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                BuyerProvidedInfo.php

                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                BuyerProvidedInfo
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                Information collected from the buyer during the process of paying an invoice. Initially this object is empty.
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoice.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoice.html new file mode 100644 index 0000000..a9d569b --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoice.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                  Invoice.php

                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                  Invoice
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoicestatus.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoicestatus.html new file mode 100644 index 0000000..d182bf1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-invoicestatus.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                    InvoiceStatus.php

                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                    Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +

                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    InvoiceStatus
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    The type Invoice status.
                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-itemizeddetails.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-itemizeddetails.html new file mode 100644 index 0000000..2a28a11 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-itemizeddetails.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                      ItemizedDetails.php

                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      ItemizedDetails
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      Class ItemizedDetails
                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfees.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfees.html new file mode 100644 index 0000000..3b40972 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfees.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                        MinerFees.php

                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        MinerFees
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice.
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfeesitem.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfeesitem.html new file mode 100644 index 0000000..eca12e5 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-minerfeesitem.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                          MinerFeesItem.php

                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                          MinerFeesItem
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          Class MinerFeesItem
                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refund.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refund.html new file mode 100644 index 0000000..be627bb --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refund.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                            Refund.php

                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            Refund
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            Class Refund
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundinfo.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundinfo.html new file mode 100644 index 0000000..de4580f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundinfo.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                              RefundInfo.php

                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                              RefundInfo
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice.
                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundstatus.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundstatus.html new file mode 100644 index 0000000..821b77f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundstatus.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                RefundStatus.php

                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                RefundStatus
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                Refund status list
                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundwebhook.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundwebhook.html new file mode 100644 index 0000000..a03d53e --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-refundwebhook.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                  RefundWebhook.php

                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  RefundWebhook
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  Class RefundWebhook
                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-shopper.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-shopper.html new file mode 100644 index 0000000..26e9d75 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-shopper.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                    Shopper.php

                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    Shopper
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID.
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrencies.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrencies.html new file mode 100644 index 0000000..d8ac29f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrencies.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                      SupportedTransactionCurrencies.php

                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                      SupportedTransactionCurrencies
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      Class SupportedTransactionCurrencies. The currencies that may be used to pay this invoice.
                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrency.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrency.html new file mode 100644 index 0000000..300821f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-supportedtransactioncurrency.html @@ -0,0 +1,186 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                        SupportedTransactionCurrency.php

                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        SupportedTransactionCurrency
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        Class SupportedTransactionCurrency +The currency that may be used to pay this invoice. The values are objects with an "enabled" boolean and option.
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-universalcodes.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-universalcodes.html new file mode 100644 index 0000000..25769f3 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-invoice-universalcodes.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                          UniversalCodes.php

                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                          UniversalCodes
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          Object containing wallet-specific URLs for payment protocol.
                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-buyer.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-buyer.html new file mode 100644 index 0000000..29898d6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-buyer.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                            Buyer.php

                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            Buyer
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            Class Buyer
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledger.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledger.html new file mode 100644 index 0000000..413fee1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledger.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                              Ledger.php

                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                              Ledger
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              Class Ledger
                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledgerentry.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledgerentry.html new file mode 100644 index 0000000..13eedf6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-ledger-ledgerentry.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                LedgerEntry.php

                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                LedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                Class LedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payout.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payout.html new file mode 100644 index 0000000..8ae500d --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payout.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                  Payout.php

                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                  Payout
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroup.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroup.html new file mode 100644 index 0000000..3b3969d --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroup.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                    PayoutGroup.php

                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    PayoutGroup
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroupfailed.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroupfailed.html new file mode 100644 index 0000000..a5cd01a --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutgroupfailed.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                      PayoutGroupFailed.php

                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                      PayoutGroupFailed
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipient.html new file mode 100644 index 0000000..3d364f2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                        PayoutRecipient.php

                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        PayoutRecipient
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipients.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipients.html new file mode 100644 index 0000000..471666f --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutrecipients.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                          PayoutRecipients.php

                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                          PayoutRecipients
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutstatus.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutstatus.html new file mode 100644 index 0000000..b7bc60c --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payoutstatus.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                            PayoutStatus.php

                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                            Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            PayoutStatus
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            Interface PayoutStatus
                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payouttransaction.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payouttransaction.html new file mode 100644 index 0000000..756f124 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-payouttransaction.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                              PayoutTransaction.php

                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                              PayoutTransaction
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              Contains the cryptocurrency transaction details for the executed payout.
                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientreferencemethod.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientreferencemethod.html new file mode 100644 index 0000000..05540c1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientreferencemethod.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                RecipientReferenceMethod.php

                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                RecipientReferenceMethod
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                List of recipient reference methods
                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientstatus.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientstatus.html new file mode 100644 index 0000000..7717bfc --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-payout-recipientstatus.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                  RecipientStatus.php

                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                  Copyright (c) 2019 BitPay

                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  RecipientStatus
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  Interface RecipientStatus
                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rate.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rate.html new file mode 100644 index 0000000..95eecf4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rate.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                    Rate.php

                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    Rate
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    Class Rate
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rates.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rates.html new file mode 100644 index 0000000..c59c175 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-rate-rates.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                      Rates.php

                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                      Rates
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      Class Rates
                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-invoicedata.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-invoicedata.html new file mode 100644 index 0000000..5631e98 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-invoicedata.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                        InvoiceData.php

                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        InvoiceData
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        Object containing relevant information from the paid invoice.
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-payoutinfo.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-payoutinfo.html new file mode 100644 index 0000000..e2bf75c --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-payoutinfo.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                          PayoutInfo.php

                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                          PayoutInfo
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          Object containing the settlement info provided by the Merchant in his BitPay account settings.
                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-refundinfo.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-refundinfo.html new file mode 100644 index 0000000..a41045c --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-refundinfo.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                            RefundInfo.php

                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            RefundInfo
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            Object containing information about the refund.
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlement.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlement.html new file mode 100644 index 0000000..9e0bec6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlement.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                              Settlement.php

                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                              Settlement
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              Settlement data object.
                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlementledgerentry.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlementledgerentry.html new file mode 100644 index 0000000..4ce7d54 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-settlementledgerentry.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                SettlementLedgerEntry.php

                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                SettlementLedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                Class SettlementLedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-withholdings.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-withholdings.html new file mode 100644 index 0000000..4b6af5b --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-settlement-withholdings.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                  WithHoldings.php

                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                  WithHoldings
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  Class WithHoldings
                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencies.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencies.html new file mode 100644 index 0000000..2b01a65 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencies.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                    Currencies.php

                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    Currencies
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    Details of what currencies support payments for this wallet
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencyqr.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencyqr.html new file mode 100644 index 0000000..4426493 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-currencyqr.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                      CurrencyQr.php

                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                      CurrencyQr
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      Object containing QR code related information to show for this payment method
                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-wallet.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-wallet.html new file mode 100644 index 0000000..a965c49 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-model-wallet-wallet.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                        Wallet.php

                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        Wallet
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-posclient.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-posclient.html new file mode 100644 index 0000000..6a5fcbe --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-posclient.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                          PosClient.php

                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                          PosClient
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          Class Client
                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-tokens.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-tokens.html new file mode 100644 index 0000000..d5e8cea --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-tokens.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                            Tokens.php

                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            Tokens
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            Class Tokens
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-jsonmapperfactory.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-jsonmapperfactory.html new file mode 100644 index 0000000..4171a34 --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-jsonmapperfactory.html @@ -0,0 +1,185 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                              JsonMapperFactory.php

                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                              JsonMapperFactory
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-restcli-restcli.html b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-restcli-restcli.html new file mode 100644 index 0000000..9b257eb --- /dev/null +++ b/vendor/bitpay/sdk/docs/files/src-bitpaysdk-util-restcli-restcli.html @@ -0,0 +1,208 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                RESTcli.php

                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + author +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                BitPay Integrations integrations@bitpay.com

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + license +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                http://www.opensource.org/licenses/mit-license.php MIT

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                Class RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/graphs/classes.html b/vendor/bitpay/sdk/docs/graphs/classes.html new file mode 100644 index 0000000..725ab49 --- /dev/null +++ b/vendor/bitpay/sdk/docs/graphs/classes.html @@ -0,0 +1,150 @@ + + + + + Documentation + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/index.html b/vendor/bitpay/sdk/docs/index.html new file mode 100644 index 0000000..0eed43d --- /dev/null +++ b/vendor/bitpay/sdk/docs/index.html @@ -0,0 +1,180 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    + Packages + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    Application
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    Bitpay
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    BitPaySDK
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    Bitpaylight
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    + Namespaces + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    BitPaySDK
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/indices/files.html b/vendor/bitpay/sdk/docs/indices/files.html new file mode 100644 index 0000000..82ef547 --- /dev/null +++ b/vendor/bitpay/sdk/docs/indices/files.html @@ -0,0 +1,298 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                      Files

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      B

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      C

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      E

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      F

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      I

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      J

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      L

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      M

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      P

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      R

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      S

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      T

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      U

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      W

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/js/search.js b/vendor/bitpay/sdk/docs/js/search.js new file mode 100644 index 0000000..093d6d0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/js/search.js @@ -0,0 +1,173 @@ +// Search module for phpDocumentor +// +// This module is a wrapper around fuse.js that will use a given index and attach itself to a +// search form and to a search results pane identified by the following data attributes: +// +// 1. data-search-form +// 2. data-search-results +// +// The data-search-form is expected to have a single input element of type 'search' that will trigger searching for +// a series of results, were the data-search-results pane is expected to have a direct UL child that will be populated +// with rendered results. +// +// The search has various stages, upon loading this stage the data-search-form receives the CSS class +// 'phpdocumentor-search--enabled'; this indicates that JS is allowed and indices are being loaded. It is recommended +// to hide the form by default and show it when it receives this class to achieve progressive enhancement for this +// feature. +// +// After loading this module, it is expected to load a search index asynchronously, for example: +// +// +// +// In this script the generated index should attach itself to the search module using the `appendIndex` function. By +// doing it like this the page will continue loading, unhindered by the loading of the search. +// +// After the page has fully loaded, and all these deferred indexes loaded, the initialization of the search module will +// be called and the form will receive the class 'phpdocumentor-search--active', indicating search is ready. At this +// point, the input field will also have it's 'disabled' attribute removed. +var Search = (function () { + var fuse; + var index = []; + var options = { + shouldSort: true, + threshold: 0.6, + location: 0, + distance: 100, + maxPatternLength: 32, + minMatchCharLength: 1, + keys: [ + "fqsen", + "name", + "summary", + "url" + ] + }; + + // Credit David Walsh (https://davidwalsh.name/javascript-debounce-function) + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + function debounce(func, wait, immediate) { + var timeout; + + return function executedFunction() { + var context = this; + var args = arguments; + + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; + } + + function close() { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + const scrollY = document.body.style.top; + document.body.style.position = ''; + document.body.style.top = ''; + window.scrollTo(0, parseInt(scrollY || '0') * -1); + // End scroll prevention + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + + form.classList.toggle('phpdocumentor-search--has-results', false); + searchResults.classList.add('phpdocumentor-search-results--hidden'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + searchField.blur(); + } + + function search(event) { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + document.body.style.position = 'fixed'; + document.body.style.top = `-${window.scrollY}px`; + // End scroll prevention + + // prevent enter's from autosubmitting + event.stopPropagation(); + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + var searchResultEntries = document.querySelector('[data-search-results] .phpdocumentor-search-results__entries'); + + searchResultEntries.innerHTML = ''; + + if (!event.target.value) { + close(); + return; + } + + form.classList.toggle('phpdocumentor-search--has-results', true); + searchResults.classList.remove('phpdocumentor-search-results--hidden'); + var results = fuse.search(event.target.value, {limit: 25}); + + results.forEach(function (result) { + var entry = document.createElement("li"); + entry.classList.add("phpdocumentor-search-results__entry"); + entry.innerHTML += '

                                                                                                                                                                                                                                                                                                                                                                                                                                        ' + result.name + "

                                                                                                                                                                                                                                                                                                                                                                                                                                        \n"; + entry.innerHTML += '' + result.fqsen + "\n"; + entry.innerHTML += '
                                                                                                                                                                                                                                                                                                                                                                                                                                        ' + result.summary + '
                                                                                                                                                                                                                                                                                                                                                                                                                                        '; + searchResultEntries.appendChild(entry) + }); + } + + function appendIndex(added) { + index = index.concat(added); + + // re-initialize search engine when appending an index after initialisation + if (typeof fuse !== 'undefined') { + fuse = new Fuse(index, options); + } + } + + function init() { + fuse = new Fuse(index, options); + + var form = document.querySelector('[data-search-form]'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + + var closeButton = document.querySelector('.phpdocumentor-search-results__close'); + closeButton.addEventListener('click', function() { close() }.bind(this)); + + var searchResults = document.querySelector('[data-search-results]'); + searchResults.addEventListener('click', function() { close() }.bind(this)); + + form.classList.add('phpdocumentor-search--active'); + + searchField.setAttribute('placeholder', 'Search (Press "/" to focus)'); + searchField.removeAttribute('disabled'); + searchField.addEventListener('keyup', debounce(search, 300)); + + window.addEventListener('keyup', function (event) { + if (event.key === '/') { + searchField.focus(); + } + if (event.code === 'Escape') { + close(); + } + }.bind(this)); + } + + return { + appendIndex, + init + } +})(); + +window.addEventListener('DOMContentLoaded', function () { + var form = document.querySelector('[data-search-form]'); + + // When JS is supported; show search box. Must be before including the search for it to take effect immediately + form.classList.add('phpdocumentor-search--enabled'); +}); + +window.addEventListener('load', function () { + Search.init(); +}); diff --git a/vendor/bitpay/sdk/docs/js/searchIndex.js b/vendor/bitpay/sdk/docs/js/searchIndex.js new file mode 100644 index 0000000..bc68b85 --- /dev/null +++ b/vendor/bitpay/sdk/docs/js/searchIndex.js @@ -0,0 +1,8849 @@ +Search.appendIndex( + [ + { + "fqsen": "\\BitPaySDK\\Client\\BillClient", + "name": "BillClient", + "summary": "", + "url": "classes/BitPaySDK-Client-BillClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-BillClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Bill\u0020Client.", + "url": "classes/BitPaySDK-Client-BillClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003Acreate\u0028\u0029", + "name": "create", + "summary": "Create\u0020a\u0020BitPay\u0020Bill.", + "url": "classes/BitPaySDK-Client-BillClient.html#method_create" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieve\u0020a\u0020BitPay\u0020bill\u0020by\u0020bill\u0020id\u0020using\u0020the\u0020specified\u0020facade.", + "url": "classes/BitPaySDK-Client-BillClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003AgetBills\u0028\u0029", + "name": "getBills", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020bills.", + "url": "classes/BitPaySDK-Client-BillClient.html#method_getBills" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Update\u0020a\u0020BitPay\u0020Bill.", + "url": "classes/BitPaySDK-Client-BillClient.html#method_update" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003Adeliver\u0028\u0029", + "name": "deliver", + "summary": "Deliver\u0020a\u0020BitPay\u0020Bill.", + "url": "classes/BitPaySDK-Client-BillClient.html#method_deliver" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003AmapJsonToBillClass\u0028\u0029", + "name": "mapJsonToBillClass", + "summary": "", + "url": "classes/BitPaySDK-Client-BillClient.html#method_mapJsonToBillClass" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-BillClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-BillClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\BillClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-BillClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient", + "name": "InvoiceClient", + "summary": "", + "url": "classes/BitPaySDK-Client-InvoiceClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Invoice\u0020Client.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003Acreate\u0028\u0029", + "name": "create", + "summary": "Create\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_create" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Update\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_update" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieve\u0020a\u0020BitPay\u0020invoice\u0020by\u0020invoice\u0020id\u0020using\u0020the\u0020specified\u0020facade.\u0020\u0020The\u0020client\u0020must\u0020have\u0020been\u0020previously\nauthorized\u0020for\u0020the\u0020specified\u0020facade\u0020\u0028the\u0020public\u0020facade\u0020requires\u0020no\u0020authorization\u0029.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003AgetByGuid\u0028\u0029", + "name": "getByGuid", + "summary": "", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_getByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003AgetInvoices\u0028\u0029", + "name": "getInvoices", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020invoices.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_getInvoices" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003ArequestNotification\u0028\u0029", + "name": "requestNotification", + "summary": "Request\u0020a\u0020BitPay\u0020Invoice\u0020Webhook.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_requestNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003Acancel\u0028\u0029", + "name": "cancel", + "summary": "Cancel\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_cancel" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003AcancelByGuid\u0028\u0029", + "name": "cancelByGuid", + "summary": "Cancel\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_cancelByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003Apay\u0028\u0029", + "name": "pay", + "summary": "Pay\u0020an\u0020invoice\u0020with\u0020a\u0020mock\u0020transaction", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_pay" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003AbuyerEmailOrSms\u0028\u0029", + "name": "buyerEmailOrSms", + "summary": "Check\u0020if\u0020buyerEmail\u0020or\u0020buyerSms\u0020is\u0020present,\u0020and\u0020not\u0020both.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_buyerEmailOrSms" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003AisSmsCodeRequired\u0028\u0029", + "name": "isSmsCodeRequired", + "summary": "Check\u0020if\u0020smsCode\u0020is\u0020required.", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#method_isSmsCodeRequired" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\InvoiceClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-InvoiceClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient", + "name": "LedgerClient", + "summary": "", + "url": "classes/BitPaySDK-Client-LedgerClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-LedgerClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Ledger\u0020Client.", + "url": "classes/BitPaySDK-Client-LedgerClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieve\u0020a\u0020list\u0020of\u0020ledgers\u0020by\u0020date\u0020range\u0020using\u0020the\u0020merchant\u0020facade.", + "url": "classes/BitPaySDK-Client-LedgerClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003AgetLedgers\u0028\u0029", + "name": "getLedgers", + "summary": "Retrieve\u0020a\u0020list\u0020of\u0020ledgers\u0020using\u0020the\u0020merchant\u0020facade.", + "url": "classes/BitPaySDK-Client-LedgerClient.html#method_getLedgers" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-LedgerClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-LedgerClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\LedgerClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-LedgerClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient", + "name": "PayoutClient", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Payout\u0020Client.", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003Asubmit\u0028\u0029", + "name": "submit", + "summary": "Submit\u0020a\u0020BitPay\u0020Payout.", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_submit" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieve\u0020a\u0020BitPay\u0020payout\u0020by\u0020payout\u0020id\u0020using.\u0020The\u0020client\u0020must\u0020have\u0020been\u0020previously\u0020authorized\nfor\u0020the\u0020payout\u0020facade.", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003AgetPayouts\u0028\u0029", + "name": "getPayouts", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020payouts.", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_getPayouts" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003Acancel\u0028\u0029", + "name": "cancel", + "summary": "Cancel\u0020a\u0020BitPay\u0020Payout.", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_cancel" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003ArequestNotification\u0028\u0029", + "name": "requestNotification", + "summary": "Notify\u0020BitPay\u0020Payout.", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_requestNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003AcreateGroup\u0028\u0029", + "name": "createGroup", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_createGroup" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003AcancelGroup\u0028\u0029", + "name": "cancelGroup", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_cancelGroup" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003AgetPayoutGroupResponse\u0028\u0029", + "name": "getPayoutGroupResponse", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#method_getPayoutGroupResponse" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient", + "name": "PayoutRecipientsClient", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Payout\u0020Recipients\u0020Client.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003Asubmit\u0028\u0029", + "name": "submit", + "summary": "Submit\u0020BitPay\u0020Payout\u0020Recipients.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_submit" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieve\u0020a\u0020BitPay\u0020payout\u0020recipient\u0020by\u0020batch\u0020id\u0020using.\u0020\u0020The\u0020client\u0020must\u0020have\u0020been\u0020previously\u0020authorized\u0020for\u0020the\npayout\u0020facade.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003AgetPayoutRecipients\u0028\u0029", + "name": "getPayoutRecipients", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020Payout\u0020Recipients.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_getPayoutRecipients" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Update\u0020a\u0020Payout\u0020Recipient.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_update" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Delete\u0020a\u0020Payout\u0020Recipient.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_delete" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003ArequestNotification\u0028\u0029", + "name": "requestNotification", + "summary": "Notify\u0020BitPay\u0020Payout\u0020Recipient.", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#method_requestNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\PayoutRecipientsClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-PayoutRecipientsClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient", + "name": "RateClient", + "summary": "", + "url": "classes/BitPaySDK-Client-RateClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-RateClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Rate\u0020Client.", + "url": "classes/BitPaySDK-Client-RateClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003AgetRates\u0028\u0029", + "name": "getRates", + "summary": "Retrieve\u0020the\u0020exchange\u0020rate\u0020table\u0020maintained\u0020by\u0020BitPay.\u0020\u0020See\u0020https\u003A\/\/bitpay.com\/bitcoin\u002Dexchange\u002Drates.", + "url": "classes/BitPaySDK-Client-RateClient.html#method_getRates" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003AgetCurrencyRates\u0028\u0029", + "name": "getCurrencyRates", + "summary": "Retrieve\u0020all\u0020the\u0020rates\u0020for\u0020a\u0020given\u0020cryptocurrency", + "url": "classes/BitPaySDK-Client-RateClient.html#method_getCurrencyRates" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003AgetCurrencyPairRate\u0028\u0029", + "name": "getCurrencyPairRate", + "summary": "Retrieve\u0020the\u0020rate\u0020for\u0020a\u0020cryptocurrency\u0020\/\u0020fiat\u0020pair", + "url": "classes/BitPaySDK-Client-RateClient.html#method_getCurrencyPairRate" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-RateClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\RateClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-RateClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient", + "name": "RefundClient", + "summary": "", + "url": "classes/BitPaySDK-Client-RefundClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-RefundClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Bill\u0020Client.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003Acreate\u0028\u0029", + "name": "create", + "summary": "Create\u0020a\u0020refund\u0020for\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_create" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Update\u0020the\u0020status\u0020of\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_update" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003AupdateByGuid\u0028\u0029", + "name": "updateByGuid", + "summary": "Update\u0020the\u0020status\u0020of\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_updateByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003AgetRefunds\u0028\u0029", + "name": "getRefunds", + "summary": "Retrieve\u0020all\u0020refund\u0020requests\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_getRefunds" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieve\u0020a\u0020previously\u0020made\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003AgetByGuid\u0028\u0029", + "name": "getByGuid", + "summary": "Retrieve\u0020a\u0020previously\u0020made\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice\u0020by\u0020guid.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_getByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003AsendNotification\u0028\u0029", + "name": "sendNotification", + "summary": "Send\u0020a\u0020refund\u0020notification.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_sendNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003Acancel\u0028\u0029", + "name": "cancel", + "summary": "Cancel\u0020a\u0020previously\u0020submitted\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_cancel" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003AcancelByGuid\u0028\u0029", + "name": "cancelByGuid", + "summary": "Cancel\u0020a\u0020previously\u0020submitted\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client-RefundClient.html#method_cancelByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-RefundClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-RefundClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\RefundClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-RefundClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient", + "name": "SettlementClient", + "summary": "", + "url": "classes/BitPaySDK-Client-SettlementClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-SettlementClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Settlements\u0020Client.", + "url": "classes/BitPaySDK-Client-SettlementClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003AgetSettlements\u0028\u0029", + "name": "getSettlements", + "summary": "Retrieves\u0020settlement\u0020reports\u0020for\u0020the\u0020calling\u0020merchant\u0020filtered\u0020by\u0020query.", + "url": "classes/BitPaySDK-Client-SettlementClient.html#method_getSettlements" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Retrieves\u0020a\u0020summary\u0020of\u0020the\u0020specified\u0020settlement.", + "url": "classes/BitPaySDK-Client-SettlementClient.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003AgetReconciliationReport\u0028\u0029", + "name": "getReconciliationReport", + "summary": "Gets\u0020a\u0020detailed\u0020reconciliation\u0020report\u0020of\u0020the\u0020activity\u0020within\u0020the\u0020settlement\u0020period.", + "url": "classes/BitPaySDK-Client-SettlementClient.html#method_getReconciliationReport" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-SettlementClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client-SettlementClient.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\\SettlementClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-SettlementClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\TokenClient", + "name": "TokenClient", + "summary": "", + "url": "classes/BitPaySDK-Client-TokenClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\TokenClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-TokenClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\TokenClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Token\u0020Client.", + "url": "classes/BitPaySDK-Client-TokenClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\TokenClient\u003A\u003AgetTokens\u0028\u0029", + "name": "getTokens", + "summary": "Get\u0020Tokens.", + "url": "classes/BitPaySDK-Client-TokenClient.html#method_getTokens" + }, { + "fqsen": "\\BitPaySDK\\Client\\TokenClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-TokenClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\TokenClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-TokenClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client\\WalletClient", + "name": "WalletClient", + "summary": "", + "url": "classes/BitPaySDK-Client-WalletClient.html" + }, { + "fqsen": "\\BitPaySDK\\Client\\WalletClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Client-WalletClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\\WalletClient\u003A\u003AgetInstance\u0028\u0029", + "name": "getInstance", + "summary": "Factory\u0020method\u0020for\u0020Wallet\u0020Client.", + "url": "classes/BitPaySDK-Client-WalletClient.html#method_getInstance" + }, { + "fqsen": "\\BitPaySDK\\Client\\WalletClient\u003A\u003AgetSupportedWallets\u0028\u0029", + "name": "getSupportedWallets", + "summary": "Retrieve\u0020all\u0020supported\u0020wallets.", + "url": "classes/BitPaySDK-Client-WalletClient.html#method_getSupportedWallets" + }, { + "fqsen": "\\BitPaySDK\\Client\\WalletClient\u003A\u003A\u0024instance", + "name": "instance", + "summary": "", + "url": "classes/BitPaySDK-Client-WalletClient.html#property_instance" + }, { + "fqsen": "\\BitPaySDK\\Client\\WalletClient\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client-WalletClient.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Client", + "name": "Client", + "summary": "Class\u0020Client", + "url": "classes/BitPaySDK-Client.html" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Client\u0020constructor.", + "url": "classes/BitPaySDK-Client.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcreateWithData\u0028\u0029", + "name": "createWithData", + "summary": "Constructor\u0020for\u0020use\u0020if\u0020the\u0020keys\u0020and\u0020SIN\u0020are\u0020managed\u0020by\u0020this\u0020library.", + "url": "classes/BitPaySDK-Client.html#method_createWithData" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcreateWithFile\u0028\u0029", + "name": "createWithFile", + "summary": "Constructor\u0020for\u0020use\u0020if\u0020the\u0020keys\u0020and\u0020SIN\u0020are\u0020managed\u0020by\u0020this\u0020library.", + "url": "classes/BitPaySDK-Client.html#method_createWithFile" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetTokens\u0028\u0029", + "name": "getTokens", + "summary": "Get\u0020Tokens.", + "url": "classes/BitPaySDK-Client.html#method_getTokens" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcreateInvoice\u0028\u0029", + "name": "createInvoice", + "summary": "Create\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_createInvoice" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AupdateInvoice\u0028\u0029", + "name": "updateInvoice", + "summary": "Update\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_updateInvoice" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetInvoice\u0028\u0029", + "name": "getInvoice", + "summary": "Retrieve\u0020a\u0020BitPay\u0020invoice\u0020by\u0020invoice\u0020id\u0020using\u0020the\u0020specified\u0020facade.\u0020\u0020The\u0020client\u0020must\u0020have\u0020been\u0020previously\nauthorized\u0020for\u0020the\u0020specified\u0020facade\u0020\u0028the\u0020public\u0020facade\u0020requires\u0020no\u0020authorization\u0029.", + "url": "classes/BitPaySDK-Client.html#method_getInvoice" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetInvoiceByGuid\u0028\u0029", + "name": "getInvoiceByGuid", + "summary": "Retrieve\u0020a\u0020BitPay\u0020invoice\u0020by\u0020guid\u0020using\u0020the\u0020specified\u0020facade.", + "url": "classes/BitPaySDK-Client.html#method_getInvoiceByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetInvoices\u0028\u0029", + "name": "getInvoices", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020invoices.", + "url": "classes/BitPaySDK-Client.html#method_getInvoices" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003ArequestInvoiceNotification\u0028\u0029", + "name": "requestInvoiceNotification", + "summary": "Request\u0020a\u0020BitPay\u0020Invoice\u0020Webhook.", + "url": "classes/BitPaySDK-Client.html#method_requestInvoiceNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcancelInvoice\u0028\u0029", + "name": "cancelInvoice", + "summary": "Cancel\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_cancelInvoice" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcancelInvoiceByGuid\u0028\u0029", + "name": "cancelInvoiceByGuid", + "summary": "Cancel\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_cancelInvoiceByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003ApayInvoice\u0028\u0029", + "name": "payInvoice", + "summary": "Pay\u0020an\u0020invoice\u0020with\u0020a\u0020mock\u0020transaction", + "url": "classes/BitPaySDK-Client.html#method_payInvoice" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcreateRefund\u0028\u0029", + "name": "createRefund", + "summary": "Create\u0020a\u0020refund\u0020for\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_createRefund" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AupdateRefund\u0028\u0029", + "name": "updateRefund", + "summary": "Update\u0020the\u0020status\u0020of\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_updateRefund" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AupdateRefundByGuid\u0028\u0029", + "name": "updateRefundByGuid", + "summary": "Update\u0020the\u0020status\u0020of\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_updateRefundByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetRefunds\u0028\u0029", + "name": "getRefunds", + "summary": "Retrieve\u0020all\u0020refund\u0020requests\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_getRefunds" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetRefund\u0028\u0029", + "name": "getRefund", + "summary": "Retrieve\u0020a\u0020previously\u0020made\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_getRefund" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetRefundByGuid\u0028\u0029", + "name": "getRefundByGuid", + "summary": "Retrieve\u0020a\u0020previously\u0020made\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_getRefundByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AsendRefundNotification\u0028\u0029", + "name": "sendRefundNotification", + "summary": "Send\u0020a\u0020refund\u0020notification.", + "url": "classes/BitPaySDK-Client.html#method_sendRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcancelRefund\u0028\u0029", + "name": "cancelRefund", + "summary": "Cancel\u0020a\u0020previously\u0020submitted\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_cancelRefund" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcancelRefundByGuid\u0028\u0029", + "name": "cancelRefundByGuid", + "summary": "Cancel\u0020a\u0020previously\u0020submitted\u0020refund\u0020request\u0020on\u0020a\u0020BitPay\u0020invoice.", + "url": "classes/BitPaySDK-Client.html#method_cancelRefundByGuid" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetSupportedWallets\u0028\u0029", + "name": "getSupportedWallets", + "summary": "Retrieve\u0020all\u0020supported\u0020wallets.", + "url": "classes/BitPaySDK-Client.html#method_getSupportedWallets" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcreateBill\u0028\u0029", + "name": "createBill", + "summary": "Create\u0020a\u0020BitPay\u0020Bill.", + "url": "classes/BitPaySDK-Client.html#method_createBill" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetBill\u0028\u0029", + "name": "getBill", + "summary": "Retrieve\u0020a\u0020BitPay\u0020bill\u0020by\u0020bill\u0020id\u0020using\u0020the\u0020specified\u0020facade.", + "url": "classes/BitPaySDK-Client.html#method_getBill" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetBills\u0028\u0029", + "name": "getBills", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020bills.", + "url": "classes/BitPaySDK-Client.html#method_getBills" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AupdateBill\u0028\u0029", + "name": "updateBill", + "summary": "Update\u0020a\u0020BitPay\u0020Bill.", + "url": "classes/BitPaySDK-Client.html#method_updateBill" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AdeliverBill\u0028\u0029", + "name": "deliverBill", + "summary": "Deliver\u0020a\u0020BitPay\u0020Bill.", + "url": "classes/BitPaySDK-Client.html#method_deliverBill" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetRates\u0028\u0029", + "name": "getRates", + "summary": "Retrieve\u0020the\u0020exchange\u0020rate\u0020table\u0020maintained\u0020by\u0020BitPay.\u0020\u0020See\u0020https\u003A\/\/bitpay.com\/bitcoin\u002Dexchange\u002Drates.", + "url": "classes/BitPaySDK-Client.html#method_getRates" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetCurrencyRates\u0028\u0029", + "name": "getCurrencyRates", + "summary": "Retrieve\u0020all\u0020the\u0020rates\u0020for\u0020a\u0020given\u0020cryptocurrency", + "url": "classes/BitPaySDK-Client.html#method_getCurrencyRates" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetCurrencyPairRate\u0028\u0029", + "name": "getCurrencyPairRate", + "summary": "Retrieve\u0020the\u0020rate\u0020for\u0020a\u0020cryptocurrency\u0020\/\u0020fiat\u0020pair", + "url": "classes/BitPaySDK-Client.html#method_getCurrencyPairRate" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetLedgerEntries\u0028\u0029", + "name": "getLedgerEntries", + "summary": "Retrieve\u0020a\u0020list\u0020of\u0020ledgers\u0020by\u0020date\u0020range\u0020using\u0020the\u0020merchant\u0020facade.", + "url": "classes/BitPaySDK-Client.html#method_getLedgerEntries" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetLedgers\u0028\u0029", + "name": "getLedgers", + "summary": "Retrieve\u0020a\u0020list\u0020of\u0020ledgers\u0020using\u0020the\u0020merchant\u0020facade.", + "url": "classes/BitPaySDK-Client.html#method_getLedgers" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AsubmitPayoutRecipients\u0028\u0029", + "name": "submitPayoutRecipients", + "summary": "Submit\u0020BitPay\u0020Payout\u0020Recipients.", + "url": "classes/BitPaySDK-Client.html#method_submitPayoutRecipients" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetPayoutRecipient\u0028\u0029", + "name": "getPayoutRecipient", + "summary": "Retrieve\u0020a\u0020BitPay\u0020payout\u0020recipient\u0020by\u0020batch\u0020id\u0020using.\u0020\u0020The\u0020client\u0020must\u0020have\u0020been\u0020previously\u0020authorized\u0020for\u0020the\npayout\u0020facade.", + "url": "classes/BitPaySDK-Client.html#method_getPayoutRecipient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetPayoutRecipients\u0028\u0029", + "name": "getPayoutRecipients", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020Payout\u0020Recipients.", + "url": "classes/BitPaySDK-Client.html#method_getPayoutRecipients" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AupdatePayoutRecipient\u0028\u0029", + "name": "updatePayoutRecipient", + "summary": "Update\u0020a\u0020Payout\u0020Recipient.", + "url": "classes/BitPaySDK-Client.html#method_updatePayoutRecipient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AdeletePayoutRecipient\u0028\u0029", + "name": "deletePayoutRecipient", + "summary": "Delete\u0020a\u0020Payout\u0020Recipient.", + "url": "classes/BitPaySDK-Client.html#method_deletePayoutRecipient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003ArequestPayoutRecipientNotification\u0028\u0029", + "name": "requestPayoutRecipientNotification", + "summary": "Notify\u0020BitPay\u0020Payout\u0020Recipient.", + "url": "classes/BitPaySDK-Client.html#method_requestPayoutRecipientNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AsubmitPayout\u0028\u0029", + "name": "submitPayout", + "summary": "Submit\u0020a\u0020BitPay\u0020Payout.", + "url": "classes/BitPaySDK-Client.html#method_submitPayout" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetPayout\u0028\u0029", + "name": "getPayout", + "summary": "Retrieve\u0020a\u0020BitPay\u0020payout\u0020by\u0020payout\u0020id\u0020using.\u0020The\u0020client\u0020must\u0020have\u0020been\u0020previously\u0020authorized\nfor\u0020the\u0020payout\u0020facade.", + "url": "classes/BitPaySDK-Client.html#method_getPayout" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetPayouts\u0028\u0029", + "name": "getPayouts", + "summary": "Retrieve\u0020a\u0020collection\u0020of\u0020BitPay\u0020payouts.", + "url": "classes/BitPaySDK-Client.html#method_getPayouts" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcancelPayout\u0028\u0029", + "name": "cancelPayout", + "summary": "Cancel\u0020a\u0020BitPay\u0020Payout.", + "url": "classes/BitPaySDK-Client.html#method_cancelPayout" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003ArequestPayoutNotification\u0028\u0029", + "name": "requestPayoutNotification", + "summary": "Notify\u0020BitPay\u0020Payout.", + "url": "classes/BitPaySDK-Client.html#method_requestPayoutNotification" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcreatePayoutGroup\u0028\u0029", + "name": "createPayoutGroup", + "summary": "", + "url": "classes/BitPaySDK-Client.html#method_createPayoutGroup" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AcancelPayoutGroup\u0028\u0029", + "name": "cancelPayoutGroup", + "summary": "", + "url": "classes/BitPaySDK-Client.html#method_cancelPayoutGroup" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetSettlements\u0028\u0029", + "name": "getSettlements", + "summary": "Retrieves\u0020settlement\u0020reports\u0020for\u0020the\u0020calling\u0020merchant\u0020filtered\u0020by\u0020query.", + "url": "classes/BitPaySDK-Client.html#method_getSettlements" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetSettlement\u0028\u0029", + "name": "getSettlement", + "summary": "Retrieves\u0020a\u0020summary\u0020of\u0020the\u0020specified\u0020settlement.", + "url": "classes/BitPaySDK-Client.html#method_getSettlement" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetSettlementReconciliationReport\u0028\u0029", + "name": "getSettlementReconciliationReport", + "summary": "Gets\u0020a\u0020detailed\u0020reconciliation\u0020report\u0020of\u0020the\u0020activity\u0020within\u0020the\u0020settlement\u0020period.", + "url": "classes/BitPaySDK-Client.html#method_getSettlementReconciliationReport" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AinitKeys\u0028\u0029", + "name": "initKeys", + "summary": "", + "url": "classes/BitPaySDK-Client.html#method_initKeys" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetConfigData\u0028\u0029", + "name": "getConfigData", + "summary": "", + "url": "classes/BitPaySDK-Client.html#method_getConfigData" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetTokenClient\u0028\u0029", + "name": "getTokenClient", + "summary": "Gets\u0020token\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getTokenClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetInvoiceClient\u0028\u0029", + "name": "getInvoiceClient", + "summary": "Gets\u0020invoice\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getInvoiceClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetRefundClient\u0028\u0029", + "name": "getRefundClient", + "summary": "Gets\u0020refund\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getRefundClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetWalletClient\u0028\u0029", + "name": "getWalletClient", + "summary": "Gets\u0020wallet\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getWalletClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetBillClient\u0028\u0029", + "name": "getBillClient", + "summary": "Gets\u0020bill\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getBillClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetRateClient\u0028\u0029", + "name": "getRateClient", + "summary": "Gets\u0020rate\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getRateClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetLedgerClient\u0028\u0029", + "name": "getLedgerClient", + "summary": "Gets\u0020ledger\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getLedgerClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetPayoutRecipientsClient\u0028\u0029", + "name": "getPayoutRecipientsClient", + "summary": "Gets\u0020payout\u0020recipients\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getPayoutRecipientsClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetPayoutClient\u0028\u0029", + "name": "getPayoutClient", + "summary": "Gets\u0020payout\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getPayoutClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003AgetSettlementClient\u0028\u0029", + "name": "getSettlementClient", + "summary": "Gets\u0020settlement\u0020client", + "url": "classes/BitPaySDK-Client.html#method_getSettlementClient" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003A\u0024tokenCache", + "name": "tokenCache", + "summary": "", + "url": "classes/BitPaySDK-Client.html#property_tokenCache" + }, { + "fqsen": "\\BitPaySDK\\Client\u003A\u003A\u0024restCli", + "name": "restCli", + "summary": "", + "url": "classes/BitPaySDK-Client.html#property_restCli" + }, { + "fqsen": "\\BitPaySDK\\Env", + "name": "Env", + "summary": "", + "url": "classes/BitPaySDK-Env.html" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003ATEST", + "name": "TEST", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_TEST" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003APROD", + "name": "PROD", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_PROD" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003ATEST_URL", + "name": "TEST_URL", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_TEST_URL" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003APROD_URL", + "name": "PROD_URL", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_PROD_URL" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003ABITPAY_API_VERSION", + "name": "BITPAY_API_VERSION", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_BITPAY_API_VERSION" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003ABITPAY_PLUGIN_INFO", + "name": "BITPAY_PLUGIN_INFO", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_BITPAY_PLUGIN_INFO" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003ABITPAY_API_FRAME", + "name": "BITPAY_API_FRAME", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_BITPAY_API_FRAME" + }, { + "fqsen": "\\BitPaySDK\\Env\u003A\u003ABITPAY_API_FRAME_VERSION", + "name": "BITPAY_API_FRAME_VERSION", + "summary": "", + "url": "classes/BitPaySDK-Env.html#constant_BITPAY_API_FRAME_VERSION" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillCreationException", + "name": "BillCreationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillCreationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillCreationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020BillCreationException.", + "url": "classes/BitPaySDK-Exceptions-BillCreationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillCreationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillCreationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillCreationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillCreationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillDeliveryException", + "name": "BillDeliveryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillDeliveryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillDeliveryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020BillDeliveryException.", + "url": "classes/BitPaySDK-Exceptions-BillDeliveryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillDeliveryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillDeliveryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillDeliveryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillDeliveryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillException", + "name": "BillException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020BillException.", + "url": "classes/BitPaySDK-Exceptions-BillException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillQueryException", + "name": "BillQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020BillQueryException.", + "url": "classes/BitPaySDK-Exceptions-BillQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillUpdateException", + "name": "BillUpdateException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillUpdateException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillUpdateException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020BillUpdateException.", + "url": "classes/BitPaySDK-Exceptions-BillUpdateException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillUpdateException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillUpdateException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BillUpdateException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BillUpdateException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BitPayException", + "name": "BitPayException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BitPayException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BitPayException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020BitPayException.", + "url": "classes/BitPaySDK-Exceptions-BitPayException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BitPayException\u003A\u003AgetApiCode\u0028\u0029", + "name": "getApiCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BitPayException.html#method_getApiCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BitPayException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BitPayException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BitPayException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BitPayException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\BitPayException\u003A\u003A\u0024apiCode", + "name": "apiCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-BitPayException.html#property_apiCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyException", + "name": "CurrencyException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-CurrencyException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020CurrencyException.", + "url": "classes/BitPaySDK-Exceptions-CurrencyException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-CurrencyException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-CurrencyException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyQueryException", + "name": "CurrencyQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-CurrencyQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020CurrencyQueryException.", + "url": "classes/BitPaySDK-Exceptions-CurrencyQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-CurrencyQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\CurrencyQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-CurrencyQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCancellationException", + "name": "InvoiceCancellationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceCancellationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCancellationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020InvoiceCancellationException.", + "url": "classes/BitPaySDK-Exceptions-InvoiceCancellationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCancellationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceCancellationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCancellationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceCancellationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCreationException", + "name": "InvoiceCreationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceCreationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCreationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020InvoiceCreationException.", + "url": "classes/BitPaySDK-Exceptions-InvoiceCreationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCreationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceCreationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceCreationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceCreationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceException", + "name": "InvoiceException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020InvoiceException.", + "url": "classes/BitPaySDK-Exceptions-InvoiceException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoicePaymentException", + "name": "InvoicePaymentException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoicePaymentException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoicePaymentException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020InvoicePaymentException.", + "url": "classes/BitPaySDK-Exceptions-InvoicePaymentException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoicePaymentException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoicePaymentException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoicePaymentException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoicePaymentException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceQueryException", + "name": "InvoiceQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020InvoiceQueryException.", + "url": "classes/BitPaySDK-Exceptions-InvoiceQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceQueryException\u003A\u003A\u0024apiCode", + "name": "apiCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceQueryException.html#property_apiCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceUpdateException", + "name": "InvoiceUpdateException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceUpdateException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceUpdateException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020InvoiceUpdateException.", + "url": "classes/BitPaySDK-Exceptions-InvoiceUpdateException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceUpdateException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceUpdateException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\InvoiceUpdateException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-InvoiceUpdateException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerException", + "name": "LedgerException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-LedgerException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020LedgerException.", + "url": "classes/BitPaySDK-Exceptions-LedgerException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-LedgerException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-LedgerException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerQueryException", + "name": "LedgerQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-LedgerQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020LedgerQueryException.", + "url": "classes/BitPaySDK-Exceptions-LedgerQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-LedgerQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\LedgerQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-LedgerQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCancellationException", + "name": "PayoutBatchCancellationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCancellationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutBatchCancellationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCancellationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCancellationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCancellationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCreationException", + "name": "PayoutBatchCreationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCreationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutBatchCreationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCreationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchCreationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchCreationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchException", + "name": "PayoutBatchException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutBatchException.", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchNotificationException", + "name": "PayoutBatchNotificationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchNotificationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutBatchNotificationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchNotificationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchNotificationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchNotificationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchQueryException", + "name": "PayoutBatchQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutBatchQueryException.", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutBatchQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutBatchQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCancellationException", + "name": "PayoutCancellationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutCancellationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCancellationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutCancellationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutCancellationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCancellationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutCancellationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCancellationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutCancellationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCreationException", + "name": "PayoutCreationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutCreationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCreationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutCreationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutCreationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCreationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutCreationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutCreationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutCreationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutException", + "name": "PayoutException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutException.", + "url": "classes/BitPaySDK-Exceptions-PayoutException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutNotificationException", + "name": "PayoutNotificationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutNotificationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutNotificationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutNotificationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutNotificationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutNotificationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutNotificationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutNotificationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutNotificationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutQueryException", + "name": "PayoutQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutQueryException.", + "url": "classes/BitPaySDK-Exceptions-PayoutQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCancellationException", + "name": "PayoutRecipientCancellationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCancellationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutRecipientCancellationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCancellationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCancellationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCancellationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCreationException", + "name": "PayoutRecipientCreationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCreationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutRecipientCreationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCreationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientCreationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientCreationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientException", + "name": "PayoutRecipientException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutRecipientException.", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientNotificationException", + "name": "PayoutRecipientNotificationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientNotificationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutRecipientNotificationException.", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientNotificationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientNotificationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientNotificationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientQueryException", + "name": "PayoutRecipientQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutRecipientQueryException.", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientUpdateException", + "name": "PayoutRecipientUpdateException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientUpdateException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutRecipientUpdateException.", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientUpdateException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutRecipientUpdateException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutRecipientUpdateException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutUpdateException", + "name": "PayoutUpdateException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutUpdateException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutUpdateException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020PayoutUpdateException.", + "url": "classes/BitPaySDK-Exceptions-PayoutUpdateException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutUpdateException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutUpdateException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\PayoutUpdateException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-PayoutUpdateException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateException", + "name": "RateException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RateException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RateException.", + "url": "classes/BitPaySDK-Exceptions-RateException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RateException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RateException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateQueryException", + "name": "RateQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RateQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RateQueryException.", + "url": "classes/BitPaySDK-Exceptions-RateQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RateQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RateQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RateQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCancellationException", + "name": "RefundCancellationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundCancellationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCancellationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RefundCancellationException.", + "url": "classes/BitPaySDK-Exceptions-RefundCancellationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCancellationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundCancellationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCancellationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundCancellationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCreationException", + "name": "RefundCreationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundCreationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCreationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RefundCreationException.", + "url": "classes/BitPaySDK-Exceptions-RefundCreationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCreationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundCreationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundCreationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundCreationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundException", + "name": "RefundException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RefundException.", + "url": "classes/BitPaySDK-Exceptions-RefundException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundNotificationException", + "name": "RefundNotificationException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundNotificationException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundNotificationException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RefundNotificationException.", + "url": "classes/BitPaySDK-Exceptions-RefundNotificationException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundNotificationException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundNotificationException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundNotificationException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundNotificationException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundQueryException", + "name": "RefundQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RefundQueryException.", + "url": "classes/BitPaySDK-Exceptions-RefundQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundUpdateException", + "name": "RefundUpdateException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundUpdateException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundUpdateException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020RefundUpdateException.", + "url": "classes/BitPaySDK-Exceptions-RefundUpdateException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundUpdateException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundUpdateException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\RefundUpdateException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-RefundUpdateException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementException", + "name": "SettlementException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-SettlementException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020SettlementException.", + "url": "classes/BitPaySDK-Exceptions-SettlementException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-SettlementException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-SettlementException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementQueryException", + "name": "SettlementQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-SettlementQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020SettlementQueryException.", + "url": "classes/BitPaySDK-Exceptions-SettlementQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-SettlementQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\SettlementQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-SettlementQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletException", + "name": "WalletException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-WalletException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020WalletException.", + "url": "classes/BitPaySDK-Exceptions-WalletException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-WalletException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-WalletException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletQueryException", + "name": "WalletQueryException", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-WalletQueryException.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletQueryException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Construct\u0020the\u0020WalletQueryException.", + "url": "classes/BitPaySDK-Exceptions-WalletQueryException.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletQueryException\u003A\u003A\u0024bitPayMessage", + "name": "bitPayMessage", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-WalletQueryException.html#property_bitPayMessage" + }, { + "fqsen": "\\BitPaySDK\\Exceptions\\WalletQueryException\u003A\u003A\u0024bitPayCode", + "name": "bitPayCode", + "summary": "", + "url": "classes/BitPaySDK-Exceptions-WalletQueryException.html#property_bitPayCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill", + "name": "Bill", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020a\u0020minimal\u0020request\u0020Bill\u0020object.", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020token", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020Bill\u0027s\u0020token", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020bill\u0020currency", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020Bill\u0027s\u0020currency", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetEmail\u0028\u0029", + "name": "getEmail", + "summary": "Gets\u0020bill\u0020email", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetEmail\u0028\u0029", + "name": "setEmail", + "summary": "Sets\u0020Bill\u0027s\u0020email", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetItems\u0028\u0029", + "name": "getItems", + "summary": "Gets\u0020items\u0020from\u0020bill", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getItems" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetItemsAsArray\u0028\u0029", + "name": "getItemsAsArray", + "summary": "Gets\u0020items\u0020as\u0020array\u0020from\u0020bill", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getItemsAsArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetItems\u0028\u0029", + "name": "setItems", + "summary": "Sets\u0020Bill\u0027s\u0020items", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setItems" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetNumber\u0028\u0029", + "name": "getNumber", + "summary": "Gets\u0020bill\u0020number", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getNumber" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetNumber\u0028\u0029", + "name": "setNumber", + "summary": "Sets\u0020Bill\u0027s\u0020number", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setNumber" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020name", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020name", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetAddress1\u0028\u0029", + "name": "getAddress1", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020address", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getAddress1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetAddress1\u0028\u0029", + "name": "setAddress1", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020address", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setAddress1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetAddress2\u0028\u0029", + "name": "getAddress2", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020address", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetAddress2\u0028\u0029", + "name": "setAddress2", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020address", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetCity\u0028\u0029", + "name": "getCity", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020city", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetCity\u0028\u0029", + "name": "setCity", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020city", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetState\u0028\u0029", + "name": "getState", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020state\u0020or\u0020province", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getState" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetState\u0028\u0029", + "name": "setState", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020state\u0020or\u0020province", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setState" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetZip\u0028\u0029", + "name": "getZip", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020ZIP\u0020code", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getZip" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetZip\u0028\u0029", + "name": "setZip", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020ZIP\u0020code", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setZip" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetCountry\u0028\u0029", + "name": "getCountry", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020country", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetCountry\u0028\u0029", + "name": "setCountry", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020country", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetCc\u0028\u0029", + "name": "getCc", + "summary": "Gets\u0020Bill\u0020cc", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getCc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetCc\u0028\u0029", + "name": "setCc", + "summary": "Sets\u0020Bill\u0027s\u0020cc", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setCc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetPhone\u0028\u0029", + "name": "getPhone", + "summary": "Gets\u0020Bill\u0020recipient\u0027s\u0020phone\u0020number", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getPhone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetPhone\u0028\u0029", + "name": "setPhone", + "summary": "Sets\u0020Bill\u0020recipient\u0027s\u0020phone\u0020number", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setPhone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetDueDate\u0028\u0029", + "name": "getDueDate", + "summary": "Gets\u0020Bill\u0020due\u0020date", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getDueDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetDueDate\u0028\u0029", + "name": "setDueDate", + "summary": "Sets\u0020Bill\u0027s\u0020due\u0020date", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setDueDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetPassProcessingFee\u0028\u0029", + "name": "getPassProcessingFee", + "summary": "Gets\u0020bill\u0020pass\u0020processing\u0020fee", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getPassProcessingFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetPassProcessingFee\u0028\u0029", + "name": "setPassProcessingFee", + "summary": "Sets\u0020Bill\u0027s\u0020pass\u0020processing\u0020fee", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setPassProcessingFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "Gets\u0020bill\u0020status", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Sets\u0020Bill\u0027s\u0020status", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetUrl\u0028\u0029", + "name": "getUrl", + "summary": "Gets\u0020bill\u0020url", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getUrl" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetUrl\u0028\u0029", + "name": "setUrl", + "summary": "Sets\u0020Bill\u0027s\u0020url", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setUrl" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetCreateDate\u0028\u0029", + "name": "getCreateDate", + "summary": "Gets\u0020bill\u0020create\u0020date", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getCreateDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetCreateDate\u0028\u0029", + "name": "setCreateDate", + "summary": "Sets\u0020Bill\u0027s\u0020create\u0020date", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setCreateDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020bill\u0020id", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020Bill\u0027s\u0020id", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AgetMerchant\u0028\u0029", + "name": "getMerchant", + "summary": "Gets\u0020bill\u0020merchant", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_getMerchant" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AsetMerchant\u0028\u0029", + "name": "setMerchant", + "summary": "Sets\u0020Bill\u0027s\u0020merchant", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_setMerchant" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Get\u0020bill\u0020data\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024email", + "name": "email", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_email" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024items", + "name": "items", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_items" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024number", + "name": "number", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_number" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024address1", + "name": "address1", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_address1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024address2", + "name": "address2", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_address2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024city", + "name": "city", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_city" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024state", + "name": "state", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_state" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024zip", + "name": "zip", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_zip" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024country", + "name": "country", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_country" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024cc", + "name": "cc", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_cc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024phone", + "name": "phone", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_phone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024dueDate", + "name": "dueDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_dueDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024passProcessingFee", + "name": "passProcessingFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_passProcessingFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024url", + "name": "url", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_url" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024createDate", + "name": "createDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_createDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Bill\u003A\u003A\u0024merchant", + "name": "merchant", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Bill.html#property_merchant" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\BillStatus", + "name": "BillStatus", + "summary": "Contains\u0020bill\u0020statuses\u003A\u0020Can\u0020be\u0020\u0022draft\u0022,\u0020\u0022sent\u0022,\u0020\u0022new\u0022,\u0020\u0022paid\u0022,\u0020or\u0020\u0022complete\u0022", + "url": "classes/BitPaySDK-Model-Bill-BillStatus.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\BillStatus\u003A\u003ADRAFT", + "name": "DRAFT", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-BillStatus.html#constant_DRAFT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\BillStatus\u003A\u003ASENT", + "name": "SENT", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-BillStatus.html#constant_SENT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\BillStatus\u003A\u003ANEW", + "name": "NEW", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-BillStatus.html#constant_NEW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\BillStatus\u003A\u003APAID", + "name": "PAID", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-BillStatus.html#constant_PAID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\BillStatus\u003A\u003ACOMPLETE", + "name": "COMPLETE", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-BillStatus.html#constant_COMPLETE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item", + "name": "Item", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020id.", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020id.", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AgetDescription\u0028\u0029", + "name": "getDescription", + "summary": "Gets\u0020Line\u0020item\u0020description", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_getDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AsetDescription\u0028\u0029", + "name": "setDescription", + "summary": "Sets\u0020Line\u0020item\u0020description", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_setDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AgetPrice\u0028\u0029", + "name": "getPrice", + "summary": "Gets\u0020Line\u0020item\u0020unit\u0020price\u0020for\u0020the\u0020corresponding\u0020currency", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_getPrice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AsetPrice\u0028\u0029", + "name": "setPrice", + "summary": "Sets\u0020Line\u0020item\u0020unit\u0020price\u0020for\u0020the\u0020corresponding\u0020currency", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_setPrice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AgetQuantity\u0028\u0029", + "name": "getQuantity", + "summary": "Gets\u0020Line\u0020item\u0020number\u0020of\u0020units", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_getQuantity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AsetQuantity\u0028\u0029", + "name": "setQuantity", + "summary": "Sets\u0020Line\u0020item\u0020number\u0020of\u0020units", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_setQuantity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AcreateFromArray\u0028\u0029", + "name": "createFromArray", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_createFromArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Item\u0020data\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Bill-Item.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html#property_description" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003A\u0024price", + "name": "price", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html#property_price" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill\\Item\u003A\u003A\u0024quantity", + "name": "quantity", + "summary": "", + "url": "classes/BitPaySDK-Model-Bill-Item.html#property_quantity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency", + "name": "Currency", + "summary": "Object\u0020containing\u0020currency\u0020information", + "url": "classes/BitPaySDK-Model-Currency.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AisValid\u0028\u0029", + "name": "isValid", + "summary": "Currency\u0020validation", + "url": "classes/BitPaySDK-Model-Currency.html#method_isValid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "Get\u0020ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code", + "url": "classes/BitPaySDK-Model-Currency.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code", + "url": "classes/BitPaySDK-Model-Currency.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetSymbol\u0028\u0029", + "name": "getSymbol", + "summary": "Display\u0020symbol", + "url": "classes/BitPaySDK-Model-Currency.html#method_getSymbol" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetSymbol\u0028\u0029", + "name": "setSymbol", + "summary": "Sets\u0020symbol", + "url": "classes/BitPaySDK-Model-Currency.html#method_setSymbol" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetPrecision\u0028\u0029", + "name": "getPrecision", + "summary": "Number\u0020of\u0020decimal\u0020places", + "url": "classes/BitPaySDK-Model-Currency.html#method_getPrecision" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetPrecision\u0028\u0029", + "name": "setPrecision", + "summary": "Sets\u0020number\u0020of\u0020decimal\u0020places", + "url": "classes/BitPaySDK-Model-Currency.html#method_setPrecision" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetCurrentlySettled\u0028\u0029", + "name": "getCurrentlySettled", + "summary": "Gets\u0020currently\u0020settled\u0020value", + "url": "classes/BitPaySDK-Model-Currency.html#method_getCurrentlySettled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetCurrentlySettled\u0028\u0029", + "name": "setCurrentlySettled", + "summary": "Sets\u0020currently\u0020settled\u0020value", + "url": "classes/BitPaySDK-Model-Currency.html#method_setCurrentlySettled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020currency\u0020name", + "url": "classes/BitPaySDK-Model-Currency.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020currency\u0020name", + "url": "classes/BitPaySDK-Model-Currency.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetPlural\u0028\u0029", + "name": "getPlural", + "summary": "Gets\u0020English\u0020plural\u0020form", + "url": "classes/BitPaySDK-Model-Currency.html#method_getPlural" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetPlural\u0028\u0029", + "name": "setPlural", + "summary": "Sets\u0020English\u0020plural\u0020form", + "url": "classes/BitPaySDK-Model-Currency.html#method_setPlural" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetAlts\u0028\u0029", + "name": "getAlts", + "summary": "Gets\u0020alternative\u0020currency\u0020name\u0028s\u0029", + "url": "classes/BitPaySDK-Model-Currency.html#method_getAlts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetAlts\u0028\u0029", + "name": "setAlts", + "summary": "Sets\u0020alternative\u0020currency\u0020name\u0028s\u0029", + "url": "classes/BitPaySDK-Model-Currency.html#method_setAlts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetMinimum\u0028\u0029", + "name": "getMinimum", + "summary": "Gets\u0020minimum\u0020supported\u0020value\u0020when\u0020creating\u0020an\u0020invoice,\u0020bill\u0020or\u0020payout\u0020for\u0020instance", + "url": "classes/BitPaySDK-Model-Currency.html#method_getMinimum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetMinimum\u0028\u0029", + "name": "setMinimum", + "summary": "Sets\u0020minimum\u0020supported\u0020value\u0020when\u0020creating\u0020an\u0020invoice,\u0020bill\u0020or\u0020payout\u0020for\u0020instance", + "url": "classes/BitPaySDK-Model-Currency.html#method_setMinimum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetSanctioned\u0028\u0029", + "name": "getSanctioned", + "summary": "Gets\u0020if\u0020the\u0020currency\u0020is\u0020linked\u0020to\u0020a\u0020sanctionned\u0020country", + "url": "classes/BitPaySDK-Model-Currency.html#method_getSanctioned" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetSanctioned\u0028\u0029", + "name": "setSanctioned", + "summary": "Sets\u0020if\u0020the\u0020currency\u0020is\u0020linked\u0020to\u0020a\u0020sanctionned\u0020country", + "url": "classes/BitPaySDK-Model-Currency.html#method_setSanctioned" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetDecimals\u0028\u0029", + "name": "getDecimals", + "summary": "Gets\u0020decimal\u0020precision", + "url": "classes/BitPaySDK-Model-Currency.html#method_getDecimals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetDecimals\u0028\u0029", + "name": "setDecimals", + "summary": "Sets\u0020decimal\u0020precision", + "url": "classes/BitPaySDK-Model-Currency.html#method_setDecimals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetPayoutFields\u0028\u0029", + "name": "getPayoutFields", + "summary": "Gets\u0020payout\u0020fields", + "url": "classes/BitPaySDK-Model-Currency.html#method_getPayoutFields" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetPayoutFields\u0028\u0029", + "name": "setPayoutFields", + "summary": "Sets\u0020payout\u0020fields", + "url": "classes/BitPaySDK-Model-Currency.html#method_setPayoutFields" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AgetSettlementMinimum\u0028\u0029", + "name": "getSettlementMinimum", + "summary": "Gets\u0020settlement\u0020minimum", + "url": "classes/BitPaySDK-Model-Currency.html#method_getSettlementMinimum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AsetSettlementMinimum\u0028\u0029", + "name": "setSettlementMinimum", + "summary": "Sets\u0020settlement\u0020minimum", + "url": "classes/BitPaySDK-Model-Currency.html#method_setSettlementMinimum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020currency\u0020data\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Currency.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABCH", + "name": "BCH", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BCH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABTC", + "name": "BTC", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AETH", + "name": "ETH", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ETH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUSDC", + "name": "USDC", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_USDC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGUSD", + "name": "GUSD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APAX", + "name": "PAX", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PAX" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXRP", + "name": "XRP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XRP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABUSD", + "name": "BUSD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ADOGE", + "name": "DOGE", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_DOGE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALTC", + "name": "LTC", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASHIB", + "name": "SHIB", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SHIB" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAED", + "name": "AED", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAFN", + "name": "AFN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AFN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AALL", + "name": "ALL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ALL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAMD", + "name": "AMD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AMD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AANG", + "name": "ANG", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ANG" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAOA", + "name": "AOA", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AOA" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AARS", + "name": "ARS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ARS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAUD", + "name": "AUD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AUD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAWG", + "name": "AWG", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AWG" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AAZN", + "name": "AZN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_AZN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABAM", + "name": "BAM", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BAM" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABBD", + "name": "BBD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BBD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABDT", + "name": "BDT", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BDT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABGN", + "name": "BGN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BGN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABHD", + "name": "BHD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BHD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABIF", + "name": "BIF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BIF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABMD", + "name": "BMD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BMD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABND", + "name": "BND", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BND" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABOB", + "name": "BOB", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BOB" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABOV", + "name": "BOV", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BOV" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABRL", + "name": "BRL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BRL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABSD", + "name": "BSD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABTN", + "name": "BTN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BTN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABWP", + "name": "BWP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BWP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABYR", + "name": "BYR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BYR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ABZD", + "name": "BZD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_BZD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACAD", + "name": "CAD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CAD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACDF", + "name": "CDF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CDF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACHE", + "name": "CHE", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CHE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACHF", + "name": "CHF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CHF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACHW", + "name": "CHW", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CHW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACLF", + "name": "CLF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CLF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACLP", + "name": "CLP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CLP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACNY", + "name": "CNY", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CNY" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACOP", + "name": "COP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_COP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACOU", + "name": "COU", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_COU" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACRC", + "name": "CRC", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CRC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACUC", + "name": "CUC", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CUC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACUP", + "name": "CUP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CUP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACVE", + "name": "CVE", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CVE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ACZK", + "name": "CZK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_CZK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ADJF", + "name": "DJF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_DJF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ADKK", + "name": "DKK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_DKK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ADOP", + "name": "DOP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_DOP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ADZD", + "name": "DZD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_DZD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AEGP", + "name": "EGP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_EGP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AERN", + "name": "ERN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ERN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AETB", + "name": "ETB", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ETB" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AEUR", + "name": "EUR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_EUR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AFJD", + "name": "FJD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_FJD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AFKP", + "name": "FKP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_FKP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGBP", + "name": "GBP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GBP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGEL", + "name": "GEL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GEL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGHS", + "name": "GHS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GHS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGIP", + "name": "GIP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GIP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGMD", + "name": "GMD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GMD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGNF", + "name": "GNF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GNF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGTQ", + "name": "GTQ", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GTQ" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AGYD", + "name": "GYD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_GYD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AHKD", + "name": "HKD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_HKD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AHNL", + "name": "HNL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_HNL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AHRK", + "name": "HRK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_HRK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AHTG", + "name": "HTG", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_HTG" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AHUF", + "name": "HUF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_HUF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AIDR", + "name": "IDR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_IDR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AILS", + "name": "ILS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ILS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AINR", + "name": "INR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_INR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AIQD", + "name": "IQD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_IQD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AIRR", + "name": "IRR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_IRR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AISK", + "name": "ISK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ISK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AJMD", + "name": "JMD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_JMD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AJOD", + "name": "JOD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_JOD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AJPY", + "name": "JPY", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_JPY" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKES", + "name": "KES", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KES" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKGS", + "name": "KGS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KGS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKHR", + "name": "KHR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KHR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKMF", + "name": "KMF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KMF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKPW", + "name": "KPW", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KPW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKRW", + "name": "KRW", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KRW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKWD", + "name": "KWD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KWD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKYD", + "name": "KYD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KYD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AKZT", + "name": "KZT", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_KZT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALAK", + "name": "LAK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LAK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALBP", + "name": "LBP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LBP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALKR", + "name": "LKR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LKR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALRD", + "name": "LRD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LRD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALSL", + "name": "LSL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LSL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ALYD", + "name": "LYD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_LYD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMAD", + "name": "MAD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MAD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMDL", + "name": "MDL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MDL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMGA", + "name": "MGA", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MGA" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMKD", + "name": "MKD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MKD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMMK", + "name": "MMK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MMK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMNT", + "name": "MNT", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MNT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMOP", + "name": "MOP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MOP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMRU", + "name": "MRU", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MRU" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMUR", + "name": "MUR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MUR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMVR", + "name": "MVR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MVR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMWK", + "name": "MWK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MWK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMXN", + "name": "MXN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MXN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMXV", + "name": "MXV", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MXV" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMYR", + "name": "MYR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MYR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AMZN", + "name": "MZN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_MZN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ANAD", + "name": "NAD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_NAD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ANGN", + "name": "NGN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_NGN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ANIO", + "name": "NIO", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_NIO" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ANOK", + "name": "NOK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_NOK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ANPR", + "name": "NPR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_NPR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ANZD", + "name": "NZD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_NZD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AOMR", + "name": "OMR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_OMR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APAB", + "name": "PAB", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PAB" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APEN", + "name": "PEN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PEN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APGK", + "name": "PGK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PGK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APHP", + "name": "PHP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PHP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APKR", + "name": "PKR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PKR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APLN", + "name": "PLN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PLN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003APYG", + "name": "PYG", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_PYG" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AQAR", + "name": "QAR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_QAR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ARON", + "name": "RON", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_RON" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ARSD", + "name": "RSD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_RSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ARUB", + "name": "RUB", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_RUB" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ARWF", + "name": "RWF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_RWF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASAR", + "name": "SAR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SAR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASBD", + "name": "SBD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SBD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASCR", + "name": "SCR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SCR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASDG", + "name": "SDG", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SDG" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASEK", + "name": "SEK", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SEK" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASGD", + "name": "SGD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SGD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASHP", + "name": "SHP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SHP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASLL", + "name": "SLL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SLL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASOS", + "name": "SOS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SOS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASRD", + "name": "SRD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SRD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASSP", + "name": "SSP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SSP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASTN", + "name": "STN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_STN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASVC", + "name": "SVC", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SVC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASYP", + "name": "SYP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SYP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ASZL", + "name": "SZL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_SZL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATHB", + "name": "THB", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_THB" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATJS", + "name": "TJS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TJS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATMT", + "name": "TMT", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TMT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATND", + "name": "TND", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TND" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATOP", + "name": "TOP", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TOP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATRY", + "name": "TRY", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TRY" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATTD", + "name": "TTD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TTD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATWD", + "name": "TWD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TWD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003ATZS", + "name": "TZS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_TZS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUAH", + "name": "UAH", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_UAH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUGX", + "name": "UGX", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_UGX" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUSD", + "name": "USD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_USD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUSN", + "name": "USN", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_USN" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUYI", + "name": "UYI", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_UYI" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUYU", + "name": "UYU", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_UYU" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AUZS", + "name": "UZS", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_UZS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AVEF", + "name": "VEF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_VEF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AVND", + "name": "VND", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_VND" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AVUV", + "name": "VUV", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_VUV" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AWST", + "name": "WST", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_WST" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXAF", + "name": "XAF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XAF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXCD", + "name": "XCD", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XCD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXDR", + "name": "XDR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XDR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXOF", + "name": "XOF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XOF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXPF", + "name": "XPF", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XPF" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXSU", + "name": "XSU", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XSU" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AXUA", + "name": "XUA", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_XUA" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AYER", + "name": "YER", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_YER" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AZAR", + "name": "ZAR", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ZAR" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AZMW", + "name": "ZMW", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ZMW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003AZWL", + "name": "ZWL", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#constant_ZWL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024symbol", + "name": "symbol", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_symbol" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024precision", + "name": "precision", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_precision" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024currentlySettled", + "name": "currentlySettled", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_currentlySettled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024plural", + "name": "plural", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_plural" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024alts", + "name": "alts", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_alts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024minimum", + "name": "minimum", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_minimum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024sanctioned", + "name": "sanctioned", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_sanctioned" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024decimals", + "name": "decimals", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_decimals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024payoutFields", + "name": "payoutFields", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_payoutFields" + }, { + "fqsen": "\\BitPaySDK\\Model\\Currency\u003A\u003A\u0024settlementMinimum", + "name": "settlementMinimum", + "summary": "", + "url": "classes/BitPaySDK-Model-Currency.html#property_settlementMinimum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Facade", + "name": "Facade", + "summary": "Facades\u0020named\u0020collections\u0020of\u0020capabilities\u0020that\u0020can\u0020be\u0020granted,\nsuch\u0020as\u0020the\u0020ability\u0020to\u0020create\u0020invoices\u0020or\u0020grant\u0020refunds", + "url": "classes/BitPaySDK-Model-Facade.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Facade\u003A\u003AMERCHANT", + "name": "MERCHANT", + "summary": "The\u0020broadest\u0020set\u0020of\u0020capabilities\u0020against\u0020a\u0020merchant\u0020organization.\u0020Allows\u0020for\u0020create,\u0020search,\nand\u0020view\u0020actions\u0020for\u0020Invoices\u0020and\u0020Bills\u003B\u0020ledger\u0020download,\nas\u0020well\u0020as\u0020the\u0020creation\u0020of\u0020new\u0020merchant\u0020or\u0020pos\u0020tokens\u0020associated\u0020with\u0020the\u0020account.", + "url": "classes/BitPaySDK-Model-Facade.html#constant_MERCHANT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Facade\u003A\u003APAYOUT", + "name": "PAYOUT", + "summary": "This\u0020is\u0020the\u0020facade\u0020which\u0020allows\u0020merchant\u0020to\u0020access\u0020the\u0020Payouts\u0020related\u0020resources\u0020and\u0020corresponding\u0020endpoints.", + "url": "classes/BitPaySDK-Model-Facade.html#constant_PAYOUT" + }, { + "fqsen": "\\BitPaySDK\\Model\\Facade\u003A\u003APOS", + "name": "POS", + "summary": "Limited\u0020to\u0020creating\u0020new\u0020invoice\u0020or\u0020bills\u0020and\u0020search\u0020specific\u0020invoices\nor\u0020bills\u0020based\u0020on\u0020their\u0020id\u0020for\u0020the\u0020merchant\u0027s\u0020organization", + "url": "classes/BitPaySDK-Model-Facade.html#constant_POS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer", + "name": "Buyer", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020Buyer\u0027s\u0020name", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020Buyer\u0027s\u0020name", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetAddress1\u0028\u0029", + "name": "getAddress1", + "summary": "Gets\u0020Buyer\u0027s\u0020address", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getAddress1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetAddress1\u0028\u0029", + "name": "setAddress1", + "summary": "Sets\u0020Buyer\u0027s\u0020address", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setAddress1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetAddress2\u0028\u0029", + "name": "getAddress2", + "summary": "Gets\u0020Buyer\u0027s\u0020appartment\u0020or\u0020suite\u0020number", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetAddress2\u0028\u0029", + "name": "setAddress2", + "summary": "Sets\u0020Buyer\u0027s\u0020appartment\u0020or\u0020suite\u0020number", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetLocality\u0028\u0029", + "name": "getLocality", + "summary": "Gets\u0020Buyer\u0027s\u0020city\u0020or\u0020locality", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getLocality" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetLocality\u0028\u0029", + "name": "setLocality", + "summary": "Sets\u0020Buyer\u0027s\u0020city\u0020or\u0020locality", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setLocality" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetRegion\u0028\u0029", + "name": "getRegion", + "summary": "Buyer\u0027s\u0020state\u0020or\u0020province", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getRegion" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetRegion\u0028\u0029", + "name": "setRegion", + "summary": "Sets\u0020Buyer\u0027s\u0020state\u0020or\u0020province", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setRegion" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetPostalCode\u0028\u0029", + "name": "getPostalCode", + "summary": "Gets\u0020Buyer\u0027s\u0020Zip\u0020or\u0020Postal\u0020Code", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getPostalCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetPostalCode\u0028\u0029", + "name": "setPostalCode", + "summary": "Sets\u0020Buyer\u0027s\u0020Zip\u0020or\u0020Postal\u0020Code", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setPostalCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetCountry\u0028\u0029", + "name": "getCountry", + "summary": "Gets\u0020Buyer\u0027s\u0020Country\u0020code", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetCountry\u0028\u0029", + "name": "setCountry", + "summary": "Sets\u0020Buyer\u0027s\u0020Country\u0020code", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetEmail\u0028\u0029", + "name": "getEmail", + "summary": "Gets\u0020Buyer\u0027s\u0020email\u0020address.", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetEmail\u0028\u0029", + "name": "setEmail", + "summary": "Sets\u0020Buyer\u0027s\u0020email\u0020address", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetPhone\u0028\u0029", + "name": "getPhone", + "summary": "Gets\u0020Buyer\u0027s\u0020phone\u0020number", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getPhone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetPhone\u0028\u0029", + "name": "setPhone", + "summary": "Sets\u0020Buyer\u0027s\u0020phone\u0020number", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setPhone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AgetNotify\u0028\u0029", + "name": "getNotify", + "summary": "Gets\u0020Buyer\u0027s\u0020notify", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_getNotify" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AsetNotify\u0028\u0029", + "name": "setNotify", + "summary": "Sets\u0020Buyer\u0027s\u0020notify", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_setNotify" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Buyer\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024address1", + "name": "address1", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_address1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024address2", + "name": "address2", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_address2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024locality", + "name": "locality", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_locality" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024region", + "name": "region", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_region" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024postalCode", + "name": "postalCode", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_postalCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024country", + "name": "country", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_country" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024email", + "name": "email", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_email" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024phone", + "name": "phone", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_phone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Buyer\u003A\u003A\u0024notify", + "name": "notify", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Buyer.html#property_notify" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo", + "name": "BuyerProvidedInfo", + "summary": "Information\u0020collected\u0020from\u0020the\u0020buyer\u0020during\u0020the\u0020process\u0020of\u0020paying\u0020an\u0020invoice.\u0020Initially\u0020this\u0020object\u0020is\u0020empty.", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020name", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020name", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetPhoneNumber\u0028\u0029", + "name": "getPhoneNumber", + "summary": "Gets\u0020phone\u0020number", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getPhoneNumber" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetPhoneNumber\u0028\u0029", + "name": "setPhoneNumber", + "summary": "Sets\u0020phone\u0020number", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setPhoneNumber" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetSelectedWallet\u0028\u0029", + "name": "getSelectedWallet", + "summary": "Gets\u0020selected\u0020wallet", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getSelectedWallet" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetSelectedWallet\u0028\u0029", + "name": "setSelectedWallet", + "summary": "Sets\u0020selected\u0020wallet", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setSelectedWallet" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetEmailAddress\u0028\u0029", + "name": "getEmailAddress", + "summary": "Gets\u0020email\u0020address", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getEmailAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetEmailAddress\u0028\u0029", + "name": "setEmailAddress", + "summary": "Sets\u0020email\u0020address", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setEmailAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetSelectedTransactionCurrency\u0028\u0029", + "name": "getSelectedTransactionCurrency", + "summary": "Gets\u0020selected\u0020transaction\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetSelectedTransactionCurrency\u0028\u0029", + "name": "setSelectedTransactionCurrency", + "summary": "Sets\u0020selected\u0020transaction\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetSms\u0028\u0029", + "name": "getSms", + "summary": "Gets\u0020sms", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getSms" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetSms\u0028\u0029", + "name": "setSms", + "summary": "Sets\u0020sms", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setSms" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AgetSmsVerified\u0028\u0029", + "name": "getSmsVerified", + "summary": "Gets\u0020verification\u0020status\u0020of\u0020SMS\u0020\u0028ie.\u0020have\u0020they\u0020passed\u0020the\u0020challenge\u0029.", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_getSmsVerified" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AsetSmsVerified\u0028\u0029", + "name": "setSmsVerified", + "summary": "Sets\u0020verification\u0020status\u0020of\u0020SMS\u0020\u0028ie.\u0020have\u0020they\u0020passed\u0020the\u0020challenge\u0029.", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_setSmsVerified" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020BuyerProvidedInfo\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024phoneNumber", + "name": "phoneNumber", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_phoneNumber" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024selectedWallet", + "name": "selectedWallet", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_selectedWallet" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024emailAddress", + "name": "emailAddress", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_emailAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024selectedTransactionCurrency", + "name": "selectedTransactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_selectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024sms", + "name": "sms", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_sms" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\BuyerProvidedInfo\u003A\u003A\u0024smsVerified", + "name": "smsVerified", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-BuyerProvidedInfo.html#property_smsVerified" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice", + "name": "Invoice", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020a\u0020minimal\u0020request\u0020Invoice\u0020object.", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetGuid\u0028\u0029", + "name": "getGuid", + "summary": "Gets\u0020guid", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetGuid\u0028\u0029", + "name": "setGuid", + "summary": "Sets\u0020guid", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020token", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020token", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPrice\u0028\u0029", + "name": "getPrice", + "summary": "Gets\u0020price", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPrice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPrice\u0028\u0029", + "name": "setPrice", + "summary": "Sets\u0020price", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPrice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPosData\u0028\u0029", + "name": "getPosData", + "summary": "Gets\u0020posData", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPosData" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPosData\u0028\u0029", + "name": "setPosData", + "summary": "Sets\u0020posData", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPosData" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetNotificationURL\u0028\u0029", + "name": "getNotificationURL", + "summary": "Gets\u0020notificationURL", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetNotificationURL\u0028\u0029", + "name": "setNotificationURL", + "summary": "Sets\u0020notificationURL", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetTransactionSpeed\u0028\u0029", + "name": "getTransactionSpeed", + "summary": "Gets\u0020transactionSpeed.", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getTransactionSpeed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetTransactionSpeed\u0028\u0029", + "name": "setTransactionSpeed", + "summary": "Sets\u0020transactionSpeed.", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setTransactionSpeed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetFullNotifications\u0028\u0029", + "name": "getFullNotifications", + "summary": "Gets\u0020fullNotifications", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getFullNotifications" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetFullNotifications\u0028\u0029", + "name": "setFullNotifications", + "summary": "Sets\u0020fullNotifications", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setFullNotifications" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetNotificationEmail\u0028\u0029", + "name": "getNotificationEmail", + "summary": "Gets\u0020NotificationEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getNotificationEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetNotificationEmail\u0028\u0029", + "name": "setNotificationEmail", + "summary": "Sets\u0020NotificationEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setNotificationEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetRedirectURL\u0028\u0029", + "name": "getRedirectURL", + "summary": "Gets\u0020RedirectURL", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getRedirectURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetRedirectURL\u0028\u0029", + "name": "setRedirectURL", + "summary": "Sets\u0020RedirectURL", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setRedirectURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetOrderId\u0028\u0029", + "name": "getOrderId", + "summary": "Gets\u0020orderId", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getOrderId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetOrderId\u0028\u0029", + "name": "setOrderId", + "summary": "Sets\u0020orderId", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setOrderId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetItemDesc\u0028\u0029", + "name": "getItemDesc", + "summary": "Gets\u0020itemDesc", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getItemDesc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetItemDesc\u0028\u0029", + "name": "setItemDesc", + "summary": "Sets\u0020itemDesc", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setItemDesc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetItemCode\u0028\u0029", + "name": "getItemCode", + "summary": "Gets\u0020itemCode", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getItemCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetItemCode\u0028\u0029", + "name": "setItemCode", + "summary": "Sets\u0020itemCode", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setItemCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPhysical\u0028\u0029", + "name": "getPhysical", + "summary": "Gets\u0020physical.", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPhysical" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPhysical\u0028\u0029", + "name": "setPhysical", + "summary": "Sets\u0020physical.", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPhysical" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPaymentCurrencies\u0028\u0029", + "name": "getPaymentCurrencies", + "summary": "Gets\u0020paymentCurrencies", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPaymentCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPaymentCurrencies\u0028\u0029", + "name": "setPaymentCurrencies", + "summary": "Sets\u0020paymentCurrencies", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPaymentCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetCloseURL\u0028\u0029", + "name": "getCloseURL", + "summary": "Gets\u0020closeURL", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getCloseURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetCloseURL\u0028\u0029", + "name": "setCloseURL", + "summary": "Gets\u0020closeURL", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setCloseURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetAutoRedirect\u0028\u0029", + "name": "getAutoRedirect", + "summary": "Gets\u0020autoRedirect", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getAutoRedirect" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetAutoRedirect\u0028\u0029", + "name": "setAutoRedirect", + "summary": "Sets\u0020autoRedirect", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setAutoRedirect" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetJsonPayProRequired\u0028\u0029", + "name": "getJsonPayProRequired", + "summary": "Gets\u0020jsonPayProRequired", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getJsonPayProRequired" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetJsonPayProRequired\u0028\u0029", + "name": "setJsonPayProRequired", + "summary": "Sets\u0020jsonPayProRequired", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setJsonPayProRequired" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBitpayIdRequired\u0028\u0029", + "name": "getBitpayIdRequired", + "summary": "Gets\u0020bitpayIdRequired", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBitpayIdRequired" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBitpayIdRequired\u0028\u0029", + "name": "setBitpayIdRequired", + "summary": "Sets\u0020bitpayIdRequired", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBitpayIdRequired" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetMerchantName\u0028\u0029", + "name": "getMerchantName", + "summary": "Gets\u0020merchantName", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getMerchantName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetMerchantName\u0028\u0029", + "name": "setMerchantName", + "summary": "Sets\u0020merchantName", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setMerchantName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetSelectedTransactionCurrency\u0028\u0029", + "name": "getSelectedTransactionCurrency", + "summary": "Gets\u0020selectedTransactionCurrency", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetSelectedTransactionCurrency\u0028\u0029", + "name": "setSelectedTransactionCurrency", + "summary": "Sets\u0020selectedTransactionCurrency", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetForcedBuyerSelectedWallet\u0028\u0029", + "name": "getForcedBuyerSelectedWallet", + "summary": "Gets\u0020forcedBuyerSelectedWallet", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getForcedBuyerSelectedWallet" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetForcedBuyerSelectedWallet\u0028\u0029", + "name": "setForcedBuyerSelectedWallet", + "summary": "Sets\u0020forcedBuyerSelectedWallet", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setForcedBuyerSelectedWallet" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetForcedBuyerSelectedTransactionCurrency\u0028\u0029", + "name": "getForcedBuyerSelectedTransactionCurrency", + "summary": "Gets\u0020forcedBuyerSelectedWallet", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getForcedBuyerSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetForcedBuyerSelectedTransactionCurrency\u0028\u0029", + "name": "setForcedBuyerSelectedTransactionCurrency", + "summary": "Sets\u0020forcedBuyerSelectedWallet", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setForcedBuyerSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetItemizedDetails\u0028\u0029", + "name": "getItemizedDetails", + "summary": "Gets\u0020itemizedDetails", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getItemizedDetails" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetItemizedDetails\u0028\u0029", + "name": "setItemizedDetails", + "summary": "Sets\u0020itemizedDetails", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setItemizedDetails" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetAcceptanceWindow\u0028\u0029", + "name": "getAcceptanceWindow", + "summary": "Gets\u0020acceptanceWindow", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getAcceptanceWindow" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetAcceptanceWindow\u0028\u0029", + "name": "setAcceptanceWindow", + "summary": "Sets\u0020acceptanceWindow", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setAcceptanceWindow" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBuyer\u0028\u0029", + "name": "getBuyer", + "summary": "Gets\u0020buyer", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBuyer" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBuyer\u0028\u0029", + "name": "setBuyer", + "summary": "Sets\u0020buyer", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBuyer" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBuyerEmail\u0028\u0029", + "name": "getBuyerEmail", + "summary": "Gets\u0020buyerEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBuyerEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBuyerEmail\u0028\u0029", + "name": "setBuyerEmail", + "summary": "Sets\u0020buyerEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBuyerEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBuyerSms\u0028\u0029", + "name": "getBuyerSms", + "summary": "Gets\u0020buyerSms", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBuyerSms" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBuyerSms\u0028\u0029", + "name": "setBuyerSms", + "summary": "Sets\u0020buyerSms", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBuyerSms" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetRefundAddresses\u0028\u0029", + "name": "getRefundAddresses", + "summary": "Gets\u0020refundAddresses", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getRefundAddresses" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetRefundAddresses\u0028\u0029", + "name": "setRefundAddresses", + "summary": "Sets\u0020refundAddresses", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setRefundAddresses" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020invoice\u0020resource\u0020id", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020invoice\u0020resource\u0020id", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetUrl\u0028\u0029", + "name": "getUrl", + "summary": "Gets\u0020url", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getUrl" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetUrl\u0028\u0029", + "name": "setUrl", + "summary": "Sets\u0020url", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setUrl" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "Gets\u0020status", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Sets\u0020status", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetLowFeeDetected\u0028\u0029", + "name": "getLowFeeDetected", + "summary": "Gets\u0020lowFeeDetected", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getLowFeeDetected" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetLowFeeDetected\u0028\u0029", + "name": "setLowFeeDetected", + "summary": "Sets\u0020lowFeeDetected", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setLowFeeDetected" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetInvoiceTime\u0028\u0029", + "name": "getInvoiceTime", + "summary": "Gets\u0020invoiceTime\u0020\u002D\u0020UNIX\u0020time\u0020of\u0020invoice\u0020creation,\u0020in\u0020milliseconds", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getInvoiceTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetInvoiceTime\u0028\u0029", + "name": "setInvoiceTime", + "summary": "Sets\u0020invoiceTime\u0020\u002D\u0020UNIX\u0020time\u0020of\u0020invoice\u0020creation,\u0020in\u0020milliseconds", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setInvoiceTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetExpirationTime\u0028\u0029", + "name": "getExpirationTime", + "summary": "Gets\u0020expirationTime\u0020\u002D\u0020UNIX\u0020time\u0020when\u0020invoice\u0020is\u0020last\u0020available\u0020to\u0020be\u0020paid,\u0020in\u0020milliseconds", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getExpirationTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetExpirationTime\u0028\u0029", + "name": "setExpirationTime", + "summary": "Sets\u0020expirationTime\u0020\u002D\u0020UNIX\u0020time\u0020when\u0020invoice\u0020is\u0020last\u0020available\u0020to\u0020be\u0020paid,\u0020in\u0020milliseconds", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setExpirationTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetCurrentTime\u0028\u0029", + "name": "getCurrentTime", + "summary": "Gets\u0020currentTime\u0020\u002D\u0020UNIX\u0020time\u0020of\u0020API\u0020call,\u0020in\u0020milliseconds", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getCurrentTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetCurrentTime\u0028\u0029", + "name": "setCurrentTime", + "summary": "Sets\u0020currentTime\u0020\u002D\u0020UNIX\u0020time\u0020of\u0020API\u0020call,\u0020in\u0020milliseconds", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setCurrentTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetTransactions\u0028\u0029", + "name": "getTransactions", + "summary": "Gets\u0020transactions", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getTransactions" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetTransactions\u0028\u0029", + "name": "setTransactions", + "summary": "Sets\u0020transactions", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setTransactions" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetExceptionStatus\u0028\u0029", + "name": "getExceptionStatus", + "summary": "Gets\u0020exceptionStatus", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getExceptionStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetExceptionStatus\u0028\u0029", + "name": "setExceptionStatus", + "summary": "Sets\u0020exceptionStatus", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setExceptionStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetTargetConfirmations\u0028\u0029", + "name": "getTargetConfirmations", + "summary": "Gets\u0020targetConfirmations", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getTargetConfirmations" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetTargetConfirmations\u0028\u0029", + "name": "setTargetConfirmations", + "summary": "Sets\u0020targetConfirmations", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setTargetConfirmations" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetRefundAddressRequestPending\u0028\u0029", + "name": "getRefundAddressRequestPending", + "summary": "Gets\u0020refundAddressRequestPending", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getRefundAddressRequestPending" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetRefundAddressRequestPending\u0028\u0029", + "name": "setRefundAddressRequestPending", + "summary": "Sets\u0020refundAddressRequestPending", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setRefundAddressRequestPending" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBuyerProvidedEmail\u0028\u0029", + "name": "getBuyerProvidedEmail", + "summary": "Gets\u0020buyerProvidedEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBuyerProvidedEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBuyerProvidedEmail\u0028\u0029", + "name": "setBuyerProvidedEmail", + "summary": "Sets\u0020buyerProvidedEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBuyerProvidedEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBuyerProvidedInfo\u0028\u0029", + "name": "getBuyerProvidedInfo", + "summary": "Gets\u0020buyerProvidedEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBuyerProvidedInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBuyerProvidedInfo\u0028\u0029", + "name": "setBuyerProvidedInfo", + "summary": "Sets\u0020buyerProvidedEmail", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBuyerProvidedInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetUniversalCodes\u0028\u0029", + "name": "getUniversalCodes", + "summary": "Gets\u0020universalCodes", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getUniversalCodes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetUniversalCodes\u0028\u0029", + "name": "setUniversalCodes", + "summary": "Sets\u0020universalCodes", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setUniversalCodes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetSupportedTransactionCurrencies\u0028\u0029", + "name": "getSupportedTransactionCurrencies", + "summary": "Gets\u0020supportedTransactionCurrencies", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getSupportedTransactionCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetSupportedTransactionCurrencies\u0028\u0029", + "name": "setSupportedTransactionCurrencies", + "summary": "Sets\u0020supportedTransactionCurrencies", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setSupportedTransactionCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPaymentTotals\u0028\u0029", + "name": "getPaymentTotals", + "summary": "Gets\u0020paymentTotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPaymentTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPaymentTotals\u0028\u0029", + "name": "setPaymentTotals", + "summary": "Sets\u0020paymentTotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPaymentTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPaymentSubtotals\u0028\u0029", + "name": "getPaymentSubtotals", + "summary": "Gets\u0020paymentSubtotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPaymentSubtotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPaymentSubtotals\u0028\u0029", + "name": "setPaymentSubtotals", + "summary": "Sets\u0020paymentSubtotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPaymentSubtotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPaymentDisplaySubTotals\u0028\u0029", + "name": "getPaymentDisplaySubTotals", + "summary": "Gets\u0020paymentDisplaySubtotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPaymentDisplaySubTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPaymentDisplaySubTotals\u0028\u0029", + "name": "setPaymentDisplaySubTotals", + "summary": "Sets\u0020paymentDisplaySubtotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPaymentDisplaySubTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPaymentDisplayTotals\u0028\u0029", + "name": "getPaymentDisplayTotals", + "summary": "Gets\u0020paymentDisplayTotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPaymentDisplayTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPaymentDisplayTotals\u0028\u0029", + "name": "setPaymentDisplayTotals", + "summary": "Sets\u0020paymentDisplayTotals", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPaymentDisplayTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetPaymentCodes\u0028\u0029", + "name": "getPaymentCodes", + "summary": "Gets\u0020paymentCodes", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getPaymentCodes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetPaymentCodes\u0028\u0029", + "name": "setPaymentCodes", + "summary": "Sets\u0020paymentCodes", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setPaymentCodes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetUnderpaidAmount\u0028\u0029", + "name": "getUnderpaidAmount", + "summary": "Gets\u0020underpaidAmount", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getUnderpaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetUnderpaidAmount\u0028\u0029", + "name": "setUnderpaidAmount", + "summary": "Sets\u0020underpaidAmount", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setUnderpaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetOverpaidAmount\u0028\u0029", + "name": "getOverpaidAmount", + "summary": "Gets\u0020overpaidAmount", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getOverpaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetOverpaidAmount\u0028\u0029", + "name": "setOverpaidAmount", + "summary": "Sets\u0020overpaidAmount", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setOverpaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetMinerFees\u0028\u0029", + "name": "getMinerFees", + "summary": "Gets\u0020minerFees", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getMinerFees" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetMinerFees\u0028\u0029", + "name": "setMinerFees", + "summary": "Sets\u0020minerFees", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setMinerFees" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetNonPayProPaymentReceived\u0028\u0029", + "name": "getNonPayProPaymentReceived", + "summary": "Gets\u0020nonPayProPaymentReceived", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getNonPayProPaymentReceived" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetNonPayProPaymentReceived\u0028\u0029", + "name": "setNonPayProPaymentReceived", + "summary": "Sets\u0020nonPayProPaymentReceived", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setNonPayProPaymentReceived" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetShopper\u0028\u0029", + "name": "getShopper", + "summary": "Gets\u0020shopper", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getShopper" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetShopper\u0028\u0029", + "name": "setShopper", + "summary": "Sets\u0020shopper", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setShopper" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetBillId\u0028\u0029", + "name": "getBillId", + "summary": "Gets\u0020billId", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getBillId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetBillId\u0028\u0029", + "name": "setBillId", + "summary": "Sets\u0020billId", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setBillId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetRefundInfo\u0028\u0029", + "name": "getRefundInfo", + "summary": "Gets\u0020refundInfo", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getRefundInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetRefundInfo\u0028\u0029", + "name": "setRefundInfo", + "summary": "Sets\u0020refundInfo", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setRefundInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetExtendedNotifications\u0028\u0029", + "name": "getExtendedNotifications", + "summary": "Gets\u0020extendedNotifications", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getExtendedNotifications" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetExtendedNotifications\u0028\u0029", + "name": "setExtendedNotifications", + "summary": "Sets\u0020extendedNotifications", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setExtendedNotifications" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetTransactionCurrency\u0028\u0029", + "name": "getTransactionCurrency", + "summary": "Gets\u0020transactionCurrency", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetTransactionCurrency\u0028\u0029", + "name": "setTransactionCurrency", + "summary": "Sets\u0020transactionCurrency", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetAmountPaid\u0028\u0029", + "name": "getAmountPaid", + "summary": "Gets\u0020amountPaid", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getAmountPaid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetAmountPaid\u0028\u0029", + "name": "setAmountPaid", + "summary": "Sets\u0020amountPaid", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setAmountPaid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetDisplayAmountPaid\u0028\u0029", + "name": "getDisplayAmountPaid", + "summary": "Gets\u0020displayAmountPaid", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getDisplayAmountPaid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetDisplayAmountPaid\u0028\u0029", + "name": "setDisplayAmountPaid", + "summary": "Sets\u0020displayAmountPaid", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setDisplayAmountPaid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetExchangeRates\u0028\u0029", + "name": "getExchangeRates", + "summary": "Gets\u0020exchangeRates", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getExchangeRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetExchangeRates\u0028\u0029", + "name": "setExchangeRates", + "summary": "Sets\u0020exchangeRates", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setExchangeRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AgetIsCancelled\u0028\u0029", + "name": "getIsCancelled", + "summary": "Gets\u0020isCancelled", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_getIsCancelled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AsetIsCancelled\u0028\u0029", + "name": "setIsCancelled", + "summary": "Sets\u0020isCancelled", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_setIsCancelled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Returns\u0020the\u0020Invoice\u0020object\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024guid", + "name": "guid", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_guid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024price", + "name": "price", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_price" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024posData", + "name": "posData", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_posData" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024notificationURL", + "name": "notificationURL", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_notificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024transactionSpeed", + "name": "transactionSpeed", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_transactionSpeed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024fullNotifications", + "name": "fullNotifications", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_fullNotifications" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024notificationEmail", + "name": "notificationEmail", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_notificationEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024redirectURL", + "name": "redirectURL", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_redirectURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024orderId", + "name": "orderId", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_orderId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024itemDesc", + "name": "itemDesc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_itemDesc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024itemCode", + "name": "itemCode", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_itemCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024physical", + "name": "physical", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_physical" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024paymentCurrencies", + "name": "paymentCurrencies", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_paymentCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024paymentSubtotals", + "name": "paymentSubtotals", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_paymentSubtotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024paymentTotals", + "name": "paymentTotals", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_paymentTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024paymentCodes", + "name": "paymentCodes", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_paymentCodes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024acceptanceWindow", + "name": "acceptanceWindow", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_acceptanceWindow" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024buyer", + "name": "buyer", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_buyer" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024refundAddresses", + "name": "refundAddresses", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_refundAddresses" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024closeURL", + "name": "closeURL", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_closeURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024autoRedirect", + "name": "autoRedirect", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_autoRedirect" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024jsonPayProRequired", + "name": "jsonPayProRequired", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_jsonPayProRequired" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024buyerEmail", + "name": "buyerEmail", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_buyerEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024buyerSms", + "name": "buyerSms", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_buyerSms" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024merchantName", + "name": "merchantName", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_merchantName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024selectedTransactionCurrency", + "name": "selectedTransactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_selectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024forcedBuyerSelectedWallet", + "name": "forcedBuyerSelectedWallet", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_forcedBuyerSelectedWallet" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024forcedBuyerSelectedTransactionCurrency", + "name": "forcedBuyerSelectedTransactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_forcedBuyerSelectedTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024itemizedDetails", + "name": "itemizedDetails", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_itemizedDetails" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024url", + "name": "url", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_url" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024lowFeeDetected", + "name": "lowFeeDetected", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_lowFeeDetected" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024invoiceTime", + "name": "invoiceTime", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_invoiceTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024expirationTime", + "name": "expirationTime", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_expirationTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024currentTime", + "name": "currentTime", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_currentTime" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024transactions", + "name": "transactions", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_transactions" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024exceptionStatus", + "name": "exceptionStatus", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_exceptionStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024targetConfirmations", + "name": "targetConfirmations", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_targetConfirmations" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024refundAddressRequestPending", + "name": "refundAddressRequestPending", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_refundAddressRequestPending" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024buyerProvidedEmail", + "name": "buyerProvidedEmail", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_buyerProvidedEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024buyerProvidedInfo", + "name": "buyerProvidedInfo", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_buyerProvidedInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024universalCodes", + "name": "universalCodes", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_universalCodes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024supportedTransactionCurrencies", + "name": "supportedTransactionCurrencies", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_supportedTransactionCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024minerFees", + "name": "minerFees", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_minerFees" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024nonPayProPaymentReceived", + "name": "nonPayProPaymentReceived", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_nonPayProPaymentReceived" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024shopper", + "name": "shopper", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_shopper" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024billId", + "name": "billId", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_billId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024refundInfo", + "name": "refundInfo", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_refundInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024extendedNotifications", + "name": "extendedNotifications", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_extendedNotifications" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024isCancelled", + "name": "isCancelled", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_isCancelled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024transactionCurrency", + "name": "transactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_transactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024underpaidAmount", + "name": "underpaidAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_underpaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024overpaidAmount", + "name": "overpaidAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_overpaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024amountPaid", + "name": "amountPaid", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_amountPaid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024displayAmountPaid", + "name": "displayAmountPaid", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_displayAmountPaid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024exchangeRates", + "name": "exchangeRates", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_exchangeRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024bitpayIdRequired", + "name": "bitpayIdRequired", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_bitpayIdRequired" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024paymentDisplayTotals", + "name": "paymentDisplayTotals", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_paymentDisplayTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Invoice\u003A\u003A\u0024paymentDisplaySubTotals", + "name": "paymentDisplaySubTotals", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Invoice.html#property_paymentDisplaySubTotals" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus", + "name": "InvoiceStatus", + "summary": "The\u0020type\u0020Invoice\u0020status.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus\u003A\u003ANEW", + "name": "NEW", + "summary": "An\u0020invoice\u0020starts\u0020in\u0020this\u0020state.\u0020When\u0020in\u0020this\u0020state\u0020and\u0020only\u0020in\u0020this\u0020state,\u0020payments\u0020broadcasted\u0020by\u0020purchasers\nbe\u0020applied\u0020to\u0020the\u0020invoice\u0020\u0028there\u0020is\u0020a\u002015\u0020minute\u0020window\u0020for\u0020the\u0020purchaser\u0020to\u0020send\u0020a\u0020payment\u0020from\ntheir\u0020crypto\u0020wallet\u0029.\u0020If\u0020an\u0020invoice\u0020has\u0020received\u0020a\u0020partial\u0020payment,\nit\u0020will\u0020still\u0020reflect\u0020a\u0020status\u0020of\u0020new\u0020to\u0020the\u0020merchant.\u0020From\u0020a\u0020merchant\u0020system\u0020perspective,\nan\u0020invoice\u0020is\u0020either\u0020paid\u0020or\u0020not\u0020paid,\u0020partial\u0020payments\u0020are\u0020automatically\u0020refunded\u0020by\u0020BitPay\u0020to\u0020the\u0020consumer.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html#constant_NEW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus\u003A\u003APAID", + "name": "PAID", + "summary": "As\u0020soon\u0020as\u0020payment\u0020is\u0020received\u0020it\u0020is\u0020evaluated\u0020against\u0020the\u0020invoice\u0020requested\u0020amount.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html#constant_PAID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus\u003A\u003ACONFIRMED", + "name": "CONFIRMED", + "summary": "This\u0020status\u0020can\u0020be\u0020used\u0020by\u0020merchants\u0020in\u0020order\u0020to\u0020fulfill\u0020orders\u0020placed\u0020by\u0020the\u0020consumer.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html#constant_CONFIRMED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus\u003A\u003ACOMPLETE", + "name": "COMPLETE", + "summary": "When\u0020an\u0020invoice\u0020has\u0020the\u0020status\u0020complete,\u0020it\u0020means\u0020that\u0020BitPay\u0020has\u0020credited\u0020the\u0020merchant\u0020account,\nin\u0020the\u0020currency\u0020indicated\u0020in\u0020the\u0020settlement\u0020settings.\u0020For\u0020instance,\u0020with\u0020invoices\u0020paid\u0020in\u0020Bitcoin\u0020\u0028BTC\u0029,\n6\u0020confirmation\u0020blocks\u0020on\u0020the\u0020bitcoin\u0020network\u0020are\u0020required\u0020for\u0020an\u0020invoice\u0020to\u0020be\u0020complete,\nthis\u0020takes\u0020on\u0020average\u00201\u0020hour.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html#constant_COMPLETE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus\u003A\u003AEXPIRED", + "name": "EXPIRED", + "summary": "An\u0020invoice\u0020reaches\u0020the\u0020expired\u0020status\u0020if\u0020no\u0020payment\u0020was\u0020received\u0020and\u0020the\u002015\u0020minute\u0020payment\u0020window\u0020has\u0020elapsed.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html#constant_EXPIRED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\InvoiceStatus\u003A\u003AINVALID", + "name": "INVALID", + "summary": "An\u0020invoice\u0020is\u0020considered\u0020invalid\u0020when\u0020it\u0020was\u0020paid,\nbut\u0020the\u0020corresponding\u0020cryptocurrency\u0020transaction\u0020was\u0020not\u0020confirmed\u0020within\u00201\u0020hour\u0020on\u0020the\u0020corresponding\u0020blockchain.", + "url": "classes/BitPaySDK-Model-Invoice-InvoiceStatus.html#constant_INVALID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails", + "name": "ItemizedDetails", + "summary": "Class\u0020ItemizedDetails", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020The\u0020amount\u0020of\u0020currency.", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020The\u0020amount\u0020of\u0020currency.", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AgetDescription\u0028\u0029", + "name": "getDescription", + "summary": "Gets\u0020description", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_getDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AsetDescription\u0028\u0029", + "name": "setDescription", + "summary": "Sets\u0020string\u0020for\u0020the\u0020item.", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_setDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AgetIsFee\u0028\u0029", + "name": "getIsFee", + "summary": "Gets\u0020is\u0020fee", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_getIsFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AsetIsFee\u0028\u0029", + "name": "setIsFee", + "summary": "Sets\u0020is\u0020fee", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_setIsFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Item\u0020details\u0020data\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#property_description" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\ItemizedDetails\u003A\u003A\u0024isFee", + "name": "isFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-ItemizedDetails.html#property_isFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees", + "name": "MinerFees", + "summary": "The\u0020total\u0020amount\u0020of\u0020fees\u0020that\u0020the\u0020purchaser\u0020will\u0020pay\u0020to\u0020cover\u0020BitPay\u0027s\u0020UTXO\u0020sweep\u0020cost\u0020for\u0020an\u0020invoice.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "MinerFees\u0020constructor.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetBTC\u0028\u0029", + "name": "getBTC", + "summary": "Gets\u0020BTC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetBTC\u0028\u0029", + "name": "setBTC", + "summary": "Sets\u0020BTC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetBCH\u0028\u0029", + "name": "getBCH", + "summary": "Gets\u0020BCH.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getBCH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetBCH\u0028\u0029", + "name": "setBCH", + "summary": "Sets\u0020BCH.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setBCH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetETH\u0028\u0029", + "name": "getETH", + "summary": "Gets\u0020ETH.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getETH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetETH\u0028\u0029", + "name": "setETH", + "summary": "Sets\u0020ETH.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setETH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetUSDC\u0028\u0029", + "name": "getUSDC", + "summary": "Gets\u0020USDC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getUSDC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetUSDC\u0028\u0029", + "name": "setUSDC", + "summary": "Sets\u0020USDC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setUSDC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetGUSD\u0028\u0029", + "name": "getGUSD", + "summary": "Gets\u0020GUSD.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getGUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetGUSD\u0028\u0029", + "name": "setGUSD", + "summary": "Sets\u0020GUSD.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setGUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetPAX\u0028\u0029", + "name": "getPAX", + "summary": "Gets\u0020PAX.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getPAX" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetPAX\u0028\u0029", + "name": "setPAX", + "summary": "Sets\u0020PAX.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setPAX" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetBUSD\u0028\u0029", + "name": "getBUSD", + "summary": "Gets\u0020BUSD.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getBUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetBUSD\u0028\u0029", + "name": "setBUSD", + "summary": "Sets\u0020BUSD.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setBUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetXRP\u0028\u0029", + "name": "getXRP", + "summary": "Gets\u0020XRP.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getXRP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetXRP\u0028\u0029", + "name": "setXRP", + "summary": "Sets\u0020XRP.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setXRP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetDOGE\u0028\u0029", + "name": "getDOGE", + "summary": "Gets\u0020DOGE.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getDOGE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetDOGE\u0028\u0029", + "name": "setDOGE", + "summary": "Sets\u0020DOGE.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setDOGE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetLTC\u0028\u0029", + "name": "getLTC", + "summary": "Gets\u0020LTC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getLTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetLTC\u0028\u0029", + "name": "setLTC", + "summary": "Sets\u0020LTC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setLTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetDAI\u0028\u0029", + "name": "getDAI", + "summary": "Gets\u0020DAI.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getDAI" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetDAI\u0028\u0029", + "name": "setDAI", + "summary": "Sets\u0020DAI.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setDAI" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AgetWBTC\u0028\u0029", + "name": "getWBTC", + "summary": "Gets\u0020WBTC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_getWBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AsetWBTC\u0028\u0029", + "name": "setWBTC", + "summary": "Sets\u0020WBTC.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_setWBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020array\u0020with\u0020details\u0020for\u0020currencies.", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024btc", + "name": "btc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_btc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024bch", + "name": "bch", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_bch" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024eth", + "name": "eth", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_eth" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024usdc", + "name": "usdc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_usdc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024gusd", + "name": "gusd", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_gusd" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024pax", + "name": "pax", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_pax" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024busd", + "name": "busd", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_busd" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024xrp", + "name": "xrp", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_xrp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024doge", + "name": "doge", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_doge" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024ltc", + "name": "ltc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_ltc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024dai", + "name": "dai", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_dai" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFees\u003A\u003A\u0024wbtc", + "name": "wbtc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFees.html#property_wbtc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem", + "name": "MinerFeesItem", + "summary": "Class\u0020MinerFeesItem", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AgetSatoshisPerByte\u0028\u0029", + "name": "getSatoshisPerByte", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_getSatoshisPerByte" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AsetSatoshisPerByte\u0028\u0029", + "name": "setSatoshisPerByte", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_setSatoshisPerByte" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AgetTotalFee\u0028\u0029", + "name": "getTotalFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_getTotalFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AsetTotalFee\u0028\u0029", + "name": "setTotalFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_setTotalFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AgetFiatAmount\u0028\u0029", + "name": "getFiatAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_getFiatAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AsetFiatAmount\u0028\u0029", + "name": "setFiatAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_setFiatAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003A\u0024satoshisPerByte", + "name": "satoshisPerByte", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#property_satoshisPerByte" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003A\u0024totalFee", + "name": "totalFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#property_totalFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\MinerFeesItem\u003A\u003A\u0024fiatAmount", + "name": "fiatAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-MinerFeesItem.html#property_fiatAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund", + "name": "Refund", + "summary": "Class\u0020Refund", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020Refund\u0020object", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetGuid\u0028\u0029", + "name": "getGuid", + "summary": "Gets\u0020a\u0020passthru\u0020variable\u0020provided\u0020by\u0020the\u0020merchant\u0020and\u0020designed\u0020to\u0020be\u0020used\u0020by\u0020the\u0020merchant\u0020to\u0020correlate\nthe\u0020invoice\u0020with\u0020an\u0020order\u0020ID\u0020in\u0020their\u0020system", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetGuid\u0028\u0029", + "name": "setGuid", + "summary": "Sets\u0020guid", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetReference\u0028\u0029", + "name": "getReference", + "summary": "Present\u0020only\u0020if\u0020specified\u0020in\u0020the\u0020request\u0020to\u0020create\u0020the\u0020refund.\u0020This\u0020is\u0020your\u0020reference\u0020label\u0020for\u0020this\u0020refund.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getReference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetReference\u0028\u0029", + "name": "setReference", + "summary": "Sets\u0020reference\u0020label\u0020for\u0020refund", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setReference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020amount\u0020to\u0020be\u0020refunded\u0020in\u0020the\u0020invoice\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020amount\u0020to\u0020be\u0020refunded", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020API\u0020token", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020API\u0020token", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020reference\u0020currency\u0020used\u0020for\u0020the\u0020refund,\u0020the\u0020same\u0020as\u0020the\u0020currency\u0020used\u0020to\u0020create\u0020the\u0020invoice", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020currency\u0020used\u0020for\u0020the\u0020refund", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetPreview\u0028\u0029", + "name": "getPreview", + "summary": "Whether\u0020to\u0020create\u0020the\u0020refund\u0020request\u0020as\u0020a\u0020preview", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getPreview" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetPreview\u0028\u0029", + "name": "setPreview", + "summary": "Sets\u0020preview", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setPreview" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetInvoiceId\u0028\u0029", + "name": "getInvoiceId", + "summary": "Gets\u0020the\u0020ID\u0020of\u0020the\u0020invoice\u0020to\u0020refund", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getInvoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetInvoiceId\u0028\u0029", + "name": "setInvoiceId", + "summary": "Sets\u0020invoice\u0020id", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setInvoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020the\u0020ID\u0020of\u0020the\u0020refund", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020id\u0020of\u0020the\u0020refund", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetRequestDate\u0028\u0029", + "name": "getRequestDate", + "summary": "Gets\u0020the\u0020date\u0020the\u0020refund\u0020was\u0020requested", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getRequestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetRequestDate\u0028\u0029", + "name": "setRequestDate", + "summary": "Sets\u0020request\u0020date", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setRequestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "Gets\u0020the\u0020refund\u0020lifecycle\u0020status\u0020of\u0020the\u0020request", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Sets\u0020refund\u0020status", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetImmediate\u0028\u0029", + "name": "getImmediate", + "summary": "Gets\u0020whether\u0020the\u0020funds\u0020should\u0020be\u0020removed\u0020from\u0020merchant\u0020ledger\u0020immediately\non\u0020submission\u0020or\u0020at\u0020the\u0020time\u0020of\u0020processing", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getImmediate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetImmediate\u0028\u0029", + "name": "setImmediate", + "summary": "Sets\u0020immediate\u0020value", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setImmediate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetRefundFee\u0028\u0029", + "name": "getRefundFee", + "summary": "Gets\u0020the\u0020amount\u0020of\u0020refund\u0020fee\u0020expressed\u0020in\u0020terms\u0020of\u0020pricing\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetRefundFee\u0028\u0029", + "name": "setRefundFee", + "summary": "Sets\u0020amount\u0020of\u0020the\u0020refund\u0020fee", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetLastRefundNotification\u0028\u0029", + "name": "getLastRefundNotification", + "summary": "Gets\u0020the\u0020last\u0020time\u0020notification\u0020of\u0020buyer\u0020was\u0020attempted", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getLastRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetLastRefundNotification\u0028\u0029", + "name": "setLastRefundNotification", + "summary": "Sets\u0020last\u0020refund\u0020notification", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setLastRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetInvoice\u0028\u0029", + "name": "getInvoice", + "summary": "Gets\u0020the\u0020ID\u0020of\u0020the\u0020invoice\u0020being\u0020refunded", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getInvoice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetInvoice\u0028\u0029", + "name": "setInvoice", + "summary": "Sets\u0020the\u0020id\u0020of\u0020the\u0020invoice\u0020being\u0020refunded", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setInvoice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetBuyerPaysRefundFee\u0028\u0029", + "name": "getBuyerPaysRefundFee", + "summary": "Gets\u0020whether\u0020the\u0020buyer\u0020should\u0020pay\u0020the\u0020refund\u0020fee\u0020rather\nthan\u0020the\u0020merchant", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getBuyerPaysRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetBuyerPaysRefundFee\u0028\u0029", + "name": "setBuyerPaysRefundFee", + "summary": "Sets\u0020whether\u0020the\u0020buyer\u0020should\u0020pay\u0020the\u0020refund\u0020fee\u0020rather", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setBuyerPaysRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetNotificationURL\u0028\u0029", + "name": "getNotificationURL", + "summary": "Gets\u0020URL\u0020to\u0020which\u0020BitPay\u0020sends\u0020webhook\u0020notifications.\u0020HTTPS\u0020is\u0020mandatory.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetNotificationURL\u0028\u0029", + "name": "setNotificationURL", + "summary": "Sets\u0020URL\u0020to\u0020which\u0020BitPay\u0020sends\u0020webhook\u0020notifications.\u0020HTTPS\u0020is\u0020mandatory.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetRefundAddress\u0028\u0029", + "name": "getRefundAddress", + "summary": "Gets\u0020the\u0020wallet\u0020address\u0020that\u0020the\u0020refund\u0020will\u0020return\u0020the\u0020funds\u0020to,\u0020added\u0020by\u0020the\u0020customer.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getRefundAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetRefundAddress\u0028\u0029", + "name": "setRefundAddress", + "summary": "Sets\u0020the\u0020wallet\u0020address\u0020that\u0020the\u0020refund\u0020will\u0020return\u0020the\u0020funds\u0020to,\u0020added\u0020by\u0020the\u0020customer.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setRefundAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetSupportRequest\u0028\u0029", + "name": "getSupportRequest", + "summary": "Gets\u0020the\u0020ID\u0020of\u0020the\u0020associated\u0020support\u0020request\u0020for\u0020the\u0020refund.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetSupportRequest\u0028\u0029", + "name": "setSupportRequest", + "summary": "Sets\u0020the\u0020ID\u0020of\u0020the\u0020associated\u0020support\u0020request\u0020for\u0020the\u0020refund.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetTransactionAmount\u0028\u0029", + "name": "getTransactionAmount", + "summary": "Gets\u0020amount\u0020to\u0020be\u0020refunded\u0020in\u0020terms\u0020of\u0020the\u0020transaction\u0020currency.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getTransactionAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetTransactionAmount\u0028\u0029", + "name": "setTransactionAmount", + "summary": "Sets\u0020amount\u0020to\u0020be\u0020refunded\u0020in\u0020terms\u0020of\u0020the\u0020transaction\u0020currency.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setTransactionAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetTransactionCurrency\u0028\u0029", + "name": "getTransactionCurrency", + "summary": "Gets\u0020the\u0020currency\u0020used\u0020for\u0020the\u0020invoice\u0020transaction.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetTransactionCurrency\u0028\u0029", + "name": "setTransactionCurrency", + "summary": "Sets\u0020the\u0020currency\u0020used\u0020for\u0020the\u0020invoice\u0020transaction.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetTransactionRefundFee\u0028\u0029", + "name": "getTransactionRefundFee", + "summary": "Gets\u0020the\u0020refund\u0020fee\u0020expressed\u0020in\u0020terms\u0020of\u0020transaction\u0020currency.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getTransactionRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetTransactionRefundFee\u0028\u0029", + "name": "setTransactionRefundFee", + "summary": "Sets\u0020the\u0020refund\u0020fee\u0020expressed\u0020in\u0020terms\u0020of\u0020transaction\u0020currency.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setTransactionRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetTxid\u0028\u0029", + "name": "getTxid", + "summary": "Gets\u0020the\u0020transaction\u0020ID\u0020of\u0020the\u0020refund\u0020once\u0020executed.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getTxid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetTxid\u0028\u0029", + "name": "setTxid", + "summary": "Sets\u0020the\u0020transaction\u0020ID\u0020of\u0020the\u0020refund\u0020once\u0020executed.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setTxid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AgetType\u0028\u0029", + "name": "getType", + "summary": "\u003Cp\u003EGets\u0020the\u0020type\u0020of\u0020refund.\u003C\/p\u003E\n\u003Cul\u003E\n\u0020\u0020\u0020\u003Cli\u003Efull\u0020\u0028current\u0020rate\u0029\u003A\u0020A\u0020full\u0020refund\u0020of\u0020the\u0020amount\u0020paid\u0020at\u0020the\u0020current\u0020rate.\u003C\/li\u003E\n\u0020\u0020\u0020\u003Cli\u003Efull\u0020\u0028fixed\u0020rate\u0029\u003A\u0020A\u0020full\u0020refund\u0020of\u0020the\u0020amount\u0020paid\u0020at\u0020the\u0020fixed\u0020rate.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_getType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "\u003Cp\u003ESets\u0020the\u0020type\u0020of\u0020refund.\u003C\/p\u003E\n\u003Cul\u003E\n\u0020\u0020\u0020\u003Cli\u003Efull\u0020\u0028current\u0020rate\u0029\u003A\u0020A\u0020full\u0020refund\u0020of\u0020the\u0020amount\u0020paid\u0020at\u0020the\u0020current\u0020rate.\u003C\/li\u003E\n\u0020\u0020\u0020\u003Cli\u003Efull\u0020\u0028fixed\u0020rate\u0029\u003A\u0020A\u0020full\u0020refund\u0020of\u0020the\u0020amount\u0020paid\u0020at\u0020the\u0020fixed\u0020rate.", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_setType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020Refund\u0020values\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024guid", + "name": "guid", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_guid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024requestDate", + "name": "requestDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_requestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024invoiceId", + "name": "invoiceId", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_invoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024preview", + "name": "preview", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_preview" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024immediate", + "name": "immediate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_immediate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024buyerPaysRefundFee", + "name": "buyerPaysRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_buyerPaysRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024refundFee", + "name": "refundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_refundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024reference", + "name": "reference", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_reference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024lastRefundNotification", + "name": "lastRefundNotification", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_lastRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024invoice", + "name": "invoice", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_invoice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024notificationURL", + "name": "notificationURL", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_notificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024refundAddress", + "name": "refundAddress", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_refundAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024supportRequest", + "name": "supportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_supportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024transactionAmount", + "name": "transactionAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_transactionAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024transactionCurrency", + "name": "transactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_transactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024transactionRefundFee", + "name": "transactionRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_transactionRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024txid", + "name": "txid", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_txid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Refund\u003A\u003A\u0024type", + "name": "type", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Refund.html#property_type" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo", + "name": "RefundInfo", + "summary": "For\u0020a\u0020refunded\u0020invoice,\u0020this\u0020object\u0020will\u0020contain\u0020the\u0020details\u0020of\u0020executed\u0020refunds\u0020for\u0020the\u0020corresponding\u0020invoice.", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AgetSupportRequest\u0028\u0029", + "name": "getSupportRequest", + "summary": "Gets\u0020support\u0020request", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_getSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AsetSupportRequest\u0028\u0029", + "name": "setSupportRequest", + "summary": "Sets\u0020support\u0020request", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_setSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020currency", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AgetAmounts\u0028\u0029", + "name": "getAmounts", + "summary": "Gets\u0020amounts", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_getAmounts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AsetAmounts\u0028\u0029", + "name": "setAmounts", + "summary": "Set\u0020amounts", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_setAmounts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Refund\u0020info\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003A\u0024supportRequest", + "name": "supportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#property_supportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundInfo\u003A\u003A\u0024amounts", + "name": "amounts", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundInfo.html#property_amounts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus", + "name": "RefundStatus", + "summary": "Refund\u0020status\u0020list", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus\u003A\u003APREVIEW", + "name": "PREVIEW", + "summary": "No\u0020funds\u0020deducted,\u0020refund\u0020will\u0020not\u0020proceed\u0020automatically", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html#constant_PREVIEW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus\u003A\u003ACREATED", + "name": "CREATED", + "summary": "Funds\u0020deducted\/allocated\u0020if\u0020immediate,\u0020will\u0020proceed\u0020when\u0020transactions\u0020are\u0020confirmed\nand\u0020the\u0020required\u0020data\u0020is\u0020collected", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html#constant_CREATED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus\u003A\u003ACANCELLED", + "name": "CANCELLED", + "summary": "Refund\u0020was\u0020canceled\u0020by\u0020merchant\u0020action.\u0020Immediate\u0020refunds\u0020cannot\u0020be\u0020canceled\u0020outside\u0020of\u0020preview\u0020state", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html#constant_CANCELLED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus\u003A\u003APENDING", + "name": "PENDING", + "summary": "Refund\u0020is\u0020in\u0020process\u0020of\u0020being\u0020fulfilled", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html#constant_PENDING" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus\u003A\u003ASUCCESS", + "name": "SUCCESS", + "summary": "Refund\u0020was\u0020successfully\u0020processed", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html#constant_SUCCESS" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundStatus\u003A\u003AFAILURE", + "name": "FAILURE", + "summary": "Refund\u0020failed\u0020during\u0020processing\u0020\u0028this\u0020is\u0020really\u0020more\u0020of\u0020an\u0020internal\u0020state\u0029", + "url": "classes/BitPaySDK-Model-Invoice-RefundStatus.html#constant_FAILURE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook", + "name": "RefundWebhook", + "summary": "Class\u0020RefundWebhook", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetInvoice\u0028\u0029", + "name": "getInvoice", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getInvoice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetInvoice\u0028\u0029", + "name": "setInvoice", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setInvoice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetSupportRequest\u0028\u0029", + "name": "getSupportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetSupportRequest\u0028\u0029", + "name": "setSupportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetLastRefundNotification\u0028\u0029", + "name": "getLastRefundNotification", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getLastRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetLastRefundNotification\u0028\u0029", + "name": "setLastRefundNotification", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setLastRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetRefundFee\u0028\u0029", + "name": "getRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetRefundFee\u0028\u0029", + "name": "setRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetImmediate\u0028\u0029", + "name": "getImmediate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getImmediate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetImmediate\u0028\u0029", + "name": "setImmediate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setImmediate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetBuyerPaysRefundFee\u0028\u0029", + "name": "getBuyerPaysRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getBuyerPaysRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetBuyerPaysRefundFee\u0028\u0029", + "name": "setBuyerPaysRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setBuyerPaysRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AgetRequestDate\u0028\u0029", + "name": "getRequestDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_getRequestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AsetRequestDate\u0028\u0029", + "name": "setRequestDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_setRequestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024invoice", + "name": "invoice", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_invoice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024supportRequest", + "name": "supportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_supportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024lastRefundNotification", + "name": "lastRefundNotification", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_lastRefundNotification" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024refundFee", + "name": "refundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_refundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024immediate", + "name": "immediate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_immediate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024buyerPaysRefundFee", + "name": "buyerPaysRefundFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_buyerPaysRefundFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\RefundWebhook\u003A\u003A\u0024requestDate", + "name": "requestDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-RefundWebhook.html#property_requestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Shopper", + "name": "Shopper", + "summary": "This\u0020object\u0020will\u0020be\u0020available\u0020on\u0020the\u0020invoice\u0020if\u0020a\u0020shopper\u0020signs\u0020in\u0020on\u0020an\u0020invoice\u0020using\u0020his\u0020BitPay\u0020ID.", + "url": "classes/BitPaySDK-Model-Invoice-Shopper.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Shopper\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Shopper.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Shopper\u003A\u003AgetUser\u0028\u0029", + "name": "getUser", + "summary": "Gets\u0020user", + "url": "classes/BitPaySDK-Model-Invoice-Shopper.html#method_getUser" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Shopper\u003A\u003AsetUser\u0028\u0029", + "name": "setUser", + "summary": "Sets\u0020user", + "url": "classes/BitPaySDK-Model-Invoice-Shopper.html#method_setUser" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Shopper\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Shopper\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-Shopper.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\Shopper\u003A\u003A\u0024user", + "name": "user", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-Shopper.html#property_user" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies", + "name": "SupportedTransactionCurrencies", + "summary": "Class\u0020SupportedTransactionCurrencies.\u0020The\u0020currencies\u0020that\u0020may\u0020be\u0020used\u0020to\u0020pay\u0020this\u0020invoice.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "SupportedTransactionCurrencies\u0020constructor.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetBTC\u0028\u0029", + "name": "getBTC", + "summary": "Gets\u0020BTC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetBTC\u0028\u0029", + "name": "setBTC", + "summary": "Sets\u0020BTC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetBCH\u0028\u0029", + "name": "getBCH", + "summary": "Gets\u0020BCH.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getBCH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetBCH\u0028\u0029", + "name": "setBCH", + "summary": "Sets\u0020BCH.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setBCH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetETH\u0028\u0029", + "name": "getETH", + "summary": "Gets\u0020ETH.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getETH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetETH\u0028\u0029", + "name": "setETH", + "summary": "Sets\u0020ETH.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setETH" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetUSDC\u0028\u0029", + "name": "getUSDC", + "summary": "Gets\u0020USDC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getUSDC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetUSDC\u0028\u0029", + "name": "setUSDC", + "summary": "Sets\u0020USDC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setUSDC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetGUSD\u0028\u0029", + "name": "getGUSD", + "summary": "Gets\u0020GUSD.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getGUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetGUSD\u0028\u0029", + "name": "setGUSD", + "summary": "Sets\u0020GUSD.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setGUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetPAX\u0028\u0029", + "name": "getPAX", + "summary": "Gets\u0020PAX.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getPAX" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetPAX\u0028\u0029", + "name": "setPAX", + "summary": "Sets\u0020PAX.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setPAX" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetXRP\u0028\u0029", + "name": "getXRP", + "summary": "Gets\u0020XRP.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getXRP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetXRP\u0028\u0029", + "name": "setXRP", + "summary": "Sets\u0020XRP.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setXRP" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetBUSD\u0028\u0029", + "name": "getBUSD", + "summary": "Gets\u0020BUSD.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getBUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetBUSD\u0028\u0029", + "name": "setBUSD", + "summary": "Sets\u0020BUSD.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setBUSD" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetDOGE\u0028\u0029", + "name": "getDOGE", + "summary": "Gets\u0020DOGE.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getDOGE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetDOGE\u0028\u0029", + "name": "setDOGE", + "summary": "Sets\u0020DOGE.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setDOGE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetLTC\u0028\u0029", + "name": "getLTC", + "summary": "Gets\u0020LTC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getLTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetLTC\u0028\u0029", + "name": "setLTC", + "summary": "Sets\u0020LTC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setLTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AgetWBTC\u0028\u0029", + "name": "getWBTC", + "summary": "Gets\u0020WBTC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_getWBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AsetWBTC\u0028\u0029", + "name": "setWBTC", + "summary": "Sets\u0020WBTC.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_setWBTC" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020array\u0020with\u0020details\u0020for\u0020currencies.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024btc", + "name": "btc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_btc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024bch", + "name": "bch", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_bch" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024eth", + "name": "eth", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_eth" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024usdc", + "name": "usdc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_usdc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024gusd", + "name": "gusd", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_gusd" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024pax", + "name": "pax", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_pax" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024xrp", + "name": "xrp", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_xrp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024busd", + "name": "busd", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_busd" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024doge", + "name": "doge", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_doge" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024ltc", + "name": "ltc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_ltc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrencies\u003A\u003A\u0024wbtc", + "name": "wbtc", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html#property_wbtc" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency", + "name": "SupportedTransactionCurrency", + "summary": "Class\u0020SupportedTransactionCurrency\nThe\u0020currency\u0020that\u0020may\u0020be\u0020used\u0020to\u0020pay\u0020this\u0020invoice.\u0020The\u0020values\u0020are\u0020objects\u0020with\u0020an\u0020\u0022enabled\u0022\u0020boolean\u0020and\u0020option.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "SupportedTransactionCurrency\u0020constructor.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003AsetEnabled\u0028\u0029", + "name": "setEnabled", + "summary": "Gets\u0020enabled.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#method_setEnabled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003AgetEnabled\u0028\u0029", + "name": "getEnabled", + "summary": "Sets\u0020enabled.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#method_getEnabled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003AsetReason\u0028\u0029", + "name": "setReason", + "summary": "Gets\u0020reason.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#method_setReason" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003AgetReason\u0028\u0029", + "name": "getReason", + "summary": "Sets\u0020reason.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#method_getReason" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020array\u0020with\u0020enabled\u0020and\u0020reason\u0020value.", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003A\u0024enabled", + "name": "enabled", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#property_enabled" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\SupportedTransactionCurrency\u003A\u003A\u0024reason", + "name": "reason", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html#property_reason" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes", + "name": "UniversalCodes", + "summary": "Object\u0020containing\u0020wallet\u002Dspecific\u0020URLs\u0020for\u0020payment\u0020protocol.", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003AgetPaymentString\u0028\u0029", + "name": "getPaymentString", + "summary": "Gets\u0020payment\u0020string", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#method_getPaymentString" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003AsetPaymentString\u0028\u0029", + "name": "setPaymentString", + "summary": "Sets\u0020payment\u0020string", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#method_setPaymentString" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003AgetVerificationLink\u0028\u0029", + "name": "getVerificationLink", + "summary": "Gets\u0020verification\u0020link", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#method_getVerificationLink" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003AsetVerificationLink\u0028\u0029", + "name": "setVerificationLink", + "summary": "Sets\u0020verification\u0020link", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#method_setVerificationLink" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Universal\u0020codes\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003A\u0024paymentString", + "name": "paymentString", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#property_paymentString" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice\\UniversalCodes\u003A\u003A\u0024verificationLink", + "name": "verificationLink", + "summary": "", + "url": "classes/BitPaySDK-Model-Invoice-UniversalCodes.html#property_verificationLink" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer", + "name": "Buyer", + "summary": "Class\u0020Buyer", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020name", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020name", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetAddress1\u0028\u0029", + "name": "getAddress1", + "summary": "Gets\u0020address\u00201", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getAddress1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetAddress1\u0028\u0029", + "name": "setAddress1", + "summary": "Sets\u0020address1", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setAddress1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetAddress2\u0028\u0029", + "name": "getAddress2", + "summary": "Gets\u0020address2", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetAddress2\u0028\u0029", + "name": "setAddress2", + "summary": "Sets\u0020address2", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetCity\u0028\u0029", + "name": "getCity", + "summary": "Gets\u0020city", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetCity\u0028\u0029", + "name": "setCity", + "summary": "Sets\u0020city", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetState\u0028\u0029", + "name": "getState", + "summary": "Gets\u0020state", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getState" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetState\u0028\u0029", + "name": "setState", + "summary": "Sets\u0020state", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setState" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetZip\u0028\u0029", + "name": "getZip", + "summary": "Gets\u0020zip", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getZip" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetZip\u0028\u0029", + "name": "setZip", + "summary": "Sets\u0020zip", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setZip" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetCountry\u0028\u0029", + "name": "getCountry", + "summary": "Gets\u0020country", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetCountry\u0028\u0029", + "name": "setCountry", + "summary": "Sets\u0020country", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetEmail\u0028\u0029", + "name": "getEmail", + "summary": "Gets\u0020email", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetEmail\u0028\u0029", + "name": "setEmail", + "summary": "Sets\u0020email", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetPhone\u0028\u0029", + "name": "getPhone", + "summary": "Gets\u0020phone", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getPhone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetPhone\u0028\u0029", + "name": "setPhone", + "summary": "Sets\u0020phone", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setPhone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AgetNotify\u0028\u0029", + "name": "getNotify", + "summary": "Gets\u0020notify", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_getNotify" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AsetNotify\u0028\u0029", + "name": "setNotify", + "summary": "Sets\u0020notify", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_setNotify" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Buyer\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024address1", + "name": "address1", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_address1" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024address2", + "name": "address2", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_address2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024city", + "name": "city", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_city" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024state", + "name": "state", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_state" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024zip", + "name": "zip", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_zip" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024country", + "name": "country", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_country" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024phone", + "name": "phone", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_phone" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024notify", + "name": "notify", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_notify" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Buyer\u003A\u003A\u0024email", + "name": "email", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Buyer.html#property_email" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger", + "name": "Ledger", + "summary": "Class\u0020Ledger", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020Ledger\u0020currency", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020Ledger\u0020currency", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003AgetBalance\u0028\u0029", + "name": "getBalance", + "summary": "Gets\u0020Ledger\u0020balance\u0020in\u0020the\u0020corresponding\u0020currency", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#method_getBalance" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003AsetBalance\u0028\u0029", + "name": "setBalance", + "summary": "Sets\u0020Ledger\u0020balance\u0020in\u0020the\u0020corresponding\u0020currency", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#method_setBalance" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Ledger\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\Ledger\u003A\u003A\u0024balance", + "name": "balance", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-Ledger.html#property_balance" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry", + "name": "LedgerEntry", + "summary": "Class\u0020LedgerEntry", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetType\u0028\u0029", + "name": "getType", + "summary": "Gets\u0020type", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "Sets\u0020type", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020Ledger\u0020entry\u0020amount,\u0020relative\u0020to\u0020the\u0020scale.", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020Ledger\u0020entry\u0020amount,\u0020relative\u0020to\u0020the\u0020scale.", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "Gets\u0020code", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020code", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetTimestamp\u0028\u0029", + "name": "getTimestamp", + "summary": "Gets\u0020Date\u0020and\u0020time\u0020of\u0020the\u0020ledger\u0020entry\u0020\u0028UTC\u0029.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getTimestamp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetTimestamp\u0028\u0029", + "name": "setTimestamp", + "summary": "Sets\u0020Date\u0020and\u0020time\u0020of\u0020the\u0020ledger\u0020entry\u0020\u0028UTC\u0029.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setTimestamp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020Ledger\u0020entry\u0020currency\u0020for\u0020the\u0020corresponding\u0020amount", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020Ledger\u0020entry\u0020currency\u0020for\u0020the\u0020corresponding\u0020amount", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetTxType\u0028\u0029", + "name": "getTxType", + "summary": "Gets\u0020tx\u0020type", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getTxType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetTxType\u0028\u0029", + "name": "setTxType", + "summary": "Sets\u0020tx\u0020type", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setTxType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetScale\u0028\u0029", + "name": "getScale", + "summary": "Gets\u0020scale", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getScale" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetScale\u0028\u0029", + "name": "setScale", + "summary": "Sets\u0020scale", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setScale" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020Ledger\u0020resource\u0020Id", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020Ledger\u0020resource\u0020Id", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetSupportRequest\u0028\u0029", + "name": "getSupportRequest", + "summary": "Gets\u0020The\u0020refund\u0020requestId", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetSupportRequest\u0028\u0029", + "name": "setSupportRequest", + "summary": "Sets\u0020The\u0020refund\u0020requestId", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetDescription\u0028\u0029", + "name": "getDescription", + "summary": "Gets\u0020description", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetDescription\u0028\u0029", + "name": "setDescription", + "summary": "Sets\u0020description", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetInvoiceId\u0028\u0029", + "name": "getInvoiceId", + "summary": "Gets\u0020BitPay\u0020invoice\u0020Id", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getInvoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetInvoiceId\u0028\u0029", + "name": "setInvoiceId", + "summary": "Sets\u0020BitPay\u0020invoice\u0020Id", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setInvoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetBuyerFields\u0028\u0029", + "name": "getBuyerFields", + "summary": "Gets\u0020buyer\u0020fields", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getBuyerFields" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetBuyerFields\u0028\u0029", + "name": "setBuyerFields", + "summary": "Sets\u0020buyer\u0020fields", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setBuyerFields" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetInvoiceAmount\u0028\u0029", + "name": "getInvoiceAmount", + "summary": "Gets\u0020Invoice\u0020price\u0020in\u0020the\u0020invoice\u0020original\u0020currency", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getInvoiceAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetInvoiceAmount\u0028\u0029", + "name": "setInvoiceAmount", + "summary": "Sets\u0020Invoice\u0020price\u0020in\u0020the\u0020invoice\u0020original\u0020currency", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setInvoiceAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetInvoiceCurrency\u0028\u0029", + "name": "getInvoiceCurrency", + "summary": "Gets\u0020Currency\u0020used\u0020for\u0020invoice\u0020creation", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getInvoiceCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetInvoiceCurrency\u0028\u0029", + "name": "setInvoiceCurrency", + "summary": "Sets\u0020Currency\u0020used\u0020for\u0020invoice\u0020creation", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setInvoiceCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AgetTransactionCurrency\u0028\u0029", + "name": "getTransactionCurrency", + "summary": "Gets\u0020Cryptocurrency\u0020selected\u0020by\u0020the\u0020consumer\u0020when\u0020paying\u0020an\u0020invoice.", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_getTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AsetTransactionCurrency\u0028\u0029", + "name": "setTransactionCurrency", + "summary": "Sets\u0020Cryptocurrency\u0020selected\u0020by\u0020the\u0020consumer\u0020when\u0020paying\u0020an\u0020invoice.", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_setTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020LedgerEntry\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024type", + "name": "type", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_type" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024timestamp", + "name": "timestamp", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_timestamp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024txType", + "name": "txType", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_txType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024scale", + "name": "scale", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_scale" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024supportRequest", + "name": "supportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_supportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_description" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024invoiceId", + "name": "invoiceId", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_invoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024buyerFields", + "name": "buyerFields", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_buyerFields" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024invoiceAmount", + "name": "invoiceAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_invoiceAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024invoiceCurrency", + "name": "invoiceCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_invoiceCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger\\LedgerEntry\u003A\u003A\u0024transactionCurrency", + "name": "transactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Ledger-LedgerEntry.html#property_transactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout", + "name": "Payout", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020a\u0020request\u0020Payout\u0020object.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020resource\u0020token.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020resource\u0020token.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020amount\u0020of\u0020cryptocurrency\u0020sent\u0020to\u0020the\u0020requested\u0020address.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020amount\u0020of\u0020cryptocurrency\u0020sent\u0020to\u0020the\u0020requested\u0020address.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AformatAmount\u0028\u0029", + "name": "formatAmount", + "summary": "Change\u0020amount\u0020value\u0020based\u0020on\u0020precision\u0020rounding.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_formatAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020currency\u0020code\u0020set\u0020for\u0020the\u0020batch\u0020amount\u0020\u0028ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code\u0029.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020currency\u0020code\u0020set\u0020for\u0020the\u0020batch\u0020amount\u0020\u0028ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code\u0029.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetEffectiveDate\u0028\u0029", + "name": "getEffectiveDate", + "summary": "Gets\u0020Ledger\u0020currency\u0020code\u0020\u0028ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code\u0029", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getEffectiveDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetEffectiveDate\u0028\u0029", + "name": "setEffectiveDate", + "summary": "Sets\u0020effective\u0020date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020for\u0020the\u0020payout.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setEffectiveDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetLedgerCurrency\u0028\u0029", + "name": "getLedgerCurrency", + "summary": "Gets\u0020Ledger\u0020currency\u0020code\u0020\u0028ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getLedgerCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetLedgerCurrency\u0028\u0029", + "name": "setLedgerCurrency", + "summary": "Sets\u0020Ledger\u0020currency\u0020code\u0020\u0028ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code\u0029", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setLedgerCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetReference\u0028\u0029", + "name": "getReference", + "summary": "Gets\u0020reference.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getReference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetReference\u0028\u0029", + "name": "setReference", + "summary": "Sets\u0020reference.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setReference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetNotificationURL\u0028\u0029", + "name": "getNotificationURL", + "summary": "Gets\u0020notification\u0020url.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetNotificationURL\u0028\u0029", + "name": "setNotificationURL", + "summary": "Sets\u0020notification\u0020url.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetNotificationEmail\u0028\u0029", + "name": "getNotificationEmail", + "summary": "Gets\u0020notification\u0020email.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getNotificationEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetNotificationEmail\u0028\u0029", + "name": "setNotificationEmail", + "summary": "Sets\u0020notification\u0020email.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setNotificationEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetAccountId\u0028\u0029", + "name": "getAccountId", + "summary": "Gets\u0020BitPay\u0020account\u0020id\u0020that\u0020is\u0020associated\u0020to\u0020the\u0020payout,\nassigned\u0020by\u0020BitPay\u0020for\u0020a\u0020given\u0020account\u0020during\u0020the\u0020onboarding\u0020process.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getAccountId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetAccountId\u0028\u0029", + "name": "setAccountId", + "summary": "Sets\u0020BitPay\u0020account\u0020id\u0020that\u0020is\u0020associated\u0020to\u0020the\u0020payout,\nassigned\u0020by\u0020BitPay\u0020for\u0020a\u0020given\u0020account\u0020during\u0020the\u0020onboarding\u0020process.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setAccountId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetEmail\u0028\u0029", + "name": "getEmail", + "summary": "Gets\u0020email.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetEmail\u0028\u0029", + "name": "setEmail", + "summary": "Sets\u0020email.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetRecipientId\u0028\u0029", + "name": "getRecipientId", + "summary": "Gets\u0020BitPay\u0020recipient\u0020id.\u0020Assigned\u0020by\u0020BitPay\u0020for\u0020a\u0020given\u0020recipient\u0020email\u0020during\u0020the\u0020onboarding\u0020process.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getRecipientId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetRecipientId\u0028\u0029", + "name": "setRecipientId", + "summary": "Sets\u0020BitPay\u0020recipient\u0020id.\u0020Assigned\u0020by\u0020BitPay\u0020for\u0020a\u0020given\u0020recipient\u0020email\u0020during\u0020the\u0020onboarding\u0020process.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setRecipientId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetShopperId\u0028\u0029", + "name": "getShopperId", + "summary": "Gets\u0020shopper\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getShopperId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetShopperId\u0028\u0029", + "name": "setShopperId", + "summary": "Sets\u0020shopper\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setShopperId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetLabel\u0028\u0029", + "name": "getLabel", + "summary": "Gets\u0020label.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetLabel\u0028\u0029", + "name": "setLabel", + "summary": "Sets\u0020label.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetMessage\u0028\u0029", + "name": "getMessage", + "summary": "Gets\u0020message.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getMessage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetMessage\u0028\u0029", + "name": "setMessage", + "summary": "Sets\u0020message.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setMessage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetGroupId\u0028\u0029", + "name": "getGroupId", + "summary": "Gets\u0020group\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getGroupId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetGroupId\u0028\u0029", + "name": "setGroupId", + "summary": "Sets\u0020group\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setGroupId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "This\u0020field\u0020will\u0020be\u0020returned\u0020in\u0020case\u0020of\u0020error\u0020and\u0020contain\u0020an\u0020error\u0020code.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020error\u0020code.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetDateExecuted\u0028\u0029", + "name": "getDateExecuted", + "summary": "Gets\u0020date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020when\u0020BitPay\u0020executed\u0020the\u0020payout.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getDateExecuted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetDateExecuted\u0028\u0029", + "name": "setDateExecuted", + "summary": "Sets\u0020date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020when\u0020BitPay\u0020executed\u0020the\u0020payout.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setDateExecuted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020Payout\u0020request\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020Payout\u0020request\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "Gets\u0020payout\u0020request\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Sets\u0020payout\u0020request\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetRequestDate\u0028\u0029", + "name": "getRequestDate", + "summary": "Gets\u0020date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020when\u0020BitPay\u0020received\u0020the\u0020batch.\u0020ISO\u002D8601\u0020format\u0020\u0060yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ\u0060.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getRequestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetRequestDate\u0028\u0029", + "name": "setRequestDate", + "summary": "Sets\u0020date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020when\u0020BitPay\u0020received\u0020the\u0020batch.\u0020ISO\u002D8601\u0020format\u0020\u0060yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ\u0060.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setRequestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetExchangeRates\u0028\u0029", + "name": "getExchangeRates", + "summary": "Gets\u0020exchange\u0020rates\u0020keyed\u0020by\u0020source\u0020and\u0020target\u0020currencies.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getExchangeRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetExchangeRates\u0028\u0029", + "name": "setExchangeRates", + "summary": "Sets\u0020exchange\u0020rates\u0020keyed\u0020by\u0020source\u0020and\u0020target\u0020currencies.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setExchangeRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AgetTransactions\u0028\u0029", + "name": "getTransactions", + "summary": "Gets\u0020transactions.\u0020Contains\u0020the\u0020cryptocurrency\u0020transaction\u0020details\u0020for\u0020the\u0020executed\u0020payout\u0020request.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_getTransactions" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetTransactions\u0028\u0029", + "name": "setTransactions", + "summary": "Sets\u0020transactions.\u0020Contains\u0020the\u0020cryptocurrency\u0020transaction\u0020details\u0020for\u0020the\u0020executed\u0020payout\u0020request.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setTransactions" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AisIgnoreEmails\u0028\u0029", + "name": "isIgnoreEmails", + "summary": "Gets\u0020boolean\u0020to\u0020prevent\u0020email\u0020updates\u0020on\u0020a\u0020specific\u0020payout.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_isIgnoreEmails" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AsetIgnoreEmails\u0028\u0029", + "name": "setIgnoreEmails", + "summary": "Sets\u0020boolean\u0020to\u0020prevent\u0020email\u0020updates\u0020on\u0020a\u0020specific\u0020payout.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_setIgnoreEmails" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020Payout\u0020values\u0020as\u0020array.", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024effectiveDate", + "name": "effectiveDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_effectiveDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024ledgerCurrency", + "name": "ledgerCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_ledgerCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024reference", + "name": "reference", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_reference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024notificationURL", + "name": "notificationURL", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_notificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024notificationEmail", + "name": "notificationEmail", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_notificationEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024accountId", + "name": "accountId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_accountId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024email", + "name": "email", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_email" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024recipientId", + "name": "recipientId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_recipientId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024shopperId", + "name": "shopperId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_shopperId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024label", + "name": "label", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_label" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024message", + "name": "message", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_message" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024ignoreEmails", + "name": "ignoreEmails", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_ignoreEmails" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024groupId", + "name": "groupId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_groupId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024dateExecuted", + "name": "dateExecuted", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_dateExecuted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024requestDate", + "name": "requestDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_requestDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024exchangeRates", + "name": "exchangeRates", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_exchangeRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\Payout\u003A\u003A\u0024transactions", + "name": "transactions", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-Payout.html#property_transactions" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup", + "name": "PayoutGroup", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup\u003A\u003AgetPayouts\u0028\u0029", + "name": "getPayouts", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html#method_getPayouts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup\u003A\u003AsetPayouts\u0028\u0029", + "name": "setPayouts", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html#method_setPayouts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup\u003A\u003AgetFailed\u0028\u0029", + "name": "getFailed", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html#method_getFailed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup\u003A\u003AsetFailed\u0028\u0029", + "name": "setFailed", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html#method_setFailed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup\u003A\u003A\u0024payouts", + "name": "payouts", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html#property_payouts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroup\u003A\u003A\u0024failed", + "name": "failed", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroup.html#property_failed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed", + "name": "PayoutGroupFailed", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003AgetErrorMessage\u0028\u0029", + "name": "getErrorMessage", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#method_getErrorMessage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003AsetErrorMessage\u0028\u0029", + "name": "setErrorMessage", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#method_setErrorMessage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003AgetPayoutId\u0028\u0029", + "name": "getPayoutId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#method_getPayoutId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003AsetPayoutId\u0028\u0029", + "name": "setPayoutId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#method_setPayoutId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003AgetPayee\u0028\u0029", + "name": "getPayee", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#method_getPayee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003AsetPayee\u0028\u0029", + "name": "setPayee", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#method_setPayee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003A\u0024errMessage", + "name": "errMessage", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#property_errMessage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003A\u0024payoutId", + "name": "payoutId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#property_payoutId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutGroupFailed\u003A\u003A\u0024payee", + "name": "payee", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutGroupFailed.html#property_payee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient", + "name": "PayoutRecipient", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020a\u0020minimal\u0020Recipient\u0020object.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetEmail\u0028\u0029", + "name": "getEmail", + "summary": "Gets\u0020email.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetEmail\u0028\u0029", + "name": "setEmail", + "summary": "Sets\u0020email.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setEmail" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetGuid\u0028\u0029", + "name": "getGuid", + "summary": "Gets\u0020guid.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetGuid\u0028\u0029", + "name": "setGuid", + "summary": "Sets\u0020guid.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetLabel\u0028\u0029", + "name": "getLabel", + "summary": "Gets\u0020label.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetLabel\u0028\u0029", + "name": "setLabel", + "summary": "Sets\u0020label.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetNotificationURL\u0028\u0029", + "name": "getNotificationURL", + "summary": "Gets\u0020notification\u0020url.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetNotificationURL\u0028\u0029", + "name": "setNotificationURL", + "summary": "Sets\u0020notification\u0020url.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setNotificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "Gets\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Sets\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020id.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetShopperId\u0028\u0029", + "name": "getShopperId", + "summary": "Gets\u0020Shopper\u0020ID.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getShopperId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetShopperId\u0028\u0029", + "name": "setShopperId", + "summary": "Sets\u0020Shopper\u0020ID.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setShopperId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020token.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020token.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020an\u0020array\u0020with\u0020values\u0020of\u0020all\u0020fields.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024email", + "name": "email", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_email" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024guid", + "name": "guid", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_guid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024label", + "name": "label", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_label" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024notificationURL", + "name": "notificationURL", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_notificationURL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024shopperId", + "name": "shopperId", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_shopperId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipient\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipient.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients", + "name": "PayoutRecipients", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020an\u0020recipient\u002Dfull\u0020request\u0020PayoutBatch\u0020object.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AgetGuid\u0028\u0029", + "name": "getGuid", + "summary": "Gets\u0020guid.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_getGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AsetGuid\u0028\u0029", + "name": "setGuid", + "summary": "Sets\u0020guid.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_setGuid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020token.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020token.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AgetRecipients\u0028\u0029", + "name": "getRecipients", + "summary": "Gets\u0020an\u0020array\u0020with\u0020all\u0020recipients.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_getRecipients" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AsetRecipients\u0028\u0029", + "name": "setRecipients", + "summary": "Sets\u0020array\u0020with\u0020all\u0020recipients.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_setRecipients" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020an\u0020array\u0020with\u0020paid\u0020and\u0020unpaid\u0020value.", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003A\u0024recipients", + "name": "recipients", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#property_recipients" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003A\u0024guid", + "name": "guid", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#property_guid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutRecipients\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutRecipients.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus", + "name": "PayoutStatus", + "summary": "Interface\u0020PayoutStatus", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003ANEW", + "name": "NEW", + "summary": "New\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_NEW" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003AFUNDED", + "name": "FUNDED", + "summary": "Funded\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_FUNDED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003APROCESSING", + "name": "PROCESSING", + "summary": "Processing\u0020status", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_PROCESSING" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003ACOMPLETE", + "name": "COMPLETE", + "summary": "Complete\u0020status", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_COMPLETE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003AFAILED", + "name": "FAILED", + "summary": "Failed\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_FAILED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003ACANCELLED", + "name": "CANCELLED", + "summary": "Cancelled\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_CANCELLED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003APAID", + "name": "PAID", + "summary": "Paid\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_PAID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutStatus\u003A\u003AUNPAID", + "name": "UNPAID", + "summary": "Unpaid\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-PayoutStatus.html#constant_UNPAID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction", + "name": "PayoutTransaction", + "summary": "Contains\u0020the\u0020cryptocurrency\u0020transaction\u0020details\u0020for\u0020the\u0020executed\u0020payout.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AgetTxid\u0028\u0029", + "name": "getTxid", + "summary": "Gets\u0020Cryptocurrency\u0020transaction\u0020hash\u0020for\u0020the\u0020executed\u0020payout.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_getTxid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AsetTxid\u0028\u0029", + "name": "setTxid", + "summary": "Sets\u0020Cryptocurrency\u0020transaction\u0020hash\u0020for\u0020the\u0020executed\u0020payout.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_setTxid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020Amount\u0020of\u0020cryptocurrency\u0020sent\u0020to\u0020the\u0020requested\u0020address.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020Amount\u0020of\u0020cryptocurrency\u0020sent\u0020to\u0020the\u0020requested\u0020address.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AgetDate\u0028\u0029", + "name": "getDate", + "summary": "Gets\u0020Date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020when\u0020the\u0020cryptocurrency\u0020transaction\u0020is\u0020broadcasted.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_getDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AsetDate\u0028\u0029", + "name": "setDate", + "summary": "Sets\u0020Date\u0020and\u0020time\u0020\u0028UTC\u0029\u0020when\u0020the\u0020cryptocurrency\u0020transaction\u0020is\u0020broadcasted.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_setDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AgetConfirmations\u0028\u0029", + "name": "getConfirmations", + "summary": "Gets\u0020the\u0020number\u0020of\u0020confirmations\u0020the\u0020transaction\u0020has\u0020received.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_getConfirmations" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AsetConfirmations\u0028\u0029", + "name": "setConfirmations", + "summary": "Sets\u0020the\u0020number\u0020of\u0020confirmations\u0020the\u0020transaction\u0020has\u0020received.", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_setConfirmations" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020PayoutTransaction\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003A\u0024txid", + "name": "txid", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#property_txid" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003A\u0024date", + "name": "date", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#property_date" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\PayoutTransaction\u003A\u003A\u0024confirmations", + "name": "confirmations", + "summary": "", + "url": "classes/BitPaySDK-Model-Payout-PayoutTransaction.html#property_confirmations" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientReferenceMethod", + "name": "RecipientReferenceMethod", + "summary": "List\u0020of\u0020recipient\u0020reference\u0020methods", + "url": "classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientReferenceMethod\u003A\u003AEMAIL", + "name": "EMAIL", + "summary": "Email\u0020method\u0020will\u0020be\u0020used\u0020to\u0020target\u0020the\u0020recipient", + "url": "classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html#constant_EMAIL" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientReferenceMethod\u003A\u003ARECIPIENT_ID", + "name": "RECIPIENT_ID", + "summary": "Recipient\u0020id\u0020will\u0020be\u0020used\u0020to\u0020target\u0020the\u0020recipient", + "url": "classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html#constant_RECIPIENT_ID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientReferenceMethod\u003A\u003ASHOPPER_ID", + "name": "SHOPPER_ID", + "summary": "Shopper\u0020id\u0020will\u0020be\u0020used\u0020to\u0020target\u0020the\u0020recipient", + "url": "classes/BitPaySDK-Model-Payout-RecipientReferenceMethod.html#constant_SHOPPER_ID" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus", + "name": "RecipientStatus", + "summary": "Interface\u0020RecipientStatus", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus\u003A\u003AINVITED", + "name": "INVITED", + "summary": "Invited\u0020recipient\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html#constant_INVITED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus\u003A\u003AUNVERIFIED", + "name": "UNVERIFIED", + "summary": "Unverified\u0020\u0020recipient\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html#constant_UNVERIFIED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus\u003A\u003AVERIFIED", + "name": "VERIFIED", + "summary": "Verified\u0020recipient\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html#constant_VERIFIED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus\u003A\u003AACTIVE", + "name": "ACTIVE", + "summary": "Active\u0020recipient\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html#constant_ACTIVE" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus\u003A\u003APAUSED", + "name": "PAUSED", + "summary": "Paused\u0020recipient\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html#constant_PAUSED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout\\RecipientStatus\u003A\u003AREMOVED", + "name": "REMOVED", + "summary": "Removed\u0020recipient\u0020status.", + "url": "classes/BitPaySDK-Model-Payout-RecipientStatus.html#constant_REMOVED" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate", + "name": "Rate", + "summary": "Class\u0020Rate", + "url": "classes/BitPaySDK-Model-Rate-Rate.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020detailed\u0020currency\u0020name", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020detailed\u0020currency\u0020name", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "Gets\u0020ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020ISO\u00204217\u00203\u002Dcharacter\u0020currency\u0020code", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AgetRate\u0028\u0029", + "name": "getRate", + "summary": "Gets\u0020rate\u0020for\u0020the\u0020requested\u0020baseCurrency\u0020\/currency\u0020pair", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_getRate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AsetRate\u0028\u0029", + "name": "setRate", + "summary": "Sets\u0020rate\u0020for\u0020the\u0020requested\u0020baseCurrency\u0020\/currency\u0020pair", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_setRate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Rate\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rate\u003A\u003A\u0024rate", + "name": "rate", + "summary": "", + "url": "classes/BitPaySDK-Model-Rate-Rate.html#property_rate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates", + "name": "Rates", + "summary": "Class\u0020Rates", + "url": "classes/BitPaySDK-Model-Rate-Rates.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Rates\u0020constructor.", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003AgetRates\u0028\u0029", + "name": "getRates", + "summary": "Gets\u0020rates.", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#method_getRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Update\u0020rates.", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#method_update" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003AgetRate\u0028\u0029", + "name": "getRate", + "summary": "Gets\u0020rate\u0020for\u0020the\u0020requested\u0020currency\u0020code.", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#method_getRate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020an\u0020array\u0020with\u0020rates\u0020value.", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003AvalidateRates\u0028\u0029", + "name": "validateRates", + "summary": "", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#method_validateRates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate\\Rates\u003A\u003A\u0024rates", + "name": "rates", + "summary": "", + "url": "classes/BitPaySDK-Model-Rate-Rates.html#property_rates" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData", + "name": "InvoiceData", + "summary": "Object\u0020containing\u0020relevant\u0020information\u0020from\u0020the\u0020paid\u0020invoice.", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetOrderId\u0028\u0029", + "name": "getOrderId", + "summary": "Gets\u0020Invoice\u0020orderId\u0020provided\u0020during\u0020invoice\u0020creation.", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getOrderId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetOrderId\u0028\u0029", + "name": "setOrderId", + "summary": "Sets\u0020Invoice\u0020orderId\u0020provided\u0020during\u0020invoice\u0020creation.", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setOrderId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetDate\u0028\u0029", + "name": "getDate", + "summary": "Gets\u0020Date\u0020at\u0020which\u0020the\u0020invoice\u0020was\u0020created\u0020\u0028UTC\u0029.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetDate\u0028\u0029", + "name": "setDate", + "summary": "Sets\u0020Date\u0020at\u0020which\u0020the\u0020invoice\u0020was\u0020created\u0020\u0028UTC\u0029.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetPrice\u0028\u0029", + "name": "getPrice", + "summary": "Gets\u0020Invoice\u0020price\u0020in\u0020the\u0020invoice\u0020original\u0020currency", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getPrice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetPrice\u0028\u0029", + "name": "setPrice", + "summary": "Sets\u0020Invoice\u0020price\u0020in\u0020the\u0020invoice\u0020original\u0020currency", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setPrice" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020Invoice\u0020currency", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020Invoice\u0020currency", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetTransactionCurrency\u0028\u0029", + "name": "getTransactionCurrency", + "summary": "Gets\u0020Cryptocurrency\u0020selected\u0020by\u0020the\u0020consumer\u0020when\u0020paying\u0020the\u0020invoice.", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetTransactionCurrency\u0028\u0029", + "name": "setTransactionCurrency", + "summary": "Sets\u0020Cryptocurrency\u0020selected\u0020by\u0020the\u0020consumer\u0020when\u0020paying\u0020the\u0020invoice.", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setTransactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetOverPaidAmount\u0028\u0029", + "name": "getOverPaidAmount", + "summary": "Gets\u0020over\u0020paid\u0020amount", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getOverPaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetOverPaidAmount\u0028\u0029", + "name": "setOverPaidAmount", + "summary": "Sets\u0020over\u0020paid\u0020amount", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setOverPaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetPayoutPercentage\u0028\u0029", + "name": "getPayoutPercentage", + "summary": "Gets\u0020The\u0020payout\u0020percentage\u0020defined\u0020by\u0020the\u0020merchant\u0020on\u0020his\u0020BitPay\u0020account\u0020settings", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getPayoutPercentage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetPayoutPercentage\u0028\u0029", + "name": "setPayoutPercentage", + "summary": "Sets\u0020The\u0020payout\u0020percentage\u0020defined\u0020by\u0020the\u0020merchant\u0020on\u0020his\u0020BitPay\u0020account\u0020settings", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setPayoutPercentage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AgetRefundInfo\u0028\u0029", + "name": "getRefundInfo", + "summary": "Gets\u0020Object\u0020containing\u0020information\u0020about\u0020the\u0020refund\u0020executed\u0020for\u0020the\u0020invoice", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_getRefundInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AsetRefundInfo\u0028\u0029", + "name": "setRefundInfo", + "summary": "Sets\u0020Object\u0020containing\u0020information\u0020about\u0020the\u0020refund\u0020executed\u0020for\u0020the\u0020invoice", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_setRefundInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020InvoiceData\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024orderId", + "name": "orderId", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_orderId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024date", + "name": "date", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_date" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024price", + "name": "price", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_price" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024transactionCurrency", + "name": "transactionCurrency", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_transactionCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024overPaidAmount", + "name": "overPaidAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_overPaidAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024payoutPercentage", + "name": "payoutPercentage", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_payoutPercentage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\InvoiceData\u003A\u003A\u0024refundInfo", + "name": "refundInfo", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-InvoiceData.html#property_refundInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo", + "name": "PayoutInfo", + "summary": "Object\u0020containing\u0020the\u0020settlement\u0020info\u0020provided\u0020by\u0020the\u0020Merchant\u0020in\u0020his\u0020BitPay\u0020account\u0020settings.", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccount\u0028\u0029", + "name": "getAccount", + "summary": "Gets\u0020Bank\u0020account\u0020number\u0020of\u0020the\u0020merchant", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccount\u0028\u0029", + "name": "setAccount", + "summary": "Sets\u0020Bank\u0020account\u0020number\u0020of\u0020the\u0020merchant", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetRouting\u0028\u0029", + "name": "getRouting", + "summary": "Gets\u0020routing", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getRouting" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetRouting\u0028\u0029", + "name": "setRouting", + "summary": "Sets\u0020routing", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setRouting" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetMerchantEin\u0028\u0029", + "name": "getMerchantEin", + "summary": "Gets\u0020merchant\u0020ein", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getMerchantEin" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetMerchantEin\u0028\u0029", + "name": "setMerchantEin", + "summary": "Sets\u0020merchant\u0020ein", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setMerchantEin" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetLabel\u0028\u0029", + "name": "getLabel", + "summary": "Gets\u0020label", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetLabel\u0028\u0029", + "name": "setLabel", + "summary": "Sets\u0020label", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetBankCountry\u0028\u0029", + "name": "getBankCountry", + "summary": "Gets\u0020Country\u0020where\u0020the\u0020merchant\u0027s\u0020bank\u0020account\u0020is\u0020located", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getBankCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetBankCountry\u0028\u0029", + "name": "setBankCountry", + "summary": "Sets\u0020Country\u0020where\u0020the\u0020merchant\u0027s\u0020bank\u0020account\u0020is\u0020located", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setBankCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetName\u0028\u0029", + "name": "getName", + "summary": "Gets\u0020account\u0020holder\u0020name", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetName\u0028\u0029", + "name": "setName", + "summary": "Sets\u0020account\u0020holder\u0020name", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetBank\u0028\u0029", + "name": "getBank", + "summary": "Gets\u0020Name\u0020of\u0020the\u0020bank\u0020used\u0020by\u0020the\u0020merchant", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getBank" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetBank\u0028\u0029", + "name": "setBank", + "summary": "Sets\u0020Name\u0020of\u0020the\u0020bank\u0020used\u0020by\u0020the\u0020merchant", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setBank" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetSwift\u0028\u0029", + "name": "getSwift", + "summary": "Gets\u0020SWIFT\/BIC\u0020code\u0020of\u0020the\u0020merchant\u0027s\u0020bank.", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getSwift" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetSwift\u0028\u0029", + "name": "setSwift", + "summary": "Sets\u0020SWIFT\/BIC\u0020code\u0020of\u0020the\u0020merchant\u0027s\u0020bank.", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setSwift" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAddress\u0028\u0029", + "name": "getAddress", + "summary": "Gets\u0020address", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAddress\u0028\u0029", + "name": "setAddress", + "summary": "Sets\u0020address", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetCity\u0028\u0029", + "name": "getCity", + "summary": "Gets\u0020City\u0020of\u0020the\u0020merchant\u0020bank,\u0020field\u0020return\u0020if\u0020the\u0020settlement\u0020currency\u0020is", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetCity\u0028\u0029", + "name": "setCity", + "summary": "Sets\u0020city\u0020of\u0020the\u0020merchant\u0020bank", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetPostal\u0028\u0029", + "name": "getPostal", + "summary": "Gets\u0020Postal\u0020code\u0020of\u0020the\u0020merchant\u0020bank,\u0020field\u0020return\u0020if\u0020the\u0020settlement\u0020currency\u0020is", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getPostal" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetPostal\u0028\u0029", + "name": "setPostal", + "summary": "Sets\u0020Postal\u0020code\u0020of\u0020the\u0020merchant\u0020bank", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setPostal" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetSort\u0028\u0029", + "name": "getSort", + "summary": "Gets\u0020sort", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getSort" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetSort\u0028\u0029", + "name": "setSort", + "summary": "Sets\u0020sort", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setSort" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetWire\u0028\u0029", + "name": "getWire", + "summary": "Gets\u0020wire", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getWire" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetWire\u0028\u0029", + "name": "setWire", + "summary": "Sets\u0020wire", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setWire" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetBankName\u0028\u0029", + "name": "getBankName", + "summary": "Gets\u0020bank\u0020name", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getBankName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetBankName\u0028\u0029", + "name": "setBankName", + "summary": "Sets\u0020bank\u0020name", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setBankName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetBankAddress\u0028\u0029", + "name": "getBankAddress", + "summary": "Gets\u0020bank\u0020address", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getBankAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetBankAddress\u0028\u0029", + "name": "setBankAddress", + "summary": "Sets\u0020bank\u0020address", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setBankAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetBankAddress2\u0028\u0029", + "name": "getBankAddress2", + "summary": "Gets\u0020bank\u0020address\u00202", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getBankAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetBankAddress2\u0028\u0029", + "name": "setBankAddress2", + "summary": "Sets\u0020bank\u0020address2", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setBankAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetIban\u0028\u0029", + "name": "getIban", + "summary": "Gets\u0020iban", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getIban" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetIban\u0028\u0029", + "name": "setIban", + "summary": "Sets\u0020iban", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setIban" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAdditionalInformation\u0028\u0029", + "name": "getAdditionalInformation", + "summary": "Gets\u0020additional\u0020information", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAdditionalInformation" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAdditionalInformation\u0028\u0029", + "name": "setAdditionalInformation", + "summary": "Sets\u0020additional\u0020information", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAdditionalInformation" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccountHolderName\u0028\u0029", + "name": "getAccountHolderName", + "summary": "Gets\u0020Bank\u0020account\u0020holder\u0020name", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccountHolderName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccountHolderName\u0028\u0029", + "name": "setAccountHolderName", + "summary": "Sets\u0020Bank\u0020account\u0020holder\u0020name", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccountHolderName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccountHolderAddress\u0028\u0029", + "name": "getAccountHolderAddress", + "summary": "Gets\u0020Bank\u0020account\u0020holder\u0020address", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccountHolderAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccountHolderAddress\u0028\u0029", + "name": "setAccountHolderAddress", + "summary": "Sets\u0020Bank\u0020account\u0020holder\u0020address2", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccountHolderAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccountHolderAddress2\u0028\u0029", + "name": "getAccountHolderAddress2", + "summary": "Gets\u0020Bank\u0020account\u0020holder\u0020address2", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccountHolderAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccountHolderAddress2\u0028\u0029", + "name": "setAccountHolderAddress2", + "summary": "Sets\u0020Bank\u0020account\u0020holder\u0020address2", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccountHolderAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccountHolderPostalCode\u0028\u0029", + "name": "getAccountHolderPostalCode", + "summary": "Gets\u0020Bank\u0020account\u0020holder\u0020postal\u0020code", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccountHolderPostalCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccountHolderPostalCode\u0028\u0029", + "name": "setAccountHolderPostalCode", + "summary": "Sets\u0020Bank\u0020account\u0020holder\u0020postal\u0020code", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccountHolderPostalCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccountHolderCity\u0028\u0029", + "name": "getAccountHolderCity", + "summary": "Gets\u0020Bank\u0020account\u0020holder\u0020city", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccountHolderCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccountHolderCity\u0028\u0029", + "name": "setAccountHolderCity", + "summary": "Sets\u0020Bank\u0020account\u0020holder\u0020city", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccountHolderCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AgetAccountHolderCountry\u0028\u0029", + "name": "getAccountHolderCountry", + "summary": "Gets\u0020Bank\u0020account\u0020holder\u0020country", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_getAccountHolderCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AsetAccountHolderCountry\u0028\u0029", + "name": "setAccountHolderCountry", + "summary": "Sets\u0020Bank\u0020account\u0020holder\u0020country", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_setAccountHolderCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020PayoutInfo\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_name" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024account", + "name": "account", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_account" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024routing", + "name": "routing", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_routing" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024merchantEin", + "name": "merchantEin", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_merchantEin" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024label", + "name": "label", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_label" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024bankCountry", + "name": "bankCountry", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_bankCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024bank", + "name": "bank", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_bank" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024swift", + "name": "swift", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_swift" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024address", + "name": "address", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_address" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024city", + "name": "city", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_city" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024postal", + "name": "postal", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_postal" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024sort", + "name": "sort", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_sort" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024wire", + "name": "wire", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_wire" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024bankName", + "name": "bankName", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_bankName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024bankAddress", + "name": "bankAddress", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_bankAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024bankAddress2", + "name": "bankAddress2", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_bankAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024iban", + "name": "iban", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_iban" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024additionalInformation", + "name": "additionalInformation", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_additionalInformation" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024accountHolderName", + "name": "accountHolderName", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_accountHolderName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024accountHolderAddress", + "name": "accountHolderAddress", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_accountHolderAddress" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024accountHolderAddress2", + "name": "accountHolderAddress2", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_accountHolderAddress2" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024accountHolderPostalCode", + "name": "accountHolderPostalCode", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_accountHolderPostalCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024accountHolderCity", + "name": "accountHolderCity", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_accountHolderCity" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\PayoutInfo\u003A\u003A\u0024accountHolderCountry", + "name": "accountHolderCountry", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-PayoutInfo.html#property_accountHolderCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo", + "name": "RefundInfo", + "summary": "Object\u0020containing\u0020information\u0020about\u0020the\u0020refund.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AgetSupportRequest\u0028\u0029", + "name": "getSupportRequest", + "summary": "Gets\u0020support\u0020request.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_getSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AsetSupportRequest\u0028\u0029", + "name": "setSupportRequest", + "summary": "Sets\u0020support\u0020request.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_setSupportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020currency.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020currency.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AgetAmounts\u0028\u0029", + "name": "getAmounts", + "summary": "Gets\u0020amounts.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_getAmounts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AsetAmounts\u0028\u0029", + "name": "setAmounts", + "summary": "Sets\u0020amounts.", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_setAmounts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Refund\u0020info\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003A\u0024supportRequest", + "name": "supportRequest", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#property_supportRequest" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\RefundInfo\u003A\u003A\u0024amounts", + "name": "amounts", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-RefundInfo.html#property_amounts" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement", + "name": "Settlement", + "summary": "Settlement\u0020data\u0020object.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetId\u0028\u0029", + "name": "getId", + "summary": "Gets\u0020id", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "Sets\u0020id", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetAccountId\u0028\u0029", + "name": "getAccountId", + "summary": "Gets\u0020account\u0020id", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getAccountId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetAccountId\u0028\u0029", + "name": "setAccountId", + "summary": "Sets\u0020account\u0020id", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setAccountId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetCurrency\u0028\u0029", + "name": "getCurrency", + "summary": "Gets\u0020currency", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetCurrency\u0028\u0029", + "name": "setCurrency", + "summary": "Sets\u0020currency", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setCurrency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetPayoutInfo\u0028\u0029", + "name": "getPayoutInfo", + "summary": "Gets\u0020Object\u0020containing\u0020the\u0020settlement\u0020info\u0020provided\u0020by\u0020the\u0020Merchant\u0020in\u0020his\u0020BitPay\u0020account\u0020settings", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getPayoutInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetPayoutInfo\u0028\u0029", + "name": "setPayoutInfo", + "summary": "Sets\u0020Object\u0020containing\u0020the\u0020settlement\u0020info\u0020provided\u0020by\u0020the\u0020Merchant\u0020in\u0020his\u0020BitPay\u0020account\u0020settings", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setPayoutInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetStatus\u0028\u0029", + "name": "getStatus", + "summary": "Gets\u0020Status\u0020of\u0020the\u0020settlement.\u0020Possible\u0020statuses\u0020are\u0020\u0022new\u0022,\u0020\u0022processing\u0022,\u0020\u0022rejected\u0022\u0020and\u0020\u0022completed\u0022.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Sets\u0020Status\u0020of\u0020the\u0020settlement.\u0020Possible\u0020statuses\u0020are\u0020\u0022new\u0022,\u0020\u0022processing\u0022,\u0020\u0022rejected\u0022\u0020and\u0020\u0022completed\u0022.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setStatus" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetDateCreated\u0028\u0029", + "name": "getDateCreated", + "summary": "Gets\u0020date\u0020created", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getDateCreated" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetDateCreated\u0028\u0029", + "name": "setDateCreated", + "summary": "Sets\u0020date\u0020created", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setDateCreated" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetDateExecuted\u0028\u0029", + "name": "getDateExecuted", + "summary": "Gets\u0020date\u0020executed", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getDateExecuted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetDateExecuted\u0028\u0029", + "name": "setDateExecuted", + "summary": "Sets\u0020date\u0020executed", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setDateExecuted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetDateCompleted\u0028\u0029", + "name": "getDateCompleted", + "summary": "Gets\u0020date\u0020completed", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getDateCompleted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetDateCompleted\u0028\u0029", + "name": "setDateCompleted", + "summary": "Sets\u0020date\u0020completed", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setDateCompleted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetOpeningDate\u0028\u0029", + "name": "getOpeningDate", + "summary": "Gets\u0020opening\u0020date", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getOpeningDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetOpeningDate\u0028\u0029", + "name": "setOpeningDate", + "summary": "Sets\u0020opening\u0020date", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setOpeningDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetClosingDate\u0028\u0029", + "name": "getClosingDate", + "summary": "Gets\u0020closing\u0020date.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getClosingDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetClosingDate\u0028\u0029", + "name": "setClosingDate", + "summary": "Sets\u0020closing\u0020date.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setClosingDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetOpeningBalance\u0028\u0029", + "name": "getOpeningBalance", + "summary": "Gets\u0020Balance\u0020of\u0020the\u0020ledger\u0020at\u0020the\u0020openingDate", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getOpeningBalance" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetOpeningBalance\u0028\u0029", + "name": "setOpeningBalance", + "summary": "Sets\u0020Balance\u0020of\u0020the\u0020ledger\u0020at\u0020the\u0020openingDate", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setOpeningBalance" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetLedgerEntriesSum\u0028\u0029", + "name": "getLedgerEntriesSum", + "summary": "Gets\u0020ledger\u0020entries\u0020sum.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getLedgerEntriesSum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetLedgerEntriesSum\u0028\u0029", + "name": "setLedgerEntriesSum", + "summary": "Sets\u0020ledger\u0020entries\u0020sum.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setLedgerEntriesSum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetWithHoldings\u0028\u0029", + "name": "getWithHoldings", + "summary": "Gets\u0020with\u0020holdings", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getWithHoldings" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetWithHoldings\u0028\u0029", + "name": "setWithHoldings", + "summary": "Sets\u0020with\u0020holdings", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setWithHoldings" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetWithHoldingsSum\u0028\u0029", + "name": "getWithHoldingsSum", + "summary": "Gets\u0020Sum\u0020of\u0020all\u0020amounts\u0020that\u0020are\u0020withheld\u0020from\u0020settlement", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getWithHoldingsSum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetWithHoldingsSum\u0028\u0029", + "name": "setWithHoldingsSum", + "summary": "Sets\u0020Sum\u0020of\u0020all\u0020amounts\u0020that\u0020are\u0020withheld\u0020from\u0020settlement", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setWithHoldingsSum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetTotalAmount\u0028\u0029", + "name": "getTotalAmount", + "summary": "Gets\u0020total\u0020amount\u0020sent\u0020to\u0020the\u0020merchant\u003B\u00202\u0020decimals.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getTotalAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetTotalAmount\u0028\u0029", + "name": "setTotalAmount", + "summary": "Sets\u0020total\u0020amount\u0020sent\u0020to\u0020the\u0020merchant\u003B\u00202\u0020decimals.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setTotalAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetLedgerEntries\u0028\u0029", + "name": "getLedgerEntries", + "summary": "Gets\u0020Array\u0020of\u0020ledger\u0020entries\u0020listing\u0020the\u0020various\u0020debits\u0020and\u0020credits\u0020which\u0020are\u0020settled\u0020in\u0020the\u0020report.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getLedgerEntries" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetLedgerEntries\u0028\u0029", + "name": "setLedgerEntries", + "summary": "Sets\u0020Array\u0020of\u0020ledger\u0020entries\u0020listing\u0020the\u0020various\u0020debits\u0020and\u0020credits\u0020which\u0020are\u0020settled\u0020in\u0020the\u0020report.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setLedgerEntries" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AgetToken\u0028\u0029", + "name": "getToken", + "summary": "Gets\u0020API\u0020token\u0020for\u0020the\u0020corresponding\u0020settlement\u0020resource.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_getToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AsetToken\u0028\u0029", + "name": "setToken", + "summary": "Sets\u0020API\u0020token\u0020for\u0020the\u0020corresponding\u0020settlement\u0020resource.", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_setToken" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Returns\u0020the\u0020Settlement\u0020object\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024id", + "name": "id", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_id" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024accountId", + "name": "accountId", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_accountId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024currency", + "name": "currency", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_currency" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024payoutInfo", + "name": "payoutInfo", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_payoutInfo" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_status" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024dateCreated", + "name": "dateCreated", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_dateCreated" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024dateExecuted", + "name": "dateExecuted", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_dateExecuted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024dateCompleted", + "name": "dateCompleted", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_dateCompleted" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024openingDate", + "name": "openingDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_openingDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024closingDate", + "name": "closingDate", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_closingDate" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024openingBalance", + "name": "openingBalance", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_openingBalance" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024ledgerEntriesSum", + "name": "ledgerEntriesSum", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_ledgerEntriesSum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024withHoldings", + "name": "withHoldings", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_withHoldings" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024withHoldingsSum", + "name": "withHoldingsSum", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_withHoldingsSum" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024totalAmount", + "name": "totalAmount", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_totalAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024ledgerEntries", + "name": "ledgerEntries", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_ledgerEntries" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\Settlement\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-Settlement.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry", + "name": "SettlementLedgerEntry", + "summary": "Class\u0020SettlementLedgerEntry", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "Gets\u0020code", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020code", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetInvoiceId\u0028\u0029", + "name": "getInvoiceId", + "summary": "Gets\u0020BitPay\u0020invoice\u0020Id", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getInvoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetInvoiceId\u0028\u0029", + "name": "setInvoiceId", + "summary": "Sets\u0020BitPay\u0020invoice\u0020Id", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setInvoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020amount", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020amount", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetTimestamp\u0028\u0029", + "name": "getTimestamp", + "summary": "Gets\u0020Date\u0020and\u0020time\u0020of\u0020the\u0020ledger\u0020entry\u0020\u0028UTC\u0029.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getTimestamp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetTimestamp\u0028\u0029", + "name": "setTimestamp", + "summary": "Sets\u0020Date\u0020and\u0020time\u0020of\u0020the\u0020ledger\u0020entry\u0020\u0028UTC\u0029.\u0020ISO\u002D8601\u0020format\u0020yyyy\u002Dmm\u002DddThh\u003Amm\u003AssZ", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setTimestamp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetDescription\u0028\u0029", + "name": "getDescription", + "summary": "Gets\u0020Ledger\u0020entry\u0020description.", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetDescription\u0028\u0029", + "name": "setDescription", + "summary": "Sets\u0020Ledger\u0020entry\u0020description.", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetReference\u0028\u0029", + "name": "getReference", + "summary": "Gets\u0020reference", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getReference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetReference\u0028\u0029", + "name": "setReference", + "summary": "Sets\u0020reference", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setReference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AgetInvoiceData\u0028\u0029", + "name": "getInvoiceData", + "summary": "Gets\u0020Invoice\u0020Data", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_getInvoiceData" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AsetInvoiceData\u0028\u0029", + "name": "setInvoiceData", + "summary": "Sets\u0020Invoice\u0020Data", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_setInvoiceData" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020SettlementLedgerEntry\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024invoiceId", + "name": "invoiceId", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_invoiceId" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024timestamp", + "name": "timestamp", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_timestamp" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_description" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024reference", + "name": "reference", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_reference" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\SettlementLedgerEntry\u003A\u003A\u0024invoiceData", + "name": "invoiceData", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-SettlementLedgerEntry.html#property_invoiceData" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings", + "name": "WithHoldings", + "summary": "Class\u0020WithHoldings", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WithHoldings\u0020constructor.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AgetAmount\u0028\u0029", + "name": "getAmount", + "summary": "Gets\u0020amount.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_getAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AsetAmount\u0028\u0029", + "name": "setAmount", + "summary": "Sets\u0020amount.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_setAmount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "Gets\u0020code.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020code.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AgetDescription\u0028\u0029", + "name": "getDescription", + "summary": "Gets\u0020description.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_getDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AsetDescription\u0028\u0029", + "name": "setDescription", + "summary": "Sets\u0020description.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_setDescription" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AgetNotes\u0028\u0029", + "name": "getNotes", + "summary": "Gets\u0020notes.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_getNotes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AsetNotes\u0028\u0029", + "name": "setNotes", + "summary": "Sets\u0020notes.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_setNotes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AgetLabel\u0028\u0029", + "name": "getLabel", + "summary": "Gets\u0020label.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_getLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AsetLabel\u0028\u0029", + "name": "setLabel", + "summary": "Sets\u0020label.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_setLabel" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AgetBankCountry\u0028\u0029", + "name": "getBankCountry", + "summary": "Gets\u0020bank\u0020country.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_getBankCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AsetBankCountry\u0028\u0029", + "name": "setBankCountry", + "summary": "Sets\u0020bank\u0020country.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_setBankCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020an\u0020array\u0020with\u0020class\u0020values.", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A\u0024amount", + "name": "amount", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#property_amount" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#property_description" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A\u0024notes", + "name": "notes", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#property_notes" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A\u0024label", + "name": "label", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#property_label" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement\\WithHoldings\u003A\u003A\u0024bankCountry", + "name": "bankCountry", + "summary": "", + "url": "classes/BitPaySDK-Model-Settlement-WithHoldings.html#property_bankCountry" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies", + "name": "Currencies", + "summary": "Details\u0020of\u0020what\u0020currencies\u0020support\u0020payments\u0020for\u0020this\u0020wallet", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetCode\u0028\u0029", + "name": "getCode", + "summary": "Gets\u0020code", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetCode\u0028\u0029", + "name": "setCode", + "summary": "Sets\u0020code", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setCode" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetP2p\u0028\u0029", + "name": "getP2p", + "summary": "Gets\u0020p2p", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getP2p" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetP2p\u0028\u0029", + "name": "setP2p", + "summary": "Sets\u0020p2p", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setP2p" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetDappBrowser\u0028\u0029", + "name": "getDappBrowser", + "summary": "Gets\u0020Dapp\u0020Browser", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getDappBrowser" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetDappBrowser\u0028\u0029", + "name": "setDappBrowser", + "summary": "Sets\u0020Dapp\u0020Browser", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setDappBrowser" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetImage\u0028\u0029", + "name": "getImage", + "summary": "Gets\u0020URL\u0020that\u0020displays\u0020currency\u0020image", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getImage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetImage\u0028\u0029", + "name": "setImage", + "summary": "Sets\u0020URL\u0020that\u0020displays\u0020currency\u0020image", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setImage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetPayPro\u0028\u0029", + "name": "getPayPro", + "summary": "Gets\u0020pay\u0020pro", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getPayPro" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetPayPro\u0028\u0029", + "name": "setPayPro", + "summary": "Sets\u0020pay\u0020pro", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setPayPro" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetQr\u0028\u0029", + "name": "getQr", + "summary": "Gets\u0020CurrencyQr", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getQr" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetQr\u0028\u0029", + "name": "setQr", + "summary": "Sets\u0020CurrencyQr", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setQr" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetWithdrawalFee\u0028\u0029", + "name": "getWithdrawalFee", + "summary": "Gets\u0020Custodial\u0020wallet\u0020withdrawal\u0020fee", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getWithdrawalFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetWithdrawalFee\u0028\u0029", + "name": "setWithdrawalFee", + "summary": "Sets\u0020Custodial\u0020wallet\u0020withdrawal\u0020fee", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setWithdrawalFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AgetWalletConnect\u0028\u0029", + "name": "getWalletConnect", + "summary": "Gets\u0020wallet\u0020connect", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_getWalletConnect" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AsetWalletConnect\u0028\u0029", + "name": "setWalletConnect", + "summary": "Sets\u0020wallet\u0020connect", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_setWalletConnect" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Currencies\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024code", + "name": "code", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_code" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024p2p", + "name": "p2p", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_p2p" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024dappBrowser", + "name": "dappBrowser", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_dappBrowser" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024image", + "name": "image", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_image" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024payPro", + "name": "payPro", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_payPro" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024qr", + "name": "qr", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_qr" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024withdrawalFee", + "name": "withdrawalFee", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_withdrawalFee" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Currencies\u003A\u003A\u0024walletConnect", + "name": "walletConnect", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Currencies.html#property_walletConnect" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr", + "name": "CurrencyQr", + "summary": "Object\u0020containing\u0020QR\u0020code\u0020related\u0020information\u0020to\u0020show\u0020for\u0020this\u0020payment\u0020method", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003AgetType\u0028\u0029", + "name": "getType", + "summary": "Gets\u0020Type", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#method_getType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "Sets\u0020Type", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#method_setType" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003AgetCollapsed\u0028\u0029", + "name": "getCollapsed", + "summary": "Gets\u0020collapsed", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#method_getCollapsed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003AsetCollapsed\u0028\u0029", + "name": "setCollapsed", + "summary": "Sets\u0020collapsed", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#method_setCollapsed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020CurrencyQr\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003A\u0024type", + "name": "type", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#property_type" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\CurrencyQr\u003A\u003A\u0024collapsed", + "name": "collapsed", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-CurrencyQr.html#property_collapsed" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet", + "name": "Wallet", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor,\u0020create\u0020a\u0020minimal\u0020request\u0020Wallet\u0020object.", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AgetKey\u0028\u0029", + "name": "getKey", + "summary": "Gets\u0020A\u0020unique\u0020identifier\u0020for\u0020the\u0020wallet", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_getKey" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AsetKey\u0028\u0029", + "name": "setKey", + "summary": "Sets\u0020A\u0020unique\u0020identifier\u0020for\u0020the\u0020wallet", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_setKey" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AgetDisplayName\u0028\u0029", + "name": "getDisplayName", + "summary": "Gets\u0020display\u0020name", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_getDisplayName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AsetDisplayName\u0028\u0029", + "name": "setDisplayName", + "summary": "Sets\u0020display\u0020name", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_setDisplayName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AgetAvatar\u0028\u0029", + "name": "getAvatar", + "summary": "Gets\u0020avatar", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_getAvatar" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AsetAvatar\u0028\u0029", + "name": "setAvatar", + "summary": "Sets\u0020avatar", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_setAvatar" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AgetPayPro\u0028\u0029", + "name": "getPayPro", + "summary": "Gets\u0020pay\u0020pro", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_getPayPro" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AsetPayPro\u0028\u0029", + "name": "setPayPro", + "summary": "Sets\u0020pay\u0020pro", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_setPayPro" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AgetCurrencies\u0028\u0029", + "name": "getCurrencies", + "summary": "Gets\u0020currencies", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_getCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AsetCurrencies\u0028\u0029", + "name": "setCurrencies", + "summary": "Sets\u0020currencies", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_setCurrencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AgetImage\u0028\u0029", + "name": "getImage", + "summary": "Gets\u0020image", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_getImage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AsetImage\u0028\u0029", + "name": "setImage", + "summary": "Sets\u0020image", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_setImage" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Gets\u0020Wallet\u0020as\u0020array", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#method_toArray" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A\u0024key", + "name": "key", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#property_key" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A\u0024displayName", + "name": "displayName", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#property_displayName" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A\u0024avatar", + "name": "avatar", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#property_avatar" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A\u0024currencies", + "name": "currencies", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#property_currencies" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A\u0024image", + "name": "image", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#property_image" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet\\Wallet\u003A\u003A\u0024payPro", + "name": "payPro", + "summary": "", + "url": "classes/BitPaySDK-Model-Wallet-Wallet.html#property_payPro" + }, { + "fqsen": "\\BitPaySDK\\PosClient", + "name": "PosClient", + "summary": "Class\u0020Client", + "url": "classes/BitPaySDK-PosClient.html" + }, { + "fqsen": "\\BitPaySDK\\PosClient\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor\u0020for\u0020the\u0020BitPay\u0020SDK\u0020to\u0020use\u0020with\u0020the\u0020POS\u0020facade.", + "url": "classes/BitPaySDK-PosClient.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\PosClient\u003A\u003Ainit\u0028\u0029", + "name": "init", + "summary": "Initialize\u0020this\u0020object\u0020with\u0020the\u0020selected\u0020environment.", + "url": "classes/BitPaySDK-PosClient.html#method_init" + }, { + "fqsen": "\\BitPaySDK\\PosClient\u003A\u003AgetCurrencies\u0028\u0029", + "name": "getCurrencies", + "summary": "Fetch\u0020the\u0020supported\u0020currencies.", + "url": "classes/BitPaySDK-PosClient.html#method_getCurrencies" + }, { + "fqsen": "\\BitPaySDK\\PosClient\u003A\u003A\u0024env", + "name": "env", + "summary": "", + "url": "classes/BitPaySDK-PosClient.html#property_env" + }, { + "fqsen": "\\BitPaySDK\\PosClient\u003A\u003A\u0024token", + "name": "token", + "summary": "", + "url": "classes/BitPaySDK-PosClient.html#property_token" + }, { + "fqsen": "\\BitPaySDK\\PosClient\u003A\u003A\u0024RESTcli", + "name": "RESTcli", + "summary": "", + "url": "classes/BitPaySDK-PosClient.html#property_RESTcli" + }, { + "fqsen": "\\BitPaySDK\\Tokens", + "name": "Tokens", + "summary": "Class\u0020Tokens", + "url": "classes/BitPaySDK-Tokens.html" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Tokens\u0020constructor.", + "url": "classes/BitPaySDK-Tokens.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003AloadFromArray\u0028\u0029", + "name": "loadFromArray", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#method_loadFromArray" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003AgetTokenByFacade\u0028\u0029", + "name": "getTokenByFacade", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#method_getTokenByFacade" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003AsetMerchantToken\u0028\u0029", + "name": "setMerchantToken", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#method_setMerchantToken" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003AgetPayoutToken\u0028\u0029", + "name": "getPayoutToken", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#method_getPayoutToken" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003AsetPayoutToken\u0028\u0029", + "name": "setPayoutToken", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#method_setPayoutToken" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003A\u0024merchant", + "name": "merchant", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#property_merchant" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003A\u0024payout", + "name": "payout", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#property_payout" + }, { + "fqsen": "\\BitPaySDK\\Tokens\u003A\u003A\u0024pos", + "name": "pos", + "summary": "", + "url": "classes/BitPaySDK-Tokens.html#property_pos" + }, { + "fqsen": "\\BitPaySDK\\Util\\JsonMapperFactory", + "name": "JsonMapperFactory", + "summary": "", + "url": "classes/BitPaySDK-Util-JsonMapperFactory.html" + }, { + "fqsen": "\\BitPaySDK\\Util\\JsonMapperFactory\u003A\u003Acreate\u0028\u0029", + "name": "create", + "summary": "", + "url": "classes/BitPaySDK-Util-JsonMapperFactory.html#method_create" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli", + "name": "RESTcli", + "summary": "Class\u0020RESTcli", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "RESTcli\u0020constructor.", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method___construct" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003Ainit\u0028\u0029", + "name": "init", + "summary": "Initialize\u0020Client.", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_init" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003Apost\u0028\u0029", + "name": "post", + "summary": "Send\u0020POST\u0020request.", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_post" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003Aget\u0028\u0029", + "name": "get", + "summary": "Send\u0020GET\u0020request.", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_get" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Send\u0020DELETE\u0020request.", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_delete" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Send\u0020PUT\u0020request.", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_update" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003AresponseToJsonString\u0028\u0029", + "name": "responseToJsonString", + "summary": "Convert\u0020Response\u0020object\u0020into\u0020json", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_responseToJsonString" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003AisErrorStatus\u0028\u0029", + "name": "isErrorStatus", + "summary": "", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#method_isErrorStatus" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003A\u0024client", + "name": "client", + "summary": "", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#property_client" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003A\u0024baseUrl", + "name": "baseUrl", + "summary": "", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#property_baseUrl" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003A\u0024ecKey", + "name": "ecKey", + "summary": "", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#property_ecKey" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003A\u0024identity", + "name": "identity", + "summary": "", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#property_identity" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli\\RESTcli\u003A\u003A\u0024proxy", + "name": "proxy", + "summary": "", + "url": "classes/BitPaySDK-Util-RESTcli-RESTcli.html#property_proxy" + }, { + "fqsen": "\\", + "name": "\\", + "summary": "", + "url": "namespaces/default.html" + }, { + "fqsen": "\\BitPaySDK\\Client", + "name": "Client", + "summary": "", + "url": "namespaces/bitpaysdk-client.html" + }, { + "fqsen": "\\BitPaySDK", + "name": "BitPaySDK", + "summary": "", + "url": "namespaces/bitpaysdk.html" + }, { + "fqsen": "\\BitPaySDK\\Exceptions", + "name": "Exceptions", + "summary": "", + "url": "namespaces/bitpaysdk-exceptions.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Bill", + "name": "Bill", + "summary": "", + "url": "namespaces/bitpaysdk-model-bill.html" + }, { + "fqsen": "\\BitPaySDK\\Model", + "name": "Model", + "summary": "", + "url": "namespaces/bitpaysdk-model.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Invoice", + "name": "Invoice", + "summary": "", + "url": "namespaces/bitpaysdk-model-invoice.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Ledger", + "name": "Ledger", + "summary": "", + "url": "namespaces/bitpaysdk-model-ledger.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Payout", + "name": "Payout", + "summary": "", + "url": "namespaces/bitpaysdk-model-payout.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Rate", + "name": "Rate", + "summary": "", + "url": "namespaces/bitpaysdk-model-rate.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Settlement", + "name": "Settlement", + "summary": "", + "url": "namespaces/bitpaysdk-model-settlement.html" + }, { + "fqsen": "\\BitPaySDK\\Model\\Wallet", + "name": "Wallet", + "summary": "", + "url": "namespaces/bitpaysdk-model-wallet.html" + }, { + "fqsen": "\\BitPaySDK\\Util", + "name": "Util", + "summary": "", + "url": "namespaces/bitpaysdk-util.html" + }, { + "fqsen": "\\BitPaySDK\\Util\\RESTcli", + "name": "RESTcli", + "summary": "", + "url": "namespaces/bitpaysdk-util-restcli.html" + } ] +); diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-client.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-client.html new file mode 100644 index 0000000..8815082 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-client.html @@ -0,0 +1,196 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-exceptions.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-exceptions.html new file mode 100644 index 0000000..41bdc3f --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-exceptions.html @@ -0,0 +1,266 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-bill.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-bill.html new file mode 100644 index 0000000..04dda4f --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-bill.html @@ -0,0 +1,183 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                          Bill

                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          BillStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          Contains bill statuses: Can be "draft", "sent", "new", "paid", or "complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          Bill
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          Item
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-invoice.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-invoice.html new file mode 100644 index 0000000..95d1be2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-invoice.html @@ -0,0 +1,208 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                            Invoice

                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            InvoiceStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            The type Invoice status.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            RefundStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Refund status list
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Buyer
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            BuyerProvidedInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Information collected from the buyer during the process of paying an invoice. Initially this object is empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Invoice
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            ItemizedDetails
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Class ItemizedDetails
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            MinerFees
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            MinerFeesItem
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Class MinerFeesItem
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Refund
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Class Refund
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            RefundInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            RefundWebhook
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Class RefundWebhook
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Shopper
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            SupportedTransactionCurrencies
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Class SupportedTransactionCurrencies. The currencies that may be used to pay this invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            SupportedTransactionCurrency
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Class SupportedTransactionCurrency +The currency that may be used to pay this invoice. The values are objects with an "enabled" boolean and option.
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            UniversalCodes
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Object containing wallet-specific URLs for payment protocol.
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-ledger.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-ledger.html new file mode 100644 index 0000000..6d2a7a3 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-ledger.html @@ -0,0 +1,183 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                              Ledger

                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                              + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              Buyer
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              Class Buyer
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              Ledger
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              Class Ledger
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              LedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              Class LedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-payout.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-payout.html new file mode 100644 index 0000000..6676832 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-payout.html @@ -0,0 +1,195 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-rate.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-rate.html new file mode 100644 index 0000000..2de88ba --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-rate.html @@ -0,0 +1,181 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Rate

                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Rate
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Class Rate
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Rates
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Class Rates
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-settlement.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-settlement.html new file mode 100644 index 0000000..6186127 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-settlement.html @@ -0,0 +1,189 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Settlement

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    InvoiceData
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Object containing relevant information from the paid invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    PayoutInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Object containing the settlement info provided by the Merchant in his BitPay account settings.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    RefundInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Object containing information about the refund.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Settlement
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Settlement data object.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    SettlementLedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class SettlementLedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    WithHoldings
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class WithHoldings
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-wallet.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-wallet.html new file mode 100644 index 0000000..cac92df --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model-wallet.html @@ -0,0 +1,183 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Wallet

                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Currencies
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Details of what currencies support payments for this wallet
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      CurrencyQr
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Object containing QR code related information to show for this payment method
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Wallet
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model.html new file mode 100644 index 0000000..1ab6732 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-model.html @@ -0,0 +1,195 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Model

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + Namespaces + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Bill
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Invoice
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Ledger
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Payout
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Rate
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Settlement
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Wallet
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Facade
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Facades named collections of capabilities that can be granted, +such as the ability to create invoices or grant refunds
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Currency
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Object containing currency information
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util-restcli.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util-restcli.html new file mode 100644 index 0000000..62cee2d --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util-restcli.html @@ -0,0 +1,179 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          RESTcli

                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Class RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util.html new file mode 100644 index 0000000..0b2ba36 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk-util.html @@ -0,0 +1,186 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Util

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + Namespaces + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            JsonMapperFactory
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/bitpaysdk.html b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk.html new file mode 100644 index 0000000..65f3155 --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/bitpaysdk.html @@ -0,0 +1,194 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/namespaces/default.html b/vendor/bitpay/sdk/docs/namespaces/default.html new file mode 100644 index 0000000..cc6433c --- /dev/null +++ b/vendor/bitpay/sdk/docs/namespaces/default.html @@ -0,0 +1,173 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                API Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                + Namespaces + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                BitPaySDK
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/Application.html b/vendor/bitpay/sdk/docs/packages/Application.html new file mode 100644 index 0000000..ff779c2 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/Application.html @@ -0,0 +1,330 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Env
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Contains bill statuses: Can be "draft", "sent", "new", "paid", or "complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Facade
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Facades named collections of capabilities that can be granted, +such as the ability to create invoices or grant refunds
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The type Invoice status.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Refund status list
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RecipientReferenceMethod
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  List of recipient reference methods
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LedgerClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientsClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RateClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  SettlementClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  TokenClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  WalletClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillCreationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillDeliveryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BillUpdateException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BitPayException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  CurrencyException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  CurrencyQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceCancellationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceCreationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoicePaymentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceUpdateException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LedgerException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LedgerQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutBatchCancellationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutBatchCreationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutBatchException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutBatchNotificationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutBatchQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutCancellationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutCreationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutNotificationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientCancellationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientCreationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientNotificationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutRecipientUpdateException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutUpdateException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RateException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RateQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundCancellationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundCreationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundNotificationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundUpdateException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  SettlementException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  SettlementQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  WalletException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  WalletQueryException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Currency
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Object containing currency information
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BuyerProvidedInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Information collected from the buyer during the process of paying an invoice. Initially this object is empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  MinerFees
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Shopper
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  UniversalCodes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Object containing wallet-specific URLs for payment protocol.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutGroup
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutGroupFailed
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutTransaction
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Contains the cryptocurrency transaction details for the executed payout.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  InvoiceData
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Object containing relevant information from the paid invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PayoutInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Object containing the settlement info provided by the Merchant in his BitPay account settings.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RefundInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Object containing information about the refund.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Settlement
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Settlement data object.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Currencies
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Details of what currencies support payments for this wallet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  CurrencyQr
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Object containing QR code related information to show for this payment method
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  JsonMapperFactory
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Invoice.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Invoice.html new file mode 100644 index 0000000..78020f0 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Invoice.html @@ -0,0 +1,190 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Invoice

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ItemizedDetails
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class ItemizedDetails
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    MinerFeesItem
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class MinerFeesItem
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refund
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class Refund
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RefundWebhook
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class RefundWebhook
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SupportedTransactionCurrencies
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class SupportedTransactionCurrencies. The currencies that may be used to pay this invoice.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SupportedTransactionCurrency
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class SupportedTransactionCurrency +The currency that may be used to pay this invoice. The values are objects with an "enabled" boolean and option.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Ledger.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Ledger.html new file mode 100644 index 0000000..3ca47a6 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Ledger.html @@ -0,0 +1,183 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Ledger

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Buyer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Class Buyer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Ledger
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Class Ledger
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      LedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Class LedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Payout.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Payout.html new file mode 100644 index 0000000..5a8126a --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Payout.html @@ -0,0 +1,181 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Payout

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PayoutStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Interface PayoutStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        RecipientStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Interface RecipientStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Rate.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Rate.html new file mode 100644 index 0000000..7c9e7c1 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Rate.html @@ -0,0 +1,181 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Rate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Rate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Class Rate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Rates
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Class Rates
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Settlement.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Settlement.html new file mode 100644 index 0000000..6d50fed --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model-Settlement.html @@ -0,0 +1,181 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Settlement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SettlementLedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Class SettlementLedgerEntry
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            WithHoldings
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Class WithHoldings
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model.html new file mode 100644 index 0000000..0a1106a --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Model.html @@ -0,0 +1,178 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Util-RESTcli.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Util-RESTcli.html new file mode 100644 index 0000000..96f6bc4 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Util-RESTcli.html @@ -0,0 +1,179 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RESTcli

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Class RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK-Util.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Util.html new file mode 100644 index 0000000..1943c78 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK-Util.html @@ -0,0 +1,174 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Util

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + Packages + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RESTcli
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/BitPaySDK.html b/vendor/bitpay/sdk/docs/packages/BitPaySDK.html new file mode 100644 index 0000000..14ef487 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/BitPaySDK.html @@ -0,0 +1,174 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    BitPaySDK

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + Packages + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Model
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Util
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/Bitpay.html b/vendor/bitpay/sdk/docs/packages/Bitpay.html new file mode 100644 index 0000000..532237a --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/Bitpay.html @@ -0,0 +1,195 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/Bitpaylight.html b/vendor/bitpay/sdk/docs/packages/Bitpaylight.html new file mode 100644 index 0000000..b5ffcbe --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/Bitpaylight.html @@ -0,0 +1,177 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Bitpaylight

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes, Traits and Enums + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PosClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Class Client
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/packages/default.html b/vendor/bitpay/sdk/docs/packages/default.html new file mode 100644 index 0000000..3773168 --- /dev/null +++ b/vendor/bitpay/sdk/docs/packages/default.html @@ -0,0 +1,176 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/reports/deprecated.html b/vendor/bitpay/sdk/docs/reports/deprecated.html new file mode 100644 index 0000000..6cbf4ac --- /dev/null +++ b/vendor/bitpay/sdk/docs/reports/deprecated.html @@ -0,0 +1,163 @@ + + + + + Documentation » Deprecated elements + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + No deprecated elements have been found in this project. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/reports/errors.html b/vendor/bitpay/sdk/docs/reports/errors.html new file mode 100644 index 0000000..22a8941 --- /dev/null +++ b/vendor/bitpay/sdk/docs/reports/errors.html @@ -0,0 +1,1316 @@ + + + + + Documentation » Compilation errors + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Errors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Table of Contents

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Client.php43
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Bill/Bill.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Bill/BillStatus.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Bill/Item.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Facade.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/Buyer.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/BuyerProvidedInfo.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/Invoice.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/InvoiceStatus.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/ItemizedDetails.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/MinerFees.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/MinerFeesItem.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/Refund.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/RefundInfo.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/RefundStatus.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/RefundWebhook.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/Shopper.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/SupportedTransactionCurrencies.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/SupportedTransactionCurrency.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Invoice/UniversalCodes.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Ledger/Buyer.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Ledger/Ledger.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Ledger/LedgerEntry.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/Payout.php3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/PayoutRecipient.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/PayoutRecipients.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/PayoutStatus.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/PayoutTransaction.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/RecipientReferenceMethod.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Payout/RecipientStatus.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Rate/Rate.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Rate/Rates.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Settlement/InvoiceData.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Settlement/PayoutInfo.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Settlement/RefundInfo.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Settlement/Settlement.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Settlement/SettlementLedgerEntry.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Settlement/WithHoldings.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Wallet/Currencies.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Wallet/CurrencyQr.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              src/BitPaySDK/Model/Wallet/Wallet.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Client.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/create-an-invoice">Create an Invoice</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/update-an-invoice">Update an Invoice</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-an-invoice-by-guid">Retrieve an Invoice by GUID</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-an-invoice-by-guid">Retrieve an Invoice by GUID</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-invoices-filtered-by-query"> +Retrieve Invoices Filtered by Query +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-an-event-token">Retrieve an Event Token</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/cancel-an-invoice">Cancel an Invoice</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/cancel-an-invoice-by-guid">Cancel an Invoice by GUID</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/create-a-refund-request">Create a Refund Request</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/update-a-refund-request">Update a Refund Request</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/update-a-refund-by-guid-request"> +Update a Refund by GUID Request +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-refunds-of-an-invoice"> +Retrieve Refunds of an Invoice +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-a-refund-request">Retrieve a Refund Request</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-a-refund-by-guid-request"> +Retrieve a Refund by GUID Request +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/request-a-refund-notification-to-be-resent"> +Request a Refund Notification to be Resent +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/cancel-a-refund-request">Cancel a Refund Request</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/cancel-a-refund-by-guid-request"> +Cancel a Refund by GUID Request +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-the-supported-wallets"> +Retrieve the Supported Wallets +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/create-a-bill">Create a Bill</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-a-bill">Retrieve a Bill</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-bills-by-status">Retrieve Bills by Status</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/update-a-bill">Update a Bill</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/deliver-a-bill-via-email">Deliver a Bill Via Email</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-all-the-rates-for-a-given-cryptocurrency"> +Retrieve all the rates for a given cryptocurrency +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-the-rates-for-a-cryptocurrency-fiat-pair"> +Retrieve the rates for a cryptocurrency / fiat pair +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-ledger-entries">Retrieve Ledger Entries</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-account-balances">Retrieve Account Balances</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/invite-recipients">Invite Recipients</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-a-recipient">Retrieve a Recipient</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-recipients-by-status"> +Retrieve Recipients by Status +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/update-a-recipient">Update a Recipient</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/remove-a-recipient">Remove a Recipient</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/request-a-recipient-webhook-to-be-resent"> +Request a Recipient Webhook to be Resent +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/create-a-payout">Create a Payout</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-a-payout">Retrieve a Payout</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-payouts-filtered-by-query"> +Retrieve Payouts Filtered by Query +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/cancel-a-payout">Cancel a Payout</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/request-a-payout-webhook-to-be-resent"> +Request a Payout Webhook to be Resent +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/create-payout-group">Create Payout Group</>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/cancel-a-payout-group">Cancel a Payout Group</>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-settlements">Retrieve Settlements</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/retrieve-a-settlement">Retrieve a Settlement</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/fetch-a-reconciliation-report"> +Fetch a Reconciliation Report +</a>" has error "\BitPaySDK\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Bill.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/bills">REST API Bills</a>" has error "\BitPaySDK\Model\Bill\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              BillStatus.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/bills">REST API Bills</a>" has error "\BitPaySDK\Model\Bill\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Item.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://developer.bitpay.com/reference/bills">REST API Bills</a>" has error "\BitPaySDK\Model\Bill\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Facade.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/concepts#facades">REST API facades</a>" has error "\BitPaySDK\Model\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Buyer.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a> + +Allows merchant to pass buyer related information in the invoice object" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              BuyerProvidedInfo.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Invoice.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              InvoiceStatus.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ItemizedDetails.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              MinerFees.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              MinerFeesItem.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Refund.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RefundInfo.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RefundStatus.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RefundWebhook.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/refunds-1">Webhooks refunds</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Shopper.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SupportedTransactionCurrencies.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SupportedTransactionCurrency.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              UniversalCodes.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/invoices">REST API Invoices</a>" has error "\BitPaySDK\Model\Invoice\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Buyer.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/ledgers">REST API Ledgers</a>" has error "\BitPaySDK\Model\Ledger\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Ledger.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/ledgers">REST API Ledgers</a>" has error "\BitPaySDK\Model\Ledger\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              LedgerEntry.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/ledgers">REST API Ledgers</a>" has error "\BitPaySDK\Model\Ledger\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Payout.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.com/api/#rest-api-resources-payouts">Supported ledger currency codes</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.com/api/#rest-api-resources-payouts">Supported ledger currency codes</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              PayoutRecipient.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              PayoutRecipients.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              PayoutStatus.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              PayoutTransaction.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RecipientReferenceMethod.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RecipientStatus.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/payouts">REST API Payouts</a>" has error "\BitPaySDK\Model\Payout\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Rate.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/rates">REST API Rates</a>" has error "\BitPaySDK\Model\Rate\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Rates.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/rates">REST API Rates</a>" has error "\BitPaySDK\Model\Rate\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              InvoiceData.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/settlements">Settlements</a>" has error "\BitPaySDK\Model\Settlement\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              PayoutInfo.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/settlements">Settlements</a>" has error "\BitPaySDK\Model\Settlement\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RefundInfo.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/settlements">Settlements</a>" has error "\BitPaySDK\Model\Settlement\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Settlement.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/settlements">Settlements</a>" has error "\BitPaySDK\Model\Settlement\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SettlementLedgerEntry.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/settlements">Settlements</a>" has error "\BitPaySDK\Model\Settlement\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              WithHoldings.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/settlements">Settlements</a>" has error "\BitPaySDK\Model\Settlement\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Currencies.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/wallets">Wallets</a>" has error "\BitPaySDK\Model\Wallet\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              CurrencyQr.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/wallets">Wallets</a>" has error "\BitPaySDK\Model\Wallet\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Wallet.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ERROR0Tag "see" with body "@see <a href="https://bitpay.readme.io/reference/wallets">Wallets</a>" has error "\BitPaySDK\Model\Wallet\<a" is not a valid Fqsen.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/vendor/bitpay/sdk/docs/reports/markers.html b/vendor/bitpay/sdk/docs/reports/markers.html new file mode 100644 index 0000000..39d0dcb --- /dev/null +++ b/vendor/bitpay/sdk/docs/reports/markers.html @@ -0,0 +1,185 @@ + + + + + Documentation » Markers + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Documentation

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Markers

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Table of Contents

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                src/BitPaySDK/Util/RESTcli/RESTcli.php1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RESTcli.php

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                TypeLineDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                TODO419Temporary fix for legacy response
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/vendor/bitpay/sdk/phpunit.xml b/vendor/bitpay/sdk/phpunit.xml new file mode 100644 index 0000000..5339df4 --- /dev/null +++ b/vendor/bitpay/sdk/phpunit.xml @@ -0,0 +1,24 @@ + + + + + + ./src/BitPaySDK/Util/JsonMapper + + + ./src + + + + + + + + ./test/unit + + + ./test/functional + + + + diff --git a/vendor/bitpay/sdk/ruleset.xml b/vendor/bitpay/sdk/ruleset.xml new file mode 100644 index 0000000..d510f66 --- /dev/null +++ b/vendor/bitpay/sdk/ruleset.xml @@ -0,0 +1,5 @@ + + + BitPay coding standard, based on PSR-12, temporarily excluding some rules. + + diff --git a/vendor/bitpay/sdk/setup/.gitignore b/vendor/bitpay/sdk/setup/.gitignore new file mode 100644 index 0000000..a974277 --- /dev/null +++ b/vendor/bitpay/sdk/setup/.gitignore @@ -0,0 +1,3 @@ +BitPay.config.json +BitPay.config.yml +PrivateKeyName.key \ No newline at end of file diff --git a/vendor/bitpay/sdk/setup/BitPay.config-example.json b/vendor/bitpay/sdk/setup/BitPay.config-example.json new file mode 100644 index 0000000..0fb5584 --- /dev/null +++ b/vendor/bitpay/sdk/setup/BitPay.config-example.json @@ -0,0 +1,25 @@ +{ + "BitPayConfiguration": { + "Environment": "Test", + "EnvConfig": { + "Test": { + "PrivateKeyPath": "null", + "PrivateKeySecret": "null", + "ApiTokens": { + "merchant": "null", + "payout": "null" + }, + "proxy": null + }, + "Prod": { + "PrivateKeyPath": null, + "PrivateKeySecret": null, + "ApiTokens": { + "merchant": null, + "payout": null + }, + "proxy": null + } + } + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/setup/BitPay.config-example.yml b/vendor/bitpay/sdk/setup/BitPay.config-example.yml new file mode 100644 index 0000000..83d8fb0 --- /dev/null +++ b/vendor/bitpay/sdk/setup/BitPay.config-example.yml @@ -0,0 +1,17 @@ +BitPayConfiguration: + Environment: Test + EnvConfig: + Test: + PrivateKeyPath: null + PrivateKeySecret: null + ApiTokens: + merchant: null + payout: null + proxy: null + Prod: + PrivateKeyPath: null + PrivateKeySecret: null + ApiTokens: + merchant: null + payout: null + proxy: null diff --git a/vendor/bitpay/sdk/setup/ConfigGenerator.php b/vendor/bitpay/sdk/setup/ConfigGenerator.php new file mode 100644 index 0000000..7f6fdf1 --- /dev/null +++ b/vendor/bitpay/sdk/setup/ConfigGenerator.php @@ -0,0 +1,243 @@ +load($privateKeyname); +} catch (Exception $ex) { +// Check if the loaded keys is a valid key + if (!$privateKey->isValid()) { + $privateKey->generate(); + } + +// Encrypt and store it securely. +// This Master password could be one for all keys or a different one for each Private Key + $storageEngine->persist($privateKey); +} + +/** + * Generate the public key from the private key every time (no need to store the public key). + **/ +try { + $publicKey = $privateKey->getPublicKey(); +} catch (Exception $ex) { + echo $ex->getMessage(); +} + +/** + * Derive the SIN from the public key. + **/ +try { + $sin = $publicKey->getSin()->__toString(); +} catch (Exception $ex) { + echo $ex->getMessage(); +} + +/** + * Use the SIN to request a pairing code and token. + * The pairing code has to be approved in the BitPay Dashboard + * THIS is just a cUrl example, which explains how to use the key pair for signing requests + **/ +$baseUrl = $isProd ? 'https://bitpay.com' : 'https://test.bitpay.com'; +$env = $isProd ? 'Prod' : 'Test'; + + +$merchantToken = null; +$payoutToken = null; + + +/** + * Request a token for the Merchant facade + */ + +try { + if ($generateMerchantToken) { + $facade = 'merchant'; + + $postData = json_encode( + [ + 'id' => $sin, + 'facade' => $facade, + ]); + + $curlCli = curl_init($baseUrl . "/tokens"); + + curl_setopt( + $curlCli, CURLOPT_HTTPHEADER, [ + 'x-accept-version: 2.0.0', + 'Content-Type: application/json', + 'x-identity' => $publicKey->__toString(), + 'x-signature' => $privateKey->sign($baseUrl . "/tokens".$postData), + ]); + + curl_setopt($curlCli, CURLOPT_CUSTOMREQUEST, 'POST'); + curl_setopt($curlCli, CURLOPT_POSTFIELDS, stripslashes($postData)); + curl_setopt($curlCli, CURLOPT_RETURNTRANSFER, true); + + $result = curl_exec($curlCli); + $resultData = json_decode($result, true); + curl_close($curlCli); + + if (array_key_exists('error', $resultData)) { + echo $resultData['error']; + exit; + } + + /** + * Example of a pairing Code returned from the BitPay API + * which needs to be APPROVED on the BitPay Dashboard before being able to use it. + **/ + $merchantToken = $resultData['data'][0]['token']; + echo "\r\nMerchant Facade\r\n"; + echo " -> Pairing Code: "; + echo $resultData['data'][0]['pairingCode']; + echo "\r\n -> Token: "; + echo $merchantToken; + echo "\r\n"; + + /** End of request **/ + } + + /** + * Repeat the process for the Payout facade + */ + + if ($generatePayoutToken) { + + $facade = 'payout'; + + $postData = json_encode( + [ + 'id' => $sin, + 'facade' => $facade, + ]); + + $curlCli = curl_init($baseUrl . "/tokens"); + + curl_setopt( + $curlCli, CURLOPT_HTTPHEADER, [ + 'x-accept-version: 2.0.0', + 'Content-Type: application/json', + 'x-identity' => $publicKey->__toString(), + 'x-signature' => $privateKey->sign($baseUrl . "/tokens".$postData), + ]); + + curl_setopt($curlCli, CURLOPT_CUSTOMREQUEST, 'POST'); + curl_setopt($curlCli, CURLOPT_POSTFIELDS, stripslashes($postData)); + curl_setopt($curlCli, CURLOPT_RETURNTRANSFER, true); + + $result = curl_exec($curlCli); + $resultData = json_decode($result, true); + curl_close($curlCli); + + if (array_key_exists('error', $resultData)) { + echo $resultData['error']; + exit; + } + + /** + * Example of a pairing Code returned from the BitPay API + * which needs to be APPROVED on the BitPay Dashboard before being able to use it. + **/ + $payoutToken = $resultData['data'][0]['token']; + echo "\r\nPayout Facade\r\n"; + echo " -> Pairing Code: "; + echo $resultData['data'][0]['pairingCode']; + echo "\r\n -> Token: "; + echo $payoutToken; + echo "\r\n"; + + /** End of request **/ + } +} catch (Exception $ex) { + echo $ex->getMessage(); +} + +echo "\r\nPlease, copy the above pairing code/s and approve on your BitPay Account at the following link:\r\n"; +echo $baseUrl . "/dashboard/merchant/api-tokens\r\n"; +echo "\r\nOnce you have this Pairing Code/s approved you can move the generated files to a secure location and start using the Client.\r\n"; + +/** + * Generate Config File + */ + +$config = [ + "BitPayConfiguration" => [ + "Environment" => $env, + "EnvConfig" => [ + 'Test' => [ + "PrivateKeyPath" => $isProd ? null : __DIR__."/".$privateKeyname, + "PrivateKeySecret" => $isProd ? null : $yourMasterPassword, + "ApiTokens" => [ + "merchant" => $isProd ? null : $merchantToken, + "payout" => $isProd ? null : $payoutToken, + ], + "proxy" => $proxy, + ], + 'Prod' => [ + "PrivateKeyPath" => $isProd ? __DIR__."/".$privateKeyname : null, + "PrivateKeySecret" => $isProd ? $yourMasterPassword : null, + "ApiTokens" => [ + "merchant" => $isProd ? $merchantToken : null, + "payout" => $isProd ? $payoutToken : null, + ], + "proxy" => $proxy, + ], + ], + ], +]; + +try { + if ($generateJSONfile) { + $json_data = json_encode($config, JSON_PRETTY_PRINT); + file_put_contents('BitPay.config.json', $json_data); + } + + if ($generateYMLfile) { + $yml_data = Yaml::dump($config, 8, 4, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK); + file_put_contents('BitPay.config.yml', $yml_data); + } +} catch (Exception $ex) { + echo $ex->getMessage(); +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client.php b/vendor/bitpay/sdk/src/BitPaySDK/Client.php new file mode 100644 index 0000000..4d12ca5 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client.php @@ -0,0 +1,1163 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + * @version 8.0.0 + * See bitpay.com/api for more information. + * date 15.11.2021 + */ +class Client +{ + protected Tokens $tokenCache; + protected RESTcli $restCli; + + /** + * Client constructor. + */ + public function __construct(RESTcli $restCli, Tokens $tokenCache) + { + $this->restCli = $restCli; + $this->tokenCache = $tokenCache; + } + + /** + * Constructor for use if the keys and SIN are managed by this library. + * + * @param string $environment Target environment. Options: Env.Test / Env.Prod + * @param string $privateKey Private Key file path or the HEX value. + * @param Tokens $tokens Tokens containing the available tokens. + * @param string|null $privateKeySecret Private Key encryption password. + * @param string|null $proxy The url of your proxy to forward requests through. Example: + * http://********.com:3128 + * @return Client + * @throws BitPayException + */ + public static function createWithData( + string $environment, + string $privateKey, + Tokens $tokens, + ?string $privateKeySecret = null, + ?string $proxy = null + ): Client { + try { + $key = self::initKeys($privateKey, $privateKeySecret); + + $restCli = new RESTcli($environment, $key, $proxy); + $tokenCache = $tokens; + + return new Client($restCli, $tokenCache); + } catch (Exception $e) { + throw new BitPayException("failed to initialize BitPay Client (Config) : " . $e->getMessage()); + } + } + + /** + * Constructor for use if the keys and SIN are managed by this library. + * + * @param string $configFilePath The path to the configuration file. + * @return Client + * @throws BitPayException BitPayException class + */ + public static function createWithFile(string $configFilePath): Client + { + try { + $configData = self::getConfigData($configFilePath); + $env = $configData["BitPayConfiguration"]["Environment"]; + $config = $configData["BitPayConfiguration"]["EnvConfig"][$env]; + + $key = self::initKeys($config['PrivateKeyPath'], $config['PrivateKeySecret']); + + $restCli = new RESTcli($env, $key, $config['proxy']); + $tokenCache = new Tokens($config['ApiTokens']['merchant'], $config['ApiTokens']['payout']); + + return new Client($restCli, $tokenCache); + } catch (Exception $e) { + throw new BitPayException("failed to initialize BitPay Client (Config) : " . $e->getMessage()); + } + } + + /** + * Get Tokens. + * + * @return array + * @throws BitPayException + * @throws \JsonException + */ + public function getTokens(): array + { + $tokenClient = $this->getTokenClient(); + + return $tokenClient->getTokens(); + } + + /** + * Create a BitPay invoice. + * + * @see Create an Invoice + * + * @param Invoice $invoice An Invoice object with request parameters defined. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Invoice + * @throws BitPayException + */ + public function createInvoice( + Invoice $invoice, + string $facade = Facade::MERCHANT, + bool $signRequest = true + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->create($invoice, $facade, $signRequest); + } + + /** + * Update a BitPay invoice. + * + * @see Update an Invoice + * + * @param string $invoiceId The id of the invoice to updated. + * @param string|null $buyerSms The buyer's cell number. + * @param string|null $smsCode The buyer's received verification code. + * @param string|null $buyerEmail The buyer's email address. + * @param bool $autoVerify Skip the user verification on sandbox ONLY. + * @return Invoice + * @throws BitPayException + * @throws InvoiceUpdateException + */ + public function updateInvoice( + string $invoiceId, + ?string $buyerSms, + ?string $smsCode, + ?string $buyerEmail, + bool $autoVerify = false + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->update($invoiceId, $buyerSms, $smsCode, $buyerEmail, $autoVerify); + } + + /** + * Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously + * authorized for the specified facade (the public facade requires no authorization). + * + * @see Retrieve an Invoice by GUID + * + * @param string $invoiceId The id of the invoice to retrieve. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Invoice + * @throws InvoiceQueryException + */ + public function getInvoice( + string $invoiceId, + string $facade = Facade::MERCHANT, + bool $signRequest = true + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->get($invoiceId, $facade, $signRequest); + } + + /** + * Retrieve a BitPay invoice by guid using the specified facade. + * The client must have been previously authorized for the specified facade. + * + * @see Retrieve an Invoice by GUID + * + * @param string $guid The guid of the invoice to retrieve. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Invoice + * @throws InvoiceQueryException + * + */ + public function getInvoiceByGuid( + string $guid, + string $facade = Facade::MERCHANT, + bool $signRequest = true + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->getByGuid($guid, $facade, $signRequest); + } + + /** + * Retrieve a collection of BitPay invoices. + * + * @see + * Retrieve Invoices Filtered by Query + * + * + * @param string $dateStart The start of the date window to query for invoices. Format YYYY-MM-DD. + * @param string $dateEnd The end of the date window to query for invoices. Format YYYY-MM-DD. + * @param string|null $status The invoice status you want to query on. + * @param string|null $orderId The optional order id specified at time of invoice creation. + * @param int|null $limit Maximum results that the query will return (useful for paging results). + * @param int|null $offset Number of results to offset (ex. skip 10 will give you results starting + * with the 11th result). + * @return Invoice[] + * @throws BitPayException + */ + public function getInvoices( + string $dateStart, + string $dateEnd, + string $status = null, + string $orderId = null, + int $limit = null, + int $offset = null + ): array { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->getInvoices($dateStart, $dateEnd, $status, $orderId, $limit, $offset); + } + + /** + * Request a BitPay Invoice Webhook. + * + * @see Retrieve an Event Token + * + * @param string $invoiceId A BitPay invoice ID. + * @return bool True if the webhook was successfully requested, false otherwise. + * @throws InvoiceQueryException + * @throws BitPayException + */ + public function requestInvoiceNotification(string $invoiceId): bool + { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->requestNotification($invoiceId); + } + + /** + * Cancel a BitPay invoice. + * + * @see Cancel an Invoice + * + * @param string $invoiceId The id of the invoice to updated. + * @return Invoice $invoice Cancelled invoice object. + * @throws InvoiceCancellationException + * @throws BitPayException + */ + public function cancelInvoice( + string $invoiceId, + bool $forceCancel = false + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->cancel($invoiceId, $forceCancel); + } + + /** + * Cancel a BitPay invoice. + * + * @see Cancel an Invoice by GUID + * + * @param string $guid The guid of the invoice to cancel. + * @return Invoice $invoice Cancelled invoice object. + * @throws InvoiceCancellationException + * @throws BitPayException + */ + public function cancelInvoiceByGuid( + string $guid, + bool $forceCancel = false + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->cancelByGuid($guid, $forceCancel); + } + + /** + * Pay an invoice with a mock transaction + * + * @param string $invoiceId The id of the invoice. + * @param string $status Status the invoice will become. Acceptable values are confirmed (default) and complete. + * @return Invoice $invoice Invoice object. + * @throws InvoicePaymentException + * @throws BitPayException + */ + public function payInvoice( + string $invoiceId, + string $status = 'confirmed' + ): Invoice { + $invoiceClient = $this->getInvoiceClient(); + + return $invoiceClient->pay($invoiceId, $status); + } + + /** + * Create a refund for a BitPay invoice. + * + * @see Create a Refund Request + * + * @param string $invoiceId The BitPay invoice Id having the associated refund to be created. + * @param float $amount Amount to be refunded in the currency indicated. + * @param string $currency Reference currency used for the refund, usually the same as the currency used + * to create the invoice. + * @param bool $preview Whether to create the refund request as a preview (which will not be acted on + * until status is updated) + * @param bool $immediate Whether funds should be removed from merchant ledger immediately on submission + * or at time of processing + * @param bool $buyerPaysRefundFee Whether the buyer should pay the refund fee (default is merchant) + * @return Refund $refund An updated Refund Object + * @throws RefundCreationException RefundCreationException class + * @throws BitPayException BitPayException class + */ + public function createRefund( + string $invoiceId, + float $amount, + string $currency, + bool $preview = false, + bool $immediate = false, + bool $buyerPaysRefundFee = false, + ?string $guid = null + ): Refund { + $refundClient = $this->getRefundClient(); + + return $refundClient->create($invoiceId, $amount, $currency, $preview, $immediate, $buyerPaysRefundFee, $guid); + } + + /** + * Update the status of a BitPay invoice. + * + * @see Update a Refund Request + * + * @param string $refundId BitPay refund ID. + * @param string $status The new status for the refund to be updated. + * @return Refund $refund Refund A BitPay generated Refund object. + * @throws RefundUpdateException + * @throws BitPayException + */ + public function updateRefund( + string $refundId, + string $status + ): Refund { + $refundClient = $this->getRefundClient(); + + return $refundClient->update($refundId, $status); + } + + /** + * Update the status of a BitPay invoice. + * + * @see + * Update a Refund by GUID Request + * + * + * @param string $guid BitPay refund Guid. + * @param string $status The new status for the refund to be updated. + * @return Refund $refund Refund A BitPay generated Refund object. + * @throws RefundUpdateException + * @throws BitPayException + */ + public function updateRefundByGuid( + string $guid, + string $status + ): Refund { + $refundClient = $this->getRefundClient(); + + return $refundClient->updateByGuid($guid, $status); + } + + /** + * Retrieve all refund requests on a BitPay invoice. + * + * @see + * Retrieve Refunds of an Invoice + * + * + * @param string $invoiceId The BitPay invoice object having the associated refunds. + * @return Refund[] + * @throws RefundQueryException + * @throws BitPayException + */ + public function getRefunds( + string $invoiceId + ): array { + $refundClient = $this->getRefundClient(); + + return $refundClient->getRefunds($invoiceId); + } + + /** + * Retrieve a previously made refund request on a BitPay invoice. + * + * @see Retrieve a Refund Request + * + * @param string $refundId The BitPay refund ID. + * @return Refund $refund BitPay Refund object with the associated Refund object. + * @throws RefundQueryException + * @throws BitPayException + */ + public function getRefund( + string $refundId + ): Refund { + $refundClient = $this->getRefundClient(); + + return $refundClient->get($refundId); + } + + /** + * Retrieve a previously made refund request on a BitPay invoice. + * + * @see + * Retrieve a Refund by GUID Request + * + * + * @param string $guid The BitPay refund Guid + * @return Refund BitPay Refund object with the associated Refund object. + * @throws BitPayException + * @throws RefundQueryException + */ + public function getRefundByGuid(string $guid): Refund + { + $refundClient = $this->getRefundClient(); + + return $refundClient->getByGuid($guid); + } + + /** + * Send a refund notification. + * + * @see + * Request a Refund Notification to be Resent + * + * + * @param string $refundId A BitPay refund ID. + * @return bool $result An updated Refund Object + * @throws RefundCreationException + * @throws BitPayException + */ + public function sendRefundNotification(string $refundId): bool + { + $refundClient = $this->getRefundClient(); + + return $refundClient->sendNotification($refundId); + } + + /** + * Cancel a previously submitted refund request on a BitPay invoice. + * + * @see Cancel a Refund Request + * + * @param string $refundId The refund Id for the refund to be canceled. + * @return Refund $refund Cancelled refund Object. + * @throws RefundCancellationException + * @throws BitPayException + */ + public function cancelRefund(string $refundId): Refund + { + $refundClient = $this->getRefundClient(); + + return $refundClient->cancel($refundId); + } + + /** + * Cancel a previously submitted refund request on a BitPay invoice. + * + * @see + * Cancel a Refund by GUID Request + * + * + * @param string $guid The refund Guid for the refund to be canceled. + * @return Refund $refund Cancelled refund Object. + * @throws RefundCancellationException + * @throws BitPayException + */ + public function cancelRefundByGuid(string $guid): Refund + { + $refundClient = $this->getRefundClient(); + + return $refundClient->cancelByGuid($guid); + } + + /** + * Retrieve all supported wallets. + * + * @see + * Retrieve the Supported Wallets + * + * + * @return Wallet[] + * @throws WalletQueryException + * @throws BitPayException + */ + public function getSupportedWallets(): array + { + $walletClient = $this->getWalletClient(); + + return $walletClient->getSupportedWallets(); + } + + /** + * Create a BitPay Bill. + * + * @see Create a Bill + * + * @param Bill $bill A Bill object with request parameters defined. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Bill + * @throws BitPayException + */ + public function createBill(Bill $bill, string $facade = Facade::MERCHANT, bool $signRequest = true): Bill + { + $billClient = $this->getBillClient(); + + return $billClient->create($bill, $facade, $signRequest); + } + + /** + * Retrieve a BitPay bill by bill id using the specified facade. + * + * @see Retrieve a Bill + * + * @param $billId string The id of the bill to retrieve. + * @param $facade string The facade used to retrieve it. + * @param $signRequest bool Signed request. + * @return Bill + * @throws BitPayException + */ + public function getBill(string $billId, string $facade = Facade::MERCHANT, bool $signRequest = true): Bill + { + $billClient = $this->getBillClient(); + + return $billClient->get($billId, $facade, $signRequest); + } + + /** + * Retrieve a collection of BitPay bills. + * + * @see Retrieve Bills by Status + * + * @param string|null The status to filter the bills. + * @return Bill[] + * @throws BitPayException + */ + public function getBills(string $status = null): array + { + $billClient = $this->getBillClient(); + + return $billClient->getBills($status); + } + + /** + * Update a BitPay Bill. + * + * @see Update a Bill + * + * @param Bill $bill A Bill object with the parameters to update defined. + * @param string $billId The Id of the Bill to update. + * @return Bill + * @throws BitPayException + */ + public function updateBill(Bill $bill, string $billId): Bill + { + $billClient = $this->getBillClient(); + + return $billClient->update($bill, $billId); + } + + /** + * Deliver a BitPay Bill. + * + * @see Deliver a Bill Via Email + * + * @param string $billId The id of the requested bill. + * @param string $billToken The token of the requested bill. + * @param bool $signRequest Allow unsigned request + * @return bool + * @throws BitPayException + */ + public function deliverBill(string $billId, string $billToken, bool $signRequest = true): bool + { + $billClient = $this->getBillClient(); + + return $billClient->deliver($billId, $billToken, $signRequest); + } + + /** + * Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates. + * + * @return Rates + * @throws BitPayException + */ + public function getRates(): Rates + { + $rateClient = $this->getRateClient(); + + return $rateClient->getRates(); + } + + /** + * Retrieve all the rates for a given cryptocurrency + * + * @see + * Retrieve all the rates for a given cryptocurrency + * + * + * @param string $baseCurrency The cryptocurrency for which you want to fetch the rates. + * Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC + * @return Rates A Rates object populated with the currency rates for the requested baseCurrency. + * @throws BitPayException + */ + public function getCurrencyRates(string $baseCurrency): Rates + { + $rateClient = $this->getRateClient(); + + return $rateClient->getCurrencyRates($baseCurrency); + } + + /** + * Retrieve the rate for a cryptocurrency / fiat pair + * + * @see + * Retrieve the rates for a cryptocurrency / fiat pair + * + * + * @param string $baseCurrency The cryptocurrency for which you want to fetch the fiat-equivalent rate. + * Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC + * @param string $currency The fiat currency for which you want to fetch the baseCurrency rate + * @return Rate A Rate object populated with the currency rate for the requested baseCurrency. + * @throws BitPayException + */ + public function getCurrencyPairRate(string $baseCurrency, string $currency): Rate + { + $rateClient = $this->getRateClient(); + + return $rateClient->getCurrencyPairRate($baseCurrency, $currency); + } + + /** + * Retrieve a list of ledgers by date range using the merchant facade. + * + * @see Retrieve Ledger Entries + * + * @param string $currency The three digit currency string for the ledger to retrieve. + * @param string $startDate The first date for the query filter. + * @param string $endDate The last date for the query filter. + * @return LedgerEntry[] A Ledger object populated with the BitPay ledger entries list. + * @throws BitPayException + */ + public function getLedgerEntries(string $currency, string $startDate, string $endDate): array + { + $ledgerClient = $this->getLedgerClient(); + + return $ledgerClient->get($currency, $startDate, $endDate); + } + + /** + * Retrieve a list of ledgers using the merchant facade. + * + * @see Retrieve Account Balances + * + * @return Ledger[] A list of Ledger objects populated with the currency and current balance of each one. + * @throws BitPayException + */ + public function getLedgers(): array + { + $ledgerClient = $this->getLedgerClient(); + + return $ledgerClient->getLedgers(); + } + + /** + * Submit BitPay Payout Recipients. + * + * @see Invite Recipients + * + * @param PayoutRecipients $recipients A PayoutRecipients object with request parameters defined. + * @return PayoutRecipient[] A list of BitPay PayoutRecipients objects. + * @throws PayoutRecipientCreationException + */ + public function submitPayoutRecipients(PayoutRecipients $recipients): array + { + $payoutRecipientsClient = $this->getPayoutRecipientsClient(); + + return $payoutRecipientsClient->submit($recipients); + } + + /** + * Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the + * payout facade. + * + * @see Retrieve a Recipient + * + * @param string $recipientId The id of the recipient to retrieve. + * @return PayoutRecipient + * @throws PayoutQueryException + * @throws Exceptions\PayoutRecipientQueryException + */ + public function getPayoutRecipient(string $recipientId): PayoutRecipient + { + $payoutRecipientsClient = $this->getPayoutRecipientsClient(); + + return $payoutRecipientsClient->get($recipientId); + } + + /** + * Retrieve a collection of BitPay Payout Recipients. + * + * @see + * Retrieve Recipients by Status + * + * + * @param string|null $status The recipient status you want to query on. + * @param int|null $limit Maximum results that the query will return (useful for paging results). + * @param int|null $offset Number of results to offset (ex. skip 10 will give you results + * starting with the 11th result). + * @return PayoutRecipient[] + * @throws BitPayException + */ + public function getPayoutRecipients(string $status = null, int $limit = null, int $offset = null): array + { + $payoutRecipientsClient = $this->getPayoutRecipientsClient(); + + return $payoutRecipientsClient->getPayoutRecipients($status, $limit, $offset); + } + + /** + * Update a Payout Recipient. + * + * @see Update a Recipient + * + * @param string $recipientId The recipient id for the recipient to be updated. + * @param PayoutRecipient $recipient A PayoutRecipient object with updated parameters defined. + * @return PayoutRecipient + * @throws PayoutRecipientUpdateException + */ + public function updatePayoutRecipient(string $recipientId, PayoutRecipient $recipient): PayoutRecipient + { + $payoutRecipientsClient = $this->getPayoutRecipientsClient(); + + return $payoutRecipientsClient->update($recipientId, $recipient); + } + + /** + * Delete a Payout Recipient. + * + * @see Remove a Recipient + * + * @param string $recipientId The recipient id for the recipient to be deleted. + * @return bool True if the recipient was successfully deleted, false otherwise. + * @throws PayoutRecipientCancellationException + */ + public function deletePayoutRecipient(string $recipientId): bool + { + $payoutRecipientsClient = $this->getPayoutRecipientsClient(); + + return $payoutRecipientsClient->delete($recipientId); + } + + /** + * Notify BitPay Payout Recipient. + * + * @see + * Request a Recipient Webhook to be Resent + * + * + * @param string $recipientId The id of the recipient to notify. + * @return bool True if the notification was successfully sent, false otherwise. + * @throws PayoutRecipientNotificationException + */ + public function requestPayoutRecipientNotification(string $recipientId): bool + { + $payoutRecipientsClient = $this->getPayoutRecipientsClient(); + + return $payoutRecipientsClient->requestNotification($recipientId); + } + + /** + * Submit a BitPay Payout. + * + * @see Create a Payout + * + * @param Payout $payout A Payout object with request parameters defined. + * @return Payout + * @throws PayoutCreationException + */ + public function submitPayout(Payout $payout): Payout + { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->submit($payout); + } + + /** + * Retrieve a BitPay payout by payout id using. The client must have been previously authorized + * for the payout facade. + * + * @see Retrieve a Payout + * + * @param string $payoutId The id of the payout to retrieve. + * @return Payout + * @throws PayoutQueryException + */ + public function getPayout(string $payoutId): Payout + { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->get($payoutId); + } + + /** + * Retrieve a collection of BitPay payouts. + * + * @see + * Retrieve Payouts Filtered by Query + * + * + * @param string|null $startDate The start date to filter the Payout Batches. + * @param string|null $endDate The end date to filter the Payout Batches. + * @param string|null $status The status to filter the Payout Batches. + * @param string|null $reference The optional reference specified at payout request creation. + * @param int|null $limit Maximum results that the query will return (useful for paging results). + * @param int|null $offset Number of results to offset (ex. skip 10 will give you results + * starting with the 11th result). + * @return Payout[] + * @throws PayoutQueryException + */ + public function getPayouts( + string $startDate = null, + string $endDate = null, + string $status = null, + string $reference = null, + int $limit = null, + int $offset = null + ): array { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->getPayouts($startDate, $endDate, $status, $reference, $limit, $offset); + } + + /** + * Cancel a BitPay Payout. + * + * @see Cancel a Payout + * + * @param string $payoutId The id of the payout to cancel. + * @return bool + * @throws PayoutCancellationException + */ + public function cancelPayout(string $payoutId): bool + { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->cancel($payoutId); + } + + /** + * Notify BitPay Payout. + * + * @see + * Request a Payout Webhook to be Resent + * + * + * @param string $payoutId The id of the Payout to notify. + * @return bool + * @throws PayoutNotificationException BitPayException class + */ + public function requestPayoutNotification(string $payoutId): bool + { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->requestNotification($payoutId); + } + + /** + * @see Create Payout Group + * + * @param Payout[] $payouts + * @return PayoutGroup + * @throws PayoutCreationException + */ + public function createPayoutGroup(array $payouts): PayoutGroup + { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->createGroup($payouts); + } + + /** + * @see Cancel a Payout Group + * + * @param string $groupId + * @return PayoutGroup + * @throws PayoutCancellationException + */ + public function cancelPayoutGroup(string $groupId): PayoutGroup + { + $payoutClient = $this->getPayoutClient(); + + return $payoutClient->cancelGroup($groupId); + } + + /** + * Retrieves settlement reports for the calling merchant filtered by query. + * The `limit` and `offset` parameters + * specify pages for large query sets. + * + * @see Retrieve Settlements + * + * @param $currency string The three digit currency string for the ledger to retrieve. + * @param $dateStart string The start date for the query. + * @param $dateEnd string The end date for the query. + * @param string|null $status string Can be `processing`, `completed`, or `failed`. + * @param int|null $limit int Maximum number of settlements to retrieve. + * @param int|null $offset int Offset for paging. + * @return Settlement[] + * @throws BitPayException + */ + public function getSettlements( + string $currency, + string $dateStart, + string $dateEnd, + string $status = null, + int $limit = null, + int $offset = null + ): array { + $settlementsClient = $this->getSettlementClient(); + + return $settlementsClient->getSettlements($currency, $dateStart, $dateEnd, $status, $limit, $offset); + } + + /** + * Retrieves a summary of the specified settlement. + * + * @see Retrieve a Settlement + * + * @param string $settlementId Settlement Id. + * @return Settlement + * @throws BitPayException + */ + public function getSettlement(string $settlementId): Settlement + { + $settlementsClient = $this->getSettlementClient(); + + return $settlementsClient->get($settlementId); + } + + /** + * Gets a detailed reconciliation report of the activity within the settlement period. + * + * @see + * Fetch a Reconciliation Report + * + * + * @param Settlement $settlement Settlement to generate report for. + * @return Settlement + * @throws BitPayException + */ + public function getSettlementReconciliationReport(Settlement $settlement): Settlement + { + $settlementsClient = $this->getSettlementClient(); + + return $settlementsClient->getReconciliationReport($settlement); + } + + /** + * @param string|null $privateKey + * @param string|null $privateKeySecret + * @return PrivateKey|null + * @throws BitPayException + * @throws Exception + */ + private static function initKeys(?string $privateKey, ?string $privateKeySecret): ?PrivateKey + { + $key = null; + + if (!file_exists($privateKey)) { + $key = new PrivateKey("plainHex"); + $key->setHex($privateKey); + if (!$key->isValid()) { + throw new BitPayException("Private Key not found/valid"); + } + } + + if (!$key) { + $storageEngine = new EncryptedFilesystemStorage($privateKeySecret); + $key = $storageEngine->load($privateKey); + } + + return $key; + } + + /** + * @param string $configFilePath + * @return array + * @throws BitPayException + */ + private static function getConfigData(string $configFilePath): array + { + if (!file_exists($configFilePath)) { + throw new BitPayException("Configuration file not found"); + } + + try { + $configData = json_decode(file_get_contents($configFilePath), true, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $e) { + $configData = Yaml::parseFile($configFilePath); + } + + return $configData; + } + + /** + * Gets token client + * + * @return TokenClient + */ + private function getTokenClient(): TokenClient + { + return TokenClient::getInstance($this->restCli); + } + + /** + * Gets invoice client + * + * @return InvoiceClient the invoice client + */ + protected function getInvoiceClient(): InvoiceClient + { + return InvoiceClient::getInstance($this->tokenCache, $this->restCli); + } + + /** + * Gets refund client + * + * @return RefundClient the refund client + */ + protected function getRefundClient(): RefundClient + { + return RefundClient::getInstance($this->tokenCache, $this->restCli); + } + + /** + * Gets wallet client + * + * @return WalletClient the wallet client + */ + protected function getWalletClient(): WalletClient + { + return WalletClient::getInstance($this->restCli); + } + + /** + * Gets bill client + * + * @return BillClient the bill client + */ + protected function getBillClient(): BillClient + { + return BillClient::getInstance($this->tokenCache, $this->restCli); + } + + /** + * Gets rate client + * + * @return RateClient the rate client + */ + protected function getRateClient(): RateClient + { + return RateClient::getInstance($this->restCli); + } + + /** + * Gets ledger client + * + * @return LedgerClient the ledger client + */ + protected function getLedgerClient(): LedgerClient + { + return LedgerClient::getInstance($this->tokenCache, $this->restCli); + } + + /** + * Gets payout recipients client + * + * @return PayoutRecipientsClient the payout recipients client + */ + protected function getPayoutRecipientsClient(): PayoutRecipientsClient + { + return PayoutRecipientsClient::getInstance($this->tokenCache, $this->restCli); + } + + /** + * Gets payout client + * + * @return PayoutClient the payout client + */ + protected function getPayoutClient(): PayoutClient + { + return PayoutClient::getInstance($this->tokenCache, $this->restCli); + } + + /** + * Gets settlement client + * + * @return SettlementClient the settlements client + */ + protected function getSettlementClient(): SettlementClient + { + return SettlementClient::getInstance($this->tokenCache, $this->restCli); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/BillClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/BillClient.php new file mode 100644 index 0000000..fdd1d5f --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/BillClient.php @@ -0,0 +1,263 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Bill Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Create a BitPay Bill. + * + * @param Bill $bill A Bill object with request parameters defined. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Bill + * @throws BitPayException + */ + public function create(Bill $bill, string $facade = Facade::MERCHANT, bool $signRequest = true): Bill + { + try { + $bill->setToken($this->tokenCache->getTokenByFacade($facade)); + + $responseJson = $this->restCli->post("bills", $bill->toArray(), $signRequest); + } catch (BitPayException $e) { + throw new BillCreationException( + "failed to serialize Bill object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new BillCreationException("failed to serialize Bill object : " . $e->getMessage()); + } + + try { + return $this->mapJsonToBillClass($responseJson); + } catch (Exception $e) { + throw new BillCreationException( + "failed to deserialize BitPay server response (Bill) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a BitPay bill by bill id using the specified facade. + * + * @param $billId string The id of the bill to retrieve. + * @param $facade string The facade used to retrieve it. + * @param $signRequest bool Signed request. + * @return Bill + * @throws BitPayException + */ + public function get(string $billId, string $facade = Facade::MERCHANT, bool $signRequest = true): Bill + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade($facade); + + $responseJson = $this->restCli->get("bills/" . $billId, $params, $signRequest); + } catch (BitPayException $e) { + throw new BillQueryException( + "failed to serialize Bill object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new BillQueryException("failed to serialize Bill object : " . $e->getMessage()); + } + + try { + return $this->mapJsonToBillClass($responseJson); + } catch (Exception $e) { + throw new BillQueryException( + "failed to deserialize BitPay server response (Bill) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a collection of BitPay bills. + * + * @param string|null The status to filter the bills. + * @return Bill[] + * @throws BitPayException + */ + public function getBills(string $status = null): array + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + if ($status) { + $params["status"] = $status; + } + + $responseJson = $this->restCli->get("bills", $params); + } catch (BitPayException $e) { + throw new BillQueryException( + "failed to serialize Bill object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new BillQueryException("failed to serialize Bill object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + $bills = $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Bill::class + ); + } catch (Exception $e) { + throw new BillQueryException( + "failed to deserialize BitPay server response (Bill) : " . $e->getMessage() + ); + } + + return $bills; + } + + /** + * Update a BitPay Bill. + * + * @param Bill $bill A Bill object with the parameters to update defined. + * @param string $billId The Id of the Bill to update. + * @return Bill + * @throws BitPayException + */ + public function update(Bill $bill, string $billId): Bill + { + try { + $billToken = $this->get($bill->getId())->getToken(); + $bill->setToken($billToken); + + $responseJson = $this->restCli->update("bills/" . $billId, $bill->toArray()); + } catch (BitPayException $e) { + throw new BillUpdateException( + "failed to serialize Bill object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new BillUpdateException("failed to serialize Bill object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + $bill + ); + } catch (Exception $e) { + throw new BillUpdateException("failed to deserialize BitPay server response (Bill) : " . $e->getMessage()); + } + } + + /** + * Deliver a BitPay Bill. + * + * @param string $billId The id of the requested bill. + * @param string $billToken The token of the requested bill. + * @param bool $signRequest Allow unsigned request + * @return bool + * @throws BitPayException + */ + public function deliver(string $billId, string $billToken, bool $signRequest = true): bool + { + try { + $responseJson = $this->restCli->post( + "bills/" . $billId . "/deliveries", + ['token' => $billToken], + $signRequest + ); + } catch (BitPayException $e) { + throw new BillDeliveryException( + "failed to serialize Bill object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new BillDeliveryException("failed to serialize Bill object : " . $e->getMessage()); + } + + try { + $result = str_replace("\"", "", $responseJson); + + return strtolower($result) === 'success'; + } catch (Exception $e) { + throw new BillDeliveryException( + "failed to deserialize BitPay server response (Bill) : " . $e->getMessage() + ); + } + } + + /** + * @param string|null $responseJson + * @return mixed + * @throws \JsonException + * @throws \JsonMapper_Exception + */ + private function mapJsonToBillClass(?string $responseJson): mixed + { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Bill() + ); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/InvoiceClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/InvoiceClient.php new file mode 100644 index 0000000..ca72749 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/InvoiceClient.php @@ -0,0 +1,516 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Invoice Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Create a BitPay invoice. + * + * @param Invoice $invoice An Invoice object with request parameters defined. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Invoice + * @throws BitPayException + */ + public function create( + Invoice $invoice, + string $facade = Facade::MERCHANT, + bool $signRequest = true + ): Invoice { + try { + $invoice->setToken($this->tokenCache->getTokenByFacade($facade)); + $invoice->setGuid(Util::guid()); + + $responseJson = $this->restCli->post("invoices", $invoice->toArray(), $signRequest); + } catch (BitPayException $e) { + throw new InvoiceCreationException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceCreationException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoiceCreationException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Update a BitPay invoice. + * + * @param string $invoiceId The id of the invoice to updated. + * @param string|null $buyerSms The buyer's cell number. + * @param string|null $smsCode The buyer's received verification code. + * @param string|null $buyerEmail The buyer's email address. + * @param false $autoVerify Skip the user verification on sandbox ONLY. + * @return Invoice + * @throws InvoiceUpdateException + */ + public function update( + string $invoiceId, + ?string $buyerSms, + ?string $smsCode, + ?string $buyerEmail, + bool $autoVerify = false + ): Invoice { + // Updating the invoice will require EITHER SMS or E-mail, but not both. + if ($this->buyerEmailOrSms($buyerEmail, $buyerSms)) { + throw new InvoiceUpdateException("Updating the invoice requires buyerSms or buyerEmail, but not both."); + } + + // smsCode required only when verifying SMS, except when autoVerify is true. + if ($this->isSmsCodeRequired($autoVerify, $buyerSms, $smsCode)) { + throw new InvoiceUpdateException( + "Updating the invoice requires both buyerSms and smsCode when verifying SMS." + ); + } + + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["buyerEmail"] = $buyerEmail; + $params["buyerSms"] = $buyerSms; + $params["smsCode"] = $smsCode; + $params["autoVerify"] = $autoVerify; + + $responseJson = $this->restCli->update("invoices/" . $invoiceId, $params); + } catch (BitPayException $e) { + throw new InvoiceUpdateException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceUpdateException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoiceUpdateException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a BitPay invoice by invoice id using the specified facade. The client must have been previously + * authorized for the specified facade (the public facade requires no authorization). + * + * @param string $invoiceId The id of the invoice to retrieve. + * @param string $facade The facade used to create it. + * @param bool $signRequest Signed request. + * @return Invoice + * @throws InvoiceQueryException + */ + public function get( + string $invoiceId, + string $facade = Facade::MERCHANT, + bool $signRequest = true + ): Invoice { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade($facade); + + $responseJson = $this->restCli->get("invoices/" . $invoiceId, $params, $signRequest); + } catch (BitPayException $e) { + throw new InvoiceQueryException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceQueryException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoiceQueryException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * @param string $guid + * @param string $facade + * @param bool $signRequest + * @return Invoice + * @throws InvoiceQueryException + */ + public function getByGuid( + string $guid, + string $facade = Facade::MERCHANT, + bool $signRequest = true + ): Invoice { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade($facade); + + $responseJson = $this->restCli->get("invoices/guid/" . $guid, $params, $signRequest); + } catch (BitPayException $e) { + throw new InvoiceQueryException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceQueryException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoiceQueryException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a collection of BitPay invoices. + * + * @param string $dateStart The start of the date window to query for invoices. Format YYYY-MM-DD. + * @param string $dateEnd The end of the date window to query for invoices. Format YYYY-MM-DD. + * @param string|null $status The invoice status you want to query on. + * @param string|null $orderId The optional order id specified at time of invoice creation. + * @param int|null $limit Maximum results that the query will return (useful for paging results). + * @param int|null $offset Number of results to offset (ex. skip 10 will give you results starting + * with the 11th result). + * @return Invoice[] + * @throws BitPayException + */ + public function getInvoices( + string $dateStart, + string $dateEnd, + string $status = null, + string $orderId = null, + int $limit = null, + int $offset = null + ): array { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["dateStart"] = $dateStart; + $params["dateEnd"] = $dateEnd; + if ($status) { + $params["status"] = $status; + } + if ($orderId) { + $params["orderId"] = $orderId; + } + if ($limit) { + $params["limit"] = $limit; + } + if ($offset) { + $params["offset"] = $offset; + } + + $responseJson = $this->restCli->get("invoices", $params); + } catch (BitPayException $e) { + throw new InvoiceQueryException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceQueryException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Invoice::class + ); + } catch (Exception $e) { + throw new InvoiceQueryException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Request a BitPay Invoice Webhook. + * + * @param string $invoiceId A BitPay invoice ID. + * @return bool True if the webhook was successfully requested, false otherwise. + * @throws InvoiceQueryException + * @throws BitPayException + */ + public function requestNotification(string $invoiceId): bool + { + try { + $params = ['token' => $this->tokenCache->getTokenByFacade(Facade::MERCHANT)]; + } catch (BitPayException $e) { + throw new InvoiceQueryException( + "failed to serialize invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceQueryException("failed to serialize invoice object : " . $e->getMessage()); + } + + try { + $responseJson = $this->restCli->post("invoices/" . $invoiceId . "/notifications", $params); + + return strtolower($responseJson) === "success"; + } catch (Exception $e) { + throw new InvoiceQueryException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Cancel a BitPay invoice. + * + * @param string $invoiceId The id of the invoice to updated. + * @return Invoice $invoice Cancelled invoice object. + * @throws InvoiceCancellationException + * @throws BitPayException + */ + public function cancel( + string $invoiceId, + bool $forceCancel = false + ): Invoice { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + if ($forceCancel) { + $params["forceCancel"] = $forceCancel; + } + + $responseJson = $this->restCli->delete("invoices/" . $invoiceId, $params); + } catch (BitPayException $e) { + throw new InvoiceCancellationException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceCancellationException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoiceCancellationException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Cancel a BitPay invoice. + * + * @param string $guid The guid of the invoice to cancel. + * @return Invoice $invoice Cancelled invoice object. + * @throws InvoiceCancellationException + * @throws BitPayException + */ + public function cancelByGuid( + string $guid, + bool $forceCancel = false + ): Invoice { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + if ($forceCancel) { + $params["forceCancel"] = $forceCancel; + } + + $responseJson = $this->restCli->delete("invoices/guid/" . $guid, $params); + } catch (BitPayException $e) { + throw new InvoiceCancellationException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoiceCancellationException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoiceCancellationException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Pay an invoice with a mock transaction + * + * @param string $invoiceId The id of the invoice. + * @param string $status Status the invoice will become. Acceptable values are confirmed (default) and complete. + * @return Invoice $invoice Invoice object. + * @throws InvoicePaymentException + * @throws BitPayException + */ + public function pay( + string $invoiceId, + string $status = 'confirmed' + ): Invoice { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["status"] = $status; + $responseJson = $this->restCli->update("invoices/pay/" . $invoiceId, $params); + } catch (BitPayException $e) { + throw new InvoicePaymentException( + "failed to serialize Invoice object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new InvoicePaymentException("failed to serialize Invoice object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Invoice() + ); + } catch (Exception $e) { + throw new InvoicePaymentException( + "failed to deserialize BitPay server response (Invoice) : " . $e->getMessage() + ); + } + } + + /** + * Check if buyerEmail or buyerSms is present, and not both. + * + * @param string|null $buyerEmail The buyer's email address. + * @param string|null $buyerSms The buyer's cell number. + * + * @return bool + */ + private function buyerEmailOrSms(?string $buyerEmail, ?string $buyerSms): bool + { + return (empty($buyerSms) && empty($buyerEmail)) || (!empty($buyerSms) && empty(!$buyerEmail)); + } + + /** + * Check if smsCode is required. + * + * @param bool $autoVerify Skip the user verification on sandbox ONLY. + * @param string $buyerSms The buyer's cell number. + * @param string $smsCode The buyer's received verification code. + * @return bool + */ + private function isSmsCodeRequired(bool $autoVerify, string $buyerSms, string $smsCode): bool + { + return ($autoVerify === false && + (!empty($buyerSms) && empty($smsCode))) || (!empty($smsCode) && empty($buyerSms)); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/LedgerClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/LedgerClient.php new file mode 100644 index 0000000..f37e6f5 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/LedgerClient.php @@ -0,0 +1,142 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Ledger Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Retrieve a list of ledgers by date range using the merchant facade. + * + * @param string $currency The three digit currency string for the ledger to retrieve. + * @param string $startDate The first date for the query filter. + * @param string $endDate The last date for the query filter. + * @return LedgerEntry[] A Ledger object populated with the BitPay ledger entries list. + * @throws LedgerQueryException + */ + public function get(string $currency, string $startDate, string $endDate): array + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + if ($currency) { + $params["currency"] = $currency; + } + if ($currency) { + $params["startDate"] = $startDate; + } + if ($currency) { + $params["endDate"] = $endDate; + } + + $responseJson = $this->restCli->get("ledgers/" . $currency, $params); + } catch (BitPayException $e) { + throw new LedgerQueryException( + "failed to serialize Ledger object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new LedgerQueryException("failed to serialize Ledger object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + $ledger = $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + LedgerEntry::class + ); + } catch (Exception $e) { + throw new LedgerQueryException( + "failed to deserialize BitPay server response (Ledger) : " . $e->getMessage() + ); + } + + return $ledger; + } + + /** + * Retrieve a list of ledgers using the merchant facade. + * + * @return Ledger[] A list of Ledger objects populated with the currency and current balance of each one. + * @throws BitPayException + */ + public function getLedgers(): array + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + $responseJson = $this->restCli->get("ledgers", $params); + } catch (BitPayException $e) { + throw new LedgerQueryException( + "failed to serialize Ledger object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new LedgerQueryException("failed to serialize Ledger object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + $ledgers = $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Ledger::class + ); + } catch (Exception $e) { + throw new LedgerQueryException( + "failed to deserialize BitPay server response (Ledger) : " . $e->getMessage() + ); + } + + return $ledgers; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutClient.php new file mode 100644 index 0000000..7e649ff --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutClient.php @@ -0,0 +1,372 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Payout Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Submit a BitPay Payout. + * + * @param Payout $payout A Payout object with request parameters defined. + * @return Payout + * @throws PayoutCreationException + */ + public function submit(Payout $payout): Payout + { + try { + $payout->setToken($this->tokenCache->getTokenByFacade(Facade::PAYOUT)); + + $payout->formatAmount(2); + + $responseJson = $this->restCli->post("payouts", $payout->toArray()); + } catch (BitPayException $e) { + throw new PayoutCreationException( + "failed to serialize Payout object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutCreationException("failed to serialize Payout object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Payout() + ); + } catch (Exception $e) { + throw new PayoutCreationException( + "failed to deserialize BitPay server response (Payout) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a BitPay payout by payout id using. The client must have been previously authorized + * for the payout facade. + * + * @param string $payoutId The id of the payout to retrieve. + * @return Payout + * @throws PayoutQueryException + */ + public function get(string $payoutId): Payout + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + $responseJson = $this->restCli->get("payouts/" . $payoutId, $params); + } catch (BitPayException $e) { + throw new PayoutQueryException( + "failed to serialize Payout object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutQueryException("failed to serialize Payout object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Payout() + ); + } catch (Exception $e) { + throw new PayoutQueryException( + "failed to deserialize BitPay server response (Payout) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a collection of BitPay payouts. + * + * @param string|null $startDate The start date to filter the Payout Batches. + * @param string|null $endDate The end date to filter the Payout Batches. + * @param string|null $status The status to filter the Payout Batches. + * @param string|null $reference The optional reference specified at payout request creation. + * @param int|null $limit Maximum results that the query will return (useful for paging results). + * @param int|null $offset Number of results to offset (ex. skip 10 will give you results + * starting with the 11th result). + * @return Payout[] + * @throws PayoutQueryException + */ + public function getPayouts( + string $startDate = null, + string $endDate = null, + string $status = null, + string $reference = null, + int $limit = null, + int $offset = null + ): array { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + if ($startDate) { + $params["startDate"] = $startDate; + } + if ($endDate) { + $params["endDate"] = $endDate; + } + if ($status) { + $params["status"] = $status; + } + if ($reference) { + $params["reference"] = $reference; + } + if ($limit) { + $params["limit"] = $limit; + } + if ($offset) { + $params["offset"] = $offset; + } + + $responseJson = $this->restCli->get("payouts", $params); + } catch (BitPayException $e) { + throw new PayoutQueryException( + "failed to serialize Payout object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutQueryException("failed to serialize Payout object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Payout::class + ); + } catch (Exception $e) { + throw new PayoutQueryException( + "failed to deserialize BitPay server response (Payout) : " . $e->getMessage() + ); + } + } + + /** + * Cancel a BitPay Payout. + * + * @param string $payoutId The id of the payout to cancel. + * @return bool + * @throws PayoutCancellationException + */ + public function cancel(string $payoutId): bool + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + $responseJson = $this->restCli->delete("payouts/" . $payoutId, $params); + } catch (BitPayException $e) { + throw new PayoutCancellationException( + "failed to serialize Payout object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutCancellationException("failed to serialize Payout object : " . $e->getMessage()); + } + + try { + $result = json_decode($responseJson, false, 512, JSON_THROW_ON_ERROR); + + return strtolower($result->status) === "success"; + } catch (Exception $e) { + throw new PayoutCancellationException( + "failed to deserialize BitPay server response (Payout) : " . $e->getMessage() + ); + } + } + + /** + * Notify BitPay Payout. + * + * @param string $payoutId The id of the Payout to notify. + * @return bool + * @throws PayoutNotificationException BitPayException class + */ + public function requestNotification(string $payoutId): bool + { + try { + $content = []; + $content["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + $responseJson = $this->restCli->post("payouts/" . $payoutId . "/notifications", $content); + } catch (BitPayException $e) { + throw new PayoutNotificationException( + "failed to serialize Payout object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutNotificationException("failed to serialize Payout object : " . $e->getMessage()); + } + + try { + $result = json_decode($responseJson, false, 512, JSON_THROW_ON_ERROR); + + return strtolower($result->status) === "success"; + } catch (Exception $e) { + throw new PayoutNotificationException( + "failed to deserialize BitPay server response (Payout) : " . $e->getMessage() + ); + } + } + + /** + * @param Payout[] $payouts + * @throws PayoutCreationException + */ + public function createGroup(array $payouts): PayoutGroup + { + try { + $request = []; + $request['token'] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + } catch (Exception $e) { + throw new PayoutCreationException("Missing facade token"); + } + + try { + foreach ($payouts as $payout) { + $request['instructions'][] = $payout->toArray(); + } + + $responseJson = $this->restCli->post("payouts/group", $request); + } catch (BitPayException $e) { + throw new PayoutCreationException( + "failed to serialize Payout object : " . $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutCreationException("failed to serialize Payout object : " . $e->getMessage()); + } + + return $this->getPayoutGroupResponse($responseJson, 'created'); + } + + /** + * @throws PayoutCancellationException + */ + public function cancelGroup(string $groupId): PayoutGroup + { + try { + $request = []; + $request['token'] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + } catch (Exception $e) { + throw new PayoutCancellationException("Missing facade token"); + } + + try { + $responseJson = $this->restCli->delete("payouts/group/" . $groupId, $request); + + return $this->getPayoutGroupResponse($responseJson, 'cancelled'); + } catch (BitPayException $e) { + throw new PayoutCancellationException( + "failed to serialize Payout object : " . $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutCancellationException("failed to serialize Payout object : " . $e->getMessage()); + } + } + + /** + * @param string $responseJson + * @param string $responseType completed/cancelled + * @return PayoutGroup + * @throws PayoutCreationException + */ + private function getPayoutGroupResponse(string $responseJson, string $responseType): PayoutGroup + { + try { + $mapper = JsonMapperFactory::create(); + $response = json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR); + + if (!array_key_exists($responseType, $response)) { + throw new \RuntimeException(print_r($response, true)); + } + + $payouts = $mapper->mapArray($response[$responseType], [], Payout::class); + $mapper->bIgnoreVisibility = true; + $failed = $mapper->mapArray($response['failed'], [], PayoutGroupFailed::class); + + $payoutGroup = new PayoutGroup(); + $payoutGroup->setPayouts($payouts); + $payoutGroup->setFailed($failed); + + return $payoutGroup; + } catch (Exception $e) { + throw new PayoutCreationException( + "failed to deserialize BitPay server response (Payout) : " . $e->getMessage() + ); + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutRecipientsClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutRecipientsClient.php new file mode 100644 index 0000000..95008d0 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/PayoutRecipientsClient.php @@ -0,0 +1,313 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Payout Recipients Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Submit BitPay Payout Recipients. + * + * @param PayoutRecipients $recipients A PayoutRecipients object with request parameters defined. + * @return PayoutRecipients[] A list of BitPay PayoutRecipients objects. + * @throws PayoutRecipientCreationException + */ + public function submit(PayoutRecipients $recipients): array + { + try { + $recipients->setToken($this->tokenCache->getTokenByFacade(Facade::PAYOUT)); + $recipients->setGuid(Util::guid()); + + $responseJson = $this->restCli->post("recipients", $recipients->toArray()); + } catch (BitPayException $e) { + throw new PayoutRecipientCreationException( + "failed to serialize PayoutRecipients object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutRecipientCreationException( + "failed to serialize PayoutRecipients object : " . $e->getMessage() + ); + } + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + PayoutRecipient::class + ); + } catch (Exception $e) { + throw new PayoutRecipientCreationException( + "failed to deserialize BitPay server response (PayoutRecipients) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a BitPay payout recipient by batch id using. The client must have been previously authorized for the + * payout facade. + * + * @param string $recipientId The id of the recipient to retrieve. + * @return PayoutRecipient + * @throws PayoutQueryException|PayoutRecipientQueryException + */ + public function get(string $recipientId): PayoutRecipient + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + $responseJson = $this->restCli->get("recipients/" . $recipientId, $params); + } catch (BitPayException $e) { + throw new PayoutRecipientQueryException( + "failed to serialize PayoutRecipients object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutRecipientQueryException("failed to serialize PayoutRecipient object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new PayoutRecipient() + ); + } catch (Exception $e) { + throw new PayoutQueryException( + "failed to deserialize BitPay server response (PayoutRecipient) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a collection of BitPay Payout Recipients. + * + * @param string|null $status The recipient status you want to query on. + * @param int|null $limit Maximum results that the query will return (useful for paging results). + * @param int|null $offset Number of results to offset (ex. skip 10 will give you results + * starting with the 11th result). + * @return PayoutRecipient[] + * @throws BitPayException + */ + public function getPayoutRecipients(string $status = null, int $limit = null, int $offset = null): array + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + if ($status) { + $params["status"] = $status; + } + if ($limit) { + $params["limit"] = $limit; + } + if ($offset) { + $params["offset"] = $offset; + } + + $responseJson = $this->restCli->get("recipients", $params); + } catch (BitPayException $e) { + throw new PayoutRecipientQueryException( + "failed to serialize PayoutRecipients object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutRecipientQueryException( + "failed to serialize PayoutRecipients object : " . $e->getMessage() + ); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + PayoutRecipient::class + ); + } catch (Exception $e) { + throw new PayoutRecipientQueryException( + "failed to deserialize BitPay server response (PayoutRecipients) : " . $e->getMessage() + ); + } + } + + /** + * Update a Payout Recipient. + * + * @param string $recipientId The recipient id for the recipient to be updated. + * @param PayoutRecipient $recipient A PayoutRecipient object with updated parameters defined. + * @return PayoutRecipient + * @throws PayoutRecipientUpdateException + */ + public function update(string $recipientId, PayoutRecipient $recipient): PayoutRecipient + { + try { + $recipient->setToken($this->tokenCache->getTokenByFacade(Facade::PAYOUT)); + + $responseJson = $this->restCli->update("recipients/" . $recipientId, $recipient->toArray()); + } catch (BitPayException $e) { + throw new PayoutRecipientUpdateException( + "failed to serialize PayoutRecipient object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutRecipientUpdateException( + "failed to serialize PayoutRecipient object : " . $e->getMessage() + ); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new PayoutRecipient() + ); + } catch (Exception $e) { + throw new PayoutRecipientUpdateException( + "failed to deserialize BitPay server response (PayoutRecipient) : " . $e->getMessage() + ); + } + } + + /** + * Delete a Payout Recipient. + * + * @param string $recipientId The recipient id for the recipient to be deleted. + * @return bool True if the recipient was successfully deleted, false otherwise. + * @throws PayoutRecipientCancellationException + */ + public function delete(string $recipientId): bool + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + $responseJson = $this->restCli->delete("recipients/" . $recipientId, $params); + } catch (BitPayException $e) { + throw new PayoutRecipientCancellationException( + "failed to serialize PayoutRecipient object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutRecipientCancellationException( + "failed to serialize PayoutRecipient object : " . $e->getMessage() + ); + } + + try { + $result = json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR); + + return strtolower($result['status']) === "success"; + } catch (Exception $e) { + throw new PayoutRecipientCancellationException( + "failed to deserialize BitPay server response (PayoutRecipient) : " . $e->getMessage() + ); + } + } + + /** + * Notify BitPay Payout Recipient. + * + * @param string $recipientId The id of the recipient to notify. + * @return bool True if the notification was successfully sent, false otherwise. + * @throws PayoutRecipientNotificationException + */ + public function requestNotification(string $recipientId): bool + { + try { + $content = []; + $content["token"] = $this->tokenCache->getTokenByFacade(Facade::PAYOUT); + + $responseJson = $this->restCli->post("recipients/" . $recipientId . "/notifications", $content); + } catch (BitPayException $e) { + throw new PayoutRecipientNotificationException( + "failed to serialize PayoutRecipient object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new PayoutRecipientNotificationException( + "failed to serialize PayoutRecipient object : " . $e->getMessage() + ); + } + + try { + $result = json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR); + + return strtolower($result['status']) === "success"; + } catch (Exception $e) { + throw new PayoutRecipientNotificationException( + "failed to deserialize BitPay server response (PayoutRecipient) : " . $e->getMessage() + ); + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/RateClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/RateClient.php new file mode 100644 index 0000000..b3f502e --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/RateClient.php @@ -0,0 +1,160 @@ +restCli = $restCli; + } + + /** + * Factory method for Rate Client. + * + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($restCli); + } + + return self::$instance; + } + + /** + * Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates. + * + * @return Rates + * @throws BitPayException + */ + public function getRates(): Rates + { + try { + $responseJson = $this->restCli->get("rates", null, false); + } catch (BitPayException $e) { + throw new RateQueryException( + "failed to serialize Rates object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RateQueryException("failed to serialize Rates object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + $rates = $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Rate::class + ); + } catch (Exception $e) { + throw new RateQueryException( + "failed to deserialize BitPay server response (Rates) : " . $e->getMessage() + ); + } + + return new Rates($rates); + } + + /** + * Retrieve all the rates for a given cryptocurrency + * + * @param string $baseCurrency The cryptocurrency for which you want to fetch the rates. + * Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC + * @return Rates A Rates object populated with the currency rates for the requested baseCurrency. + * @throws BitPayException + */ + public function getCurrencyRates(string $baseCurrency): Rates + { + try { + $responseJson = $this->restCli->get("rates/" . $baseCurrency, null, false); + } catch (BitPayException $e) { + throw new RateQueryException( + "failed to serialize Rates object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RateQueryException("failed to serialize Rates object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + $rates = $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Rate::class + ); + } catch (Exception $e) { + throw new RateQueryException( + "failed to deserialize BitPay server response (Rates) : " . $e->getMessage() + ); + } + + return new Rates($rates); + } + + /** + * Retrieve the rate for a cryptocurrency / fiat pair + * + * @param string $baseCurrency The cryptocurrency for which you want to fetch the fiat-equivalent rate. + * Current supported values are BTC, BCH, ETH, XRP, DOGE and LTC + * @param string $currency The fiat currency for which you want to fetch the baseCurrency rate + * @return Rate A Rate object populated with the currency rate for the requested baseCurrency. + * @throws BitPayException + */ + public function getCurrencyPairRate(string $baseCurrency, string $currency): Rate + { + try { + $responseJson = $this->restCli->get("rates/" . $baseCurrency . "/" . $currency, null, false); + } catch (BitPayException $e) { + throw new RateQueryException( + "failed to serialize Rates object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RateQueryException("failed to serialize Rate object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Rate() + ); + } catch (Exception $e) { + throw new RateQueryException( + "failed to deserialize BitPay server response (Rate) : " . $e->getMessage() + ); + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/RefundClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/RefundClient.php new file mode 100644 index 0000000..d1b1cc0 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/RefundClient.php @@ -0,0 +1,466 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Bill Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new RefundClient($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Create a refund for a BitPay invoice. + * + * @param string $invoiceId The BitPay invoice Id having the associated refund to be created. + * @param float $amount Amount to be refunded in the currency indicated. + * @param string $currency Reference currency used for the refund, usually the same as the currency used + * to create the invoice. + * @param bool $preview Whether to create the refund request as a preview (which will not be acted on + * until status is updated) + * @param bool $immediate Whether funds should be removed from merchant ledger immediately on submission + * or at time of processing + * @param bool $buyerPaysRefundFee Whether the buyer should pay the refund fee (default is merchant) + * @param string|null $guid Variable provided by the merchant and designed to be used by the merchant to + * correlate the refund with a refund ID in their system + * @return Refund $refund An updated Refund Object + * @throws RefundCreationException RefundCreationException class + * @throws BitPayException BitPayException class*@throws Exception + * @throws Exception + * @since 7.2.0) + */ + public function create( + string $invoiceId, + float $amount, + string $currency, + bool $preview = false, + bool $immediate = false, + bool $buyerPaysRefundFee = false, + string $guid = null + ): Refund { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["invoiceId"] = $invoiceId; + $params["amount"] = $amount; + $params["currency"] = $currency; + $params["preview"] = $preview; + $params["immediate"] = $immediate; + $params["buyerPaysRefundFee"] = $buyerPaysRefundFee; + $params["guid"] = $guid ?: Util::guid(); + + try { + $responseJson = $this->restCli->post("refunds/", $params, true); + } catch (BitPayException $e) { + throw new RefundCreationException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundCreationException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundCreationException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Update the status of a BitPay invoice. + * + * @param string $refundId BitPay refund ID. + * @param string $status The new status for the refund to be updated. + * @return Refund $refund Refund A BitPay generated Refund object. + * @throws RefundUpdateException + * @throws BitPayException + * @throws Exception + */ + public function update( + string $refundId, + string $status + ): Refund { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["status"] = $status; + + try { + $responseJson = $this->restCli->update("refunds/" . $refundId, $params); + } catch (BitPayException $e) { + throw new RefundUpdateException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundUpdateException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundUpdateException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Update the status of a BitPay invoice. + * + * @param string $guid BitPay refund Guid. + * @param string $status The new status for the refund to be updated. + * @return Refund $refund Refund A BitPay generated Refund object. + * @throws RefundUpdateException + * @throws BitPayException + * @throws Exception + * @since 7.2.0 + */ + public function updateByGuid( + string $guid, + string $status + ): Refund { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["status"] = $status; + + try { + $responseJson = $this->restCli->update("refunds/guid/" . $guid, $params); + } catch (BitPayException $e) { + throw new RefundUpdateException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundUpdateException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundUpdateException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve all refund requests on a BitPay invoice. + * + * @param string $invoiceId The BitPay invoice object having the associated refunds. + * @return Refund[] + * @throws RefundQueryException + * @throws BitPayException + * @throws Exception + */ + public function getRefunds( + string $invoiceId + ): array { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["invoiceId"] = $invoiceId; + + try { + $responseJson = $this->restCli->get("refunds/", $params, true); + } catch (BitPayException $e) { + throw new RefundQueryException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundQueryException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Refund::class + ); + } catch (Exception $e) { + throw new RefundQueryException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a previously made refund request on a BitPay invoice. + * + * @param string $refundId The BitPay refund ID. + * @return Refund $refund BitPay Refund object with the associated Refund object. + * @throws RefundQueryException + * @throws BitPayException + * @throws Exception + */ + public function get( + string $refundId + ): Refund { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + try { + $responseJson = $this->restCli->get("refunds/" . $refundId, $params, true); + } catch (BitPayException $e) { + throw new RefundQueryException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundQueryException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundQueryException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Retrieve a previously made refund request on a BitPay invoice by guid. + * + * @param string $guid The BitPay refund Guid. + * @return Refund $refund BitPay Refund object with the associated Refund object. + * @throws RefundQueryException + * @throws BitPayException + * @throws Exception + * @since 7.2.0 + */ + public function getByGuid(string $guid): Refund + { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + try { + $responseJson = $this->restCli->get("refunds/guid/" . $guid, $params, true); + } catch (BitPayException $e) { + throw new RefundQueryException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundQueryException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundQueryException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Send a refund notification. + * + * @param string $refundId A BitPay refund ID. + * @return bool $result An updated Refund Object + * @throws BitPayException + * @throws Exception + */ + public function sendNotification(string $refundId): bool + { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + try { + $responseJson = $this->restCli->post("refunds/" . $refundId . "/notifications", $params, true); + } catch (BitPayException $e) { + throw new RefundNotificationException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundNotificationException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $result = json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR); + + return $result['status'] === "success"; + } catch (Exception $e) { + throw new RefundNotificationException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Cancel a previously submitted refund request on a BitPay invoice. + * + * @param string $refundId The refund Id for the refund to be canceled. + * @return Refund $refund Cancelled refund Object. + * @throws RefundCancellationException + * @throws BitPayException + * @throws Exception + */ + public function cancel(string $refundId): Refund + { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + try { + $responseJson = $this->restCli->delete("refunds/" . $refundId, $params); + } catch (BitPayException $e) { + throw new RefundCancellationException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundCancellationException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundCancellationException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } + + /** + * Cancel a previously submitted refund request on a BitPay invoice. + * + * @param string $guid The refund Guid for the refund to be canceled. + * @return Refund $refund Cancelled refund Object. + * @throws RefundCancellationException + * @throws BitPayException + * @throws Exception + * @since 7.2.0 + */ + public function cancelByGuid(string $guid): Refund + { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + try { + $responseJson = $this->restCli->delete("refunds/guid/" . $guid, $params); + } catch (BitPayException $e) { + throw new RefundCancellationException( + "failed to serialize refund object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new RefundCancellationException("failed to serialize refund object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Refund() + ); + } catch (Exception $e) { + throw new RefundCancellationException( + "failed to deserialize BitPay server response (Refund) : " . $e->getMessage() + ); + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/SettlementClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/SettlementClient.php new file mode 100644 index 0000000..d0bc7a6 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/SettlementClient.php @@ -0,0 +1,196 @@ +tokenCache = $tokenCache; + $this->restCli = $restCli; + } + + /** + * Factory method for Settlements Client. + * + * @param Tokens $tokenCache + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(Tokens $tokenCache, RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($tokenCache, $restCli); + } + + return self::$instance; + } + + /** + * Retrieves settlement reports for the calling merchant filtered by query. + * The `limit` and `offset` parameters + * specify pages for large query sets. + * + * @param string $currency The three digit currency string for the ledger to retrieve. + * @param string $dateStart The start date for the query. + * @param string $dateEnd The end date for the query. + * @param string|null $status string Can be `processing`, `completed`, or `failed`. + * @param int|null $limit int Maximum number of settlements to retrieve. + * @param int|null $offset int Offset for paging. + * @return Settlement[] + * @throws SettlementQueryException + */ + public function getSettlements( + string $currency, + string $dateStart, + string $dateEnd, + string $status = null, + int $limit = null, + int $offset = null + ): array { + try { + $status = $status ?? ""; + $limit = $limit ?? 100; + $offset = $offset ?? 0; + + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + $params["dateStart"] = $dateStart; + $params["dateEnd"] = $dateEnd; + $params["currency"] = $currency; + $params["status"] = $status; + $params["limit"] = (string)$limit; + $params["offset"] = (string)$offset; + + $responseJson = $this->restCli->get("settlements", $params); + } catch (BitPayException $e) { + throw new SettlementQueryException( + "failed to serialize Settlement object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new SettlementQueryException("failed to serialize Settlement object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Settlement::class + ); + } catch (Exception $e) { + throw new SettlementQueryException( + "failed to deserialize BitPay server response (Settlement) : " . $e->getMessage() + ); + } + } + + /** + * Retrieves a summary of the specified settlement. + * + * @param string $settlementId Settlement Id. + * @return Settlement + * @throws BitPayException + */ + public function get(string $settlementId): Settlement + { + try { + $params = []; + $params["token"] = $this->tokenCache->getTokenByFacade(Facade::MERCHANT); + + $responseJson = $this->restCli->get("settlements/" . $settlementId, $params); + } catch (BitPayException $e) { + throw new SettlementQueryException( + "failed to serialize Settlement object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new SettlementQueryException("failed to serialize Settlement object : " . $e->getMessage()); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Settlement() + ); + } catch (Exception $e) { + throw new SettlementQueryException( + "failed to deserialize BitPay server response (Settlement) : " . $e->getMessage() + ); + } + } + + /** + * Gets a detailed reconciliation report of the activity within the settlement period. + * + * @param Settlement $settlement Settlement to generate report for. + * @return Settlement + * @throws BitPayException + */ + public function getReconciliationReport(Settlement $settlement): Settlement + { + try { + $params = []; + $params["token"] = $settlement->getToken(); + + $responseJson = $this->restCli->get( + "settlements/" . $settlement->getId() . "/reconciliationReport", + $params + ); + } catch (BitPayException $e) { + throw new SettlementQueryException( + "failed to serialize Reconciliation Report object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new SettlementQueryException( + "failed to serialize Reconciliation Report object : " . $e->getMessage() + ); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->map( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + new Settlement() + ); + } catch (Exception $e) { + throw new SettlementQueryException( + "failed to deserialize BitPay server response (Reconciliation Report) : " . $e->getMessage() + ); + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/TokenClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/TokenClient.php new file mode 100644 index 0000000..c5edc69 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/TokenClient.php @@ -0,0 +1,50 @@ +restCli = $restCli; + } + + /** + * Factory method for Token Client. + * + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($restCli); + } + + return self::$instance; + } + + /** + * Get Tokens. + * + * @throws \BitPaySDK\Exceptions\BitPayException + * @throws \JsonException + */ + public function getTokens(): array + { + $response = $this->restCli->get('tokens'); + + return json_decode($response, true, 512, JSON_THROW_ON_ERROR); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Client/WalletClient.php b/vendor/bitpay/sdk/src/BitPaySDK/Client/WalletClient.php new file mode 100644 index 0000000..ee5f507 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Client/WalletClient.php @@ -0,0 +1,82 @@ +restCli = $restCli; + } + + /** + * Factory method for Wallet Client. + * + * @param RESTcli $restCli + * @return static + */ + public static function getInstance(RESTcli $restCli): self + { + if (!self::$instance) { + self::$instance = new self($restCli); + } + + return self::$instance; + } + + /** + * Retrieve all supported wallets. + * + * @return Wallet[] + * @throws WalletQueryException + * @throws BitPayException + */ + public function getSupportedWallets(): array + { + try { + $responseJson = $this->restCli->get("supportedWallets/", null, false); + } catch (BitPayException $e) { + throw new WalletQueryException( + "failed to serialize Wallet object : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new WalletQueryException( + "failed to deserialize BitPay server response (Wallet) : " . $e->getMessage() + ); + } + + try { + $mapper = JsonMapperFactory::create(); + + return $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Wallet::class + ); + } catch (Exception $e) { + throw new WalletQueryException( + "failed to deserialize BitPay server response (Wallet) : " . $e->getMessage() + ); + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Env.php b/vendor/bitpay/sdk/src/BitPaySDK/Env.php new file mode 100644 index 0000000..91d18cb --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Env.php @@ -0,0 +1,19 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillDeliveryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillDeliveryException.php new file mode 100644 index 0000000..6f97db5 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillDeliveryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillException.php new file mode 100644 index 0000000..721324a --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillQueryException.php new file mode 100644 index 0000000..89dcbe8 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillUpdateException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillUpdateException.php new file mode 100644 index 0000000..3e81fe2 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BillUpdateException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BitPayException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BitPayException.php new file mode 100644 index 0000000..c830d3d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BitPayException.php @@ -0,0 +1,43 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + $this->apiCode = $apiCode; + $code = $code ?? 100; + parent::__construct($message, $code, $previous); + } + + /** + * @return string Error code provided by the BitPay REST API + */ + public function getApiCode() + { + return $this->apiCode; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyException.php new file mode 100644 index 0000000..e8379a3 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyException.php @@ -0,0 +1,33 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyQueryException.php new file mode 100644 index 0000000..2ad80f4 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/CurrencyQueryException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + $this->apiCode = $apiCode; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCancellationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCancellationException.php new file mode 100644 index 0000000..87d6f99 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCancellationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCreationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCreationException.php new file mode 100644 index 0000000..e0cd54b --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceCreationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceException.php new file mode 100644 index 0000000..bbe173d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoicePaymentException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoicePaymentException.php new file mode 100644 index 0000000..e7b615f --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoicePaymentException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + $this->apiCode = $apiCode; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceQueryException.php new file mode 100644 index 0000000..c016f7b --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceQueryException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceUpdateException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceUpdateException.php new file mode 100644 index 0000000..9178892 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/InvoiceUpdateException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerException.php new file mode 100644 index 0000000..cf3af94 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerQueryException.php new file mode 100644 index 0000000..868b2fa --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/LedgerQueryException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + $this->apiCode = $apiCode; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCancellationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCancellationException.php new file mode 100644 index 0000000..5e6b006 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCancellationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCreationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCreationException.php new file mode 100644 index 0000000..a305afb --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchCreationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchException.php new file mode 100644 index 0000000..2e10190 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchNotificationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchNotificationException.php new file mode 100644 index 0000000..b4a6379 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchNotificationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchQueryException.php new file mode 100644 index 0000000..b74269e --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutBatchQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCancellationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCancellationException.php new file mode 100644 index 0000000..124e330 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCancellationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCreationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCreationException.php new file mode 100644 index 0000000..f481b7f --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutCreationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutException.php new file mode 100644 index 0000000..ae5cd41 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutNotificationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutNotificationException.php new file mode 100644 index 0000000..938240d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutNotificationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutQueryException.php new file mode 100644 index 0000000..aa482ac --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCancellationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCancellationException.php new file mode 100644 index 0000000..872f902 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCancellationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCreationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCreationException.php new file mode 100644 index 0000000..34331f5 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientCreationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientException.php new file mode 100644 index 0000000..147cc0f --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientNotificationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientNotificationException.php new file mode 100644 index 0000000..b4fc757 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientNotificationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientQueryException.php new file mode 100644 index 0000000..8c2c851 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientUpdateException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientUpdateException.php new file mode 100644 index 0000000..38ba045 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutRecipientUpdateException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutUpdateException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutUpdateException.php new file mode 100755 index 0000000..a68c753 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/PayoutUpdateException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateException.php new file mode 100644 index 0000000..9daae1c --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateQueryException.php new file mode 100644 index 0000000..b25fd28 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RateQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCancellationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCancellationException.php new file mode 100644 index 0000000..aa2bc1d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCancellationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCreationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCreationException.php new file mode 100644 index 0000000..4090743 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundCreationException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundException.php new file mode 100644 index 0000000..c47324b --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundNotificationException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundNotificationException.php new file mode 100644 index 0000000..1a5ddf0 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundNotificationException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundQueryException.php new file mode 100644 index 0000000..d42e482 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundUpdateException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundUpdateException.php new file mode 100644 index 0000000..3258114 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/RefundUpdateException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementException.php new file mode 100644 index 0000000..913f4db --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementException.php @@ -0,0 +1,32 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementQueryException.php new file mode 100644 index 0000000..961e32d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/SettlementQueryException.php @@ -0,0 +1,30 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletException.php new file mode 100644 index 0000000..3a13bac --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + } + + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletQueryException.php b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletQueryException.php new file mode 100644 index 0000000..dab220b --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/WalletQueryException.php @@ -0,0 +1,31 @@ +bitPayCode . ": " . $this->bitPayMessage . "-> " . $message; + parent::__construct($message, $code, $previous, $apiCode); + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Bill.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Bill.php new file mode 100644 index 0000000..6436ff4 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Bill.php @@ -0,0 +1,605 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Bill; + +use BitPaySDK\Exceptions\BitPayException; +use BitPaySDK\Model\Currency; + +/** + * @package Bitpay + * @see REST API Bills + */ +class Bill +{ + protected ?string $currency = null; + protected ?string $token = null; + protected ?string $email = null; + protected array $items = []; + protected ?string $number = null; + protected ?string $name = null; + protected ?string $address1 = null; + protected ?string $address2 = null; + protected ?string $city = null; + protected ?string $state = null; + protected ?string $zip = null; + protected ?string $country = null; + protected ?array $cc = null; + protected ?string $phone = null; + protected ?string $dueDate = null; + protected ?bool $passProcessingFee = null; + protected ?string $status = null; + protected ?string $url = null; + protected ?string $createDate = null; + protected ?string $id = null; + protected ?string $merchant = null; + + /** + * Constructor, create a minimal request Bill object. + * + * @param string|null $number string A string for tracking purposes. + * @param string|null $currency string The three digit currency type used to compute the bill's amount. + * @param string|null $email string The email address of the receiver for this bill. + * @param array|null $items array The list of items to add to this bill. + */ + public function __construct( + string $number = null, + string $currency = null, + string $email = null, + array $items = null + ) { + $this->number = $number; + $this->currency = $currency; + $this->email = $email; + + if (!$items) { + $items = []; + } + $this->setItems($items); + } + + /** + * Gets token + * + * API token for bill resource. This token is actually derived from the API token used to + * create the bill and is tied to the specific resource id created. + * + * @return string|null the token + */ + public function getToken(): ?string + { + return $this->token; + } + + /** + * Sets Bill's token + * + * API token for bill resource. This token is actually derived from the API token used to + * create the bill and is tied to the specific resource id created. + * + * @param string $token the token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + /** + * Gets bill currency + * + * ISO 4217 3-character currency code. This is the currency associated with the price field + * + * @return string|null the bill currency + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets Bill's currency + * + * ISO 4217 3-character currency code. This is the currency associated with the price field + * + * @param string $currency the currency + * @throws BitPayException + */ + public function setCurrency(string $currency): void + { + if (!Currency::isValid($currency)) { + throw new BitPayException("currency code must be a type of Model.Currency"); + } + + $this->currency = $currency; + } + + /** + * Gets bill email + * + * @return string|null the email + */ + public function getEmail(): ?string + { + return $this->email; + } + + /** + * Sets Bill's email + * + * @param string $email the email + */ + public function setEmail(string $email): void + { + $this->email = $email; + } + + /** + * Gets items from bill + * + * @return array Item[] + */ + public function getItems(): array + { + return $this->items; + } + + /** + * Gets items as array from bill + * + * @return array|null items as array from bill + */ + public function getItemsAsArray(): ?array + { + $items = []; + + foreach ($this->items as $item) { + $items[] = $item->toArray(); + } + + return $items; + } + + /** + * Sets Bill's items + * + * @param array $items Item[] + */ + public function setItems(array $items): void + { + $itemsArray = []; + + foreach ($items as $item) { + if ($item instanceof Item) { + $itemsArray[] = $item; + } else { + $itemsArray[] = Item::createFromArray((array)$item); + } + } + + $this->items = $itemsArray; + } + + /** + * Gets bill number + * + * Bill identifier, specified by merchant + * + * @return string|null the number + */ + public function getNumber(): ?string + { + return $this->number; + } + + /** + * Sets Bill's number + * + * Bill identifier, specified by merchant + * + * @param string $number the number + */ + public function setNumber(string $number): void + { + $this->number = $number; + } + + /** + * Gets Bill recipient's name + * + * @return string|null the name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets Bill recipient's name + * + * @param string $name the name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets Bill recipient's address + * + * @return string|null the address1 + */ + public function getAddress1(): ?string + { + return $this->address1; + } + + /** + * Sets Bill recipient's address + * + * @param string $address1 + */ + public function setAddress1(string $address1): void + { + $this->address1 = $address1; + } + + /** + * Gets Bill recipient's address + * + * @return string|null the address2 + */ + public function getAddress2(): ?string + { + return $this->address2; + } + + /** + * Sets Bill recipient's address + * + * @param string $address2 + */ + public function setAddress2(string $address2): void + { + $this->address2 = $address2; + } + + /** + * Gets Bill recipient's city + * + * @return string|null the city + */ + public function getCity(): ?string + { + return $this->city; + } + + /** + * Sets Bill recipient's city + * + * @param string $city + */ + public function setCity(string $city): void + { + $this->city = $city; + } + + /** + * Gets Bill recipient's state or province + * + * @return string|null the state + */ + public function getState(): ?string + { + return $this->state; + } + + /** + * Sets Bill recipient's state or province + * + * @param string $state + */ + public function setState(string $state): void + { + $this->state = $state; + } + + /** + * Gets Bill recipient's ZIP code + * + * @return string|null the zip + */ + public function getZip(): ?string + { + return $this->zip; + } + + /** + * Sets Bill recipient's ZIP code + * + * @param string $zip + */ + public function setZip(string $zip): void + { + $this->zip = $zip; + } + + /** + * Gets Bill recipient's country + * + * @return string|null the country + */ + public function getCountry(): ?string + { + return $this->country; + } + + /** + * Sets Bill recipient's country + * + * @param string $country + */ + public function setCountry(string $country): void + { + $this->country = $country; + } + + /** + * Gets Bill cc + * + * Email addresses to which a copy of the bill must be sent + * + * @return array|null the cc + */ + public function getCc(): ?array + { + return $this->cc; + } + + /** + * Sets Bill's cc + * + * Email addresses to which a copy of the bill must be sent + * + * @param array $cc + */ + public function setCc(array $cc): void + { + $this->cc = $cc; + } + + /** + * Gets Bill recipient's phone number + * + * @return string|null the phone + */ + public function getPhone(): ?string + { + return $this->phone; + } + + /** + * Sets Bill recipient's phone number + * + * @param string $phone + */ + public function setPhone(string $phone): void + { + $this->phone = $phone; + } + + /** + * Gets Bill due date + * + * Date and time at which a bill is due, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC) + * + * @return string|null the number + */ + public function getDueDate(): ?string + { + return $this->dueDate; + } + + /** + * Sets Bill's due date + * + * Date and time at which a bill is due, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC) + * + * @param string $dueDate + */ + public function setDueDate(string $dueDate): void + { + $this->dueDate = $dueDate; + } + + /** + * Gets bill pass processing fee + * + * @return bool|null the pass processing fee + */ + public function getPassProcessingFee(): ?bool + { + return $this->passProcessingFee; + } + + /** + * Sets Bill's pass processing fee + * + * If set to true, BitPay's processing fee will be included in the amount charged on the invoice + * + * @param bool $passProcessingFee + */ + public function setPassProcessingFee(bool $passProcessingFee): void + { + $this->passProcessingFee = $passProcessingFee; + } + + /** + * Gets bill status + * + * Can "draft", "sent", "new", "paid", or "complete" + * + * @return string|null the status + */ + public function getStatus(): ?string + { + return $this->status; + } + + /** + * Sets Bill's status + * + * Can "draft", "sent", "new", "paid", or "complete" + * + * @param string $status + */ + public function setStatus(string $status): void + { + $this->status = $status; + } + + /** + * Gets bill url + * + * Web address of bill + * + * @return string|null the url + */ + public function getUrl(): ?string + { + return $this->url; + } + + /** + * Sets Bill's url + * + * Web address of bill + * + * @param string $url + */ + public function setUrl(string $url): void + { + $this->url = $url; + } + + /** + * Gets bill create date + * + * Date and time of Bill creation, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC) + * + * @return string|null the creation date + */ + public function getCreateDate(): ?string + { + return $this->createDate; + } + + /** + * Sets Bill's create date + * + * Date and time of Bill creation, ISO-8601 format yyyy-mm-ddThh:mm:ssZ. (UTC) + * + * @param string $createDate + */ + public function setCreateDate(string $createDate): void + { + $this->createDate = $createDate; + } + + /** + * Gets bill id + * + * Bill resource id + * + * @return string|null the id + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets Bill's id + * + * Bill resource id + * + * @param string $id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets bill merchant + * + * Internal identifier for BitPay, this field can be ignored by the merchants. + * + * @return string|null the merchant + */ + public function getMerchant(): ?string + { + return $this->merchant; + } + + /** + * Sets Bill's merchant + * + * Internal identifier for BitPay, this field can be ignored by the merchants. + * + * @param string $merchant + */ + public function setMerchant(string $merchant): void + { + $this->merchant = $merchant; + } + + /** + * Get bill data as array + * + * @return array bill data as array + */ + public function toArray(): array + { + $elements = [ + 'currency' => $this->getCurrency(), + 'token' => $this->getToken(), + 'email' => $this->getEmail(), + 'items' => $this->getItemsAsArray(), + 'number' => $this->getNumber(), + 'name' => $this->getName(), + 'address1' => $this->getAddress1(), + 'address2' => $this->getAddress2(), + 'city' => $this->getCity(), + 'state' => $this->getState(), + 'zip' => $this->getZip(), + 'country' => $this->getCountry(), + 'cc' => $this->getCc(), + 'phone' => $this->getPhone(), + 'dueDate' => $this->getDueDate(), + 'passProcessingFee' => $this->getPassProcessingFee(), + 'status' => $this->getStatus(), + 'url' => $this->getUrl(), + 'createDate' => $this->getCreateDate(), + 'id' => $this->getId(), + 'merchant' => $this->getMerchant(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/BillStatus.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/BillStatus.php new file mode 100644 index 0000000..acd8855 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/BillStatus.php @@ -0,0 +1,26 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Bill; + +/** + * Contains bill statuses: Can be "draft", "sent", "new", "paid", or "complete" + * + * @see REST API Bills + */ +interface BillStatus +{ + public const DRAFT = "draft"; + public const SENT = "sent"; + public const NEW = "new"; + public const PAID = "paid"; + public const COMPLETE = "complete"; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Item.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Item.php new file mode 100644 index 0000000..fc44a9e --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Bill/Item.php @@ -0,0 +1,149 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Bill; + +/** + * @see REST API Bills + * + * @package Bitpay + */ +class Item +{ + protected ?string $id = null; + protected ?string $description = null; + protected ?float $price = null; + protected ?int $quantity = null; + + public function __construct() + { + } + + /** + * Gets id. + * + * @return string|null the id + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets id. + * + * @param string $id the id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets Line item description + * + * @return string|null the description + */ + public function getDescription(): ?string + { + return $this->description; + } + + /** + * Sets Line item description + * + * @param string $description the description + */ + public function setDescription(string $description): void + { + $this->description = $description; + } + + /** + * Gets Line item unit price for the corresponding currency + * + * @return float|null the price + */ + public function getPrice(): ?float + { + return $this->price; + } + + /** + * Sets Line item unit price for the corresponding currency + * + * @param float $price the price + */ + public function setPrice(float $price): void + { + $this->price = $price; + } + + /** + * Gets Line item number of units + * + * @return int|null the quantity + */ + public function getQuantity(): ?int + { + return $this->quantity; + } + + /** + * Sets Line item number of units + * + * @param int $quantity the quantity + */ + public function setQuantity(int $quantity): void + { + $this->quantity = $quantity; + } + + /** + * @param array $item List of line items + * @return Item + */ + public static function createFromArray(array $item): Item + { + $instance = new self(); + + foreach ($item as $key => $value) { + $instance->{$key} = $value; + } + + return $instance; + } + + /** + * Gets Item data as array + * + * @return array item data as array + */ + public function toArray(): array + { + $elements = [ + 'id' => $this->getId(), + 'description' => $this->getDescription(), + 'price' => $this->getPrice(), + 'quantity' => $this->getQuantity(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Currency.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Currency.php new file mode 100644 index 0000000..1aca279 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Currency.php @@ -0,0 +1,511 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model; + +use Exception; +use ReflectionClass; + +/** + * Object containing currency information + */ +class Currency +{ + // Crypto + public const BCH = "BCH"; + public const BTC = "BTC"; + public const ETH = "ETH"; + public const USDC = "USDC"; + public const GUSD = "GUSD"; + public const PAX = "PAX"; + public const XRP = "XRP"; + public const BUSD = "BUSD"; + public const DOGE = "DOGE"; + public const LTC = "LTC"; + public const SHIB = "SHIB"; + + // FIAT + public const AED = "AED"; + public const AFN = "AFN"; + public const ALL = "ALL"; + public const AMD = "AMD"; + public const ANG = "ANG"; + public const AOA = "AOA"; + public const ARS = "ARS"; + public const AUD = "AUD"; + public const AWG = "AWG"; + public const AZN = "AZN"; + public const BAM = "BAM"; + public const BBD = "BBD"; + public const BDT = "BDT"; + public const BGN = "BGN"; + public const BHD = "BHD"; + public const BIF = "BIF"; + public const BMD = "BMD"; + public const BND = "BND"; + public const BOB = "BOB"; + public const BOV = "BOV"; + public const BRL = "BRL"; + public const BSD = "BSD"; + public const BTN = "BTN"; + public const BWP = "BWP"; + public const BYR = "BYR"; + public const BZD = "BZD"; + public const CAD = "CAD"; + public const CDF = "CDF"; + public const CHE = "CHE"; + public const CHF = "CHF"; + public const CHW = "CHW"; + public const CLF = "CLF"; + public const CLP = "CLP"; + public const CNY = "CNY"; + public const COP = "COP"; + public const COU = "COU"; + public const CRC = "CRC"; + public const CUC = "CUC"; + public const CUP = "CUP"; + public const CVE = "CVE"; + public const CZK = "CZK"; + public const DJF = "DJF"; + public const DKK = "DKK"; + public const DOP = "DOP"; + public const DZD = "DZD"; + public const EGP = "EGP"; + public const ERN = "ERN"; + public const ETB = "ETB"; + public const EUR = "EUR"; + public const FJD = "FJD"; + public const FKP = "FKP"; + public const GBP = "GBP"; + public const GEL = "GEL"; + public const GHS = "GHS"; + public const GIP = "GIP"; + public const GMD = "GMD"; + public const GNF = "GNF"; + public const GTQ = "GTQ"; + public const GYD = "GYD"; + public const HKD = "HKD"; + public const HNL = "HNL"; + public const HRK = "HRK"; + public const HTG = "HTG"; + public const HUF = "HUF"; + public const IDR = "IDR"; + public const ILS = "ILS"; + public const INR = "INR"; + public const IQD = "IQD"; + public const IRR = "IRR"; + public const ISK = "ISK"; + public const JMD = "JMD"; + public const JOD = "JOD"; + public const JPY = "JPY"; + public const KES = "KES"; + public const KGS = "KGS"; + public const KHR = "KHR"; + public const KMF = "KMF"; + public const KPW = "KPW"; + public const KRW = "KRW"; + public const KWD = "KWD"; + public const KYD = "KYD"; + public const KZT = "KZT"; + public const LAK = "LAK"; + public const LBP = "LBP"; + public const LKR = "LKR"; + public const LRD = "LRD"; + public const LSL = "LSL"; + public const LYD = "LYD"; + public const MAD = "MAD"; + public const MDL = "MDL"; + public const MGA = "MGA"; + public const MKD = "MKD"; + public const MMK = "MMK"; + public const MNT = "MNT"; + public const MOP = "MOP"; + public const MRU = "MRU"; + public const MUR = "MUR"; + public const MVR = "MVR"; + public const MWK = "MWK"; + public const MXN = "MXN"; + public const MXV = "MXV"; + public const MYR = "MYR"; + public const MZN = "MZN"; + public const NAD = "NAD"; + public const NGN = "NGN"; + public const NIO = "NIO"; + public const NOK = "NOK"; + public const NPR = "NPR"; + public const NZD = "NZD"; + public const OMR = "OMR"; + public const PAB = "PAB"; + public const PEN = "PEN"; + public const PGK = "PGK"; + public const PHP = "PHP"; + public const PKR = "PKR"; + public const PLN = "PLN"; + public const PYG = "PYG"; + public const QAR = "QAR"; + public const RON = "RON"; + public const RSD = "RSD"; + public const RUB = "RUB"; + public const RWF = "RWF"; + public const SAR = "SAR"; + public const SBD = "SBD"; + public const SCR = "SCR"; + public const SDG = "SDG"; + public const SEK = "SEK"; + public const SGD = "SGD"; + public const SHP = "SHP"; + public const SLL = "SLL"; + public const SOS = "SOS"; + public const SRD = "SRD"; + public const SSP = "SSP"; + public const STN = "STN"; + public const SVC = "SVC"; + public const SYP = "SYP"; + public const SZL = "SZL"; + public const THB = "THB"; + public const TJS = "TJS"; + public const TMT = "TMT"; + public const TND = "TND"; + public const TOP = "TOP"; + public const TRY = "TRY"; + public const TTD = "TTD"; + public const TWD = "TWD"; + public const TZS = "TZS"; + public const UAH = "UAH"; + public const UGX = "UGX"; + public const USD = "USD"; + public const USN = "USN"; + public const UYI = "UYI"; + public const UYU = "UYU"; + public const UZS = "UZS"; + public const VEF = "VEF"; + public const VND = "VND"; + public const VUV = "VUV"; + public const WST = "WST"; + public const XAF = "XAF"; + public const XCD = "XCD"; + public const XDR = "XDR"; + public const XOF = "XOF"; + public const XPF = "XPF"; + public const XSU = "XSU"; + public const XUA = "XUA"; + public const YER = "YER"; + public const ZAR = "ZAR"; + public const ZMW = "ZMW"; + public const ZWL = "ZWL"; + + protected ?string $code = null; + protected ?string $symbol = null; + protected ?int $precision = null; + protected ?bool $currentlySettled = null; + protected ?string $name = null; + protected ?string $plural = null; + protected ?string $alts = null; + protected ?string $minimum = null; + protected ?bool $sanctioned = null; + protected ?string $decimals = null; + protected array $payoutFields = []; + protected array $settlementMinimum = []; + + /** + * Currency validation + * + * @param string $value the currency value + * @return bool + */ + public static function isValid(string $value): bool + { + try { + $reflect = new ReflectionClass(Currency::class); + + return array_key_exists($value, $reflect->getConstants()); + } catch (Exception) { + return false; + } + } + + public function __construct() + { + } + + /** + * Get ISO 4217 3-character currency code + * + * @return string|null the code + */ + public function getCode(): ?string + { + return $this->code; + } + + /** + * Sets ISO 4217 3-character currency code + * + * @param string $code the code + */ + public function setCode(string $code): void + { + $this->code = $code; + } + + /** + * Display symbol + * + * @return string|null the symbol + */ + public function getSymbol(): ?string + { + return $this->symbol; + } + + /** + * Sets symbol + * + * @param string|null $symbol + */ + public function setSymbol(?string $symbol = null): void + { + $this->symbol = $symbol; + } + + /** + * Number of decimal places + * + * @return int|null the precision + */ + public function getPrecision(): ?int + { + return $this->precision; + } + + /** + * Sets number of decimal places + * + * @param int $precision the precision + */ + public function setPrecision(int $precision): void + { + $this->precision = $precision; + } + + /** + * Gets currently settled value + * + * @return bool|null + */ + public function getCurrentlySettled(): ?bool + { + return $this->currentlySettled; + } + + /** + * Sets currently settled value + * + * @param bool $currentlySettled + */ + public function setCurrentlySettled(bool $currentlySettled): void + { + $this->currentlySettled = $currentlySettled; + } + + /** + * Gets currency name + * + * @return string|null the name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets currency name + * + * @param string $name the name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets English plural form + * + * @return string|null the plural form + */ + public function getPlural(): ?string + { + return $this->plural; + } + + /** + * Sets English plural form + * + * @param string $plural the plural form + */ + public function setPlural(string $plural): void + { + $this->plural = $plural; + } + + /** + * Gets alternative currency name(s) + * + * @return string|null the alts + */ + public function getAlts(): ?string + { + return $this->alts; + } + + /** + * Sets alternative currency name(s) + * + * @param string $alts the alts + */ + public function setAlts(string $alts): void + { + $this->alts = $alts; + } + + /** + * Gets minimum supported value when creating an invoice, bill or payout for instance + * + * @return string|null the minimum + */ + public function getMinimum(): ?string + { + return $this->minimum; + } + + /** + * Sets minimum supported value when creating an invoice, bill or payout for instance + * + * @param string $minimum the minimum + */ + public function setMinimum(string $minimum): void + { + $this->minimum = $minimum; + } + + /** + * Gets if the currency is linked to a sanctionned country + * + * @return bool|null the sanctioned + */ + public function getSanctioned(): ?bool + { + return $this->sanctioned; + } + + /** + * Sets if the currency is linked to a sanctionned country + * + * @param bool $sanctioned the sanctioned + */ + public function setSanctioned(bool $sanctioned): void + { + $this->sanctioned = $sanctioned; + } + + /** + * Gets decimal precision + * + * @return string|null decimals + */ + public function getDecimals(): ?string + { + return $this->decimals; + } + + /** + * Sets decimal precision + * + * @param string $decimals decimals + */ + public function setDecimals(string $decimals): void + { + $this->decimals = $decimals; + } + + /** + * Gets payout fields + * + * @return array the payout fields + */ + public function getPayoutFields(): array + { + return $this->payoutFields; + } + + /** + * Sets payout fields + * + * @param array $payoutFields the payout fields + */ + public function setPayoutFields(array $payoutFields): void + { + $this->payoutFields = $payoutFields; + } + + /** + * Gets settlement minimum + * + * @return array the settlement minimum + */ + public function getSettlementMinimum(): array + { + return $this->settlementMinimum; + } + + /** + * Sets settlement minimum + * + * @param array $settlementMinimum the settlement minimum + */ + public function setSettlementMinimum(array $settlementMinimum): void + { + $this->settlementMinimum = $settlementMinimum; + } + + /** + * Gets currency data as array + * + * @return array currency data as array + */ + public function toArray(): array + { + $elements = [ + 'code' => $this->getCode(), + 'symbol' => $this->getSymbol(), + 'precision' => $this->getPrecision(), + 'currentlySettled' => $this->getCurrentlySettled(), + 'name' => $this->getName(), + 'plural' => $this->getPlural(), + 'alts' => $this->getAlts(), + 'minimum' => $this->getMinimum(), + 'sanctioned' => $this->getSanctioned(), + 'decimals' => $this->getDecimals(), + 'payoutFields' => $this->getPayoutFields(), + 'settlementMinimum' => $this->getSettlementMinimum(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Facade.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Facade.php new file mode 100644 index 0000000..5bd258c --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Facade.php @@ -0,0 +1,40 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model; + +/** + * Facades named collections of capabilities that can be granted, + * such as the ability to create invoices or grant refunds + * + * @see REST API facades + */ +interface Facade +{ + /** + * The broadest set of capabilities against a merchant organization. Allows for create, search, + * and view actions for Invoices and Bills; ledger download, + * as well as the creation of new merchant or pos tokens associated with the account. + */ + public const MERCHANT = "merchant"; + + /** + * This is the facade which allows merchant to access the Payouts related resources and corresponding endpoints. + * Access to this facade is not enabled by default. + */ + public const PAYOUT = "payout"; + + /** + * Limited to creating new invoice or bills and search specific invoices + * or bills based on their id for the merchant's organization + */ + public const POS = "pos"; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Buyer.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Buyer.php new file mode 100644 index 0000000..8fb0602 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Buyer.php @@ -0,0 +1,277 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * @package Bitpay + * @see REST API Invoices + * + * Allows merchant to pass buyer related information in the invoice object + */ +class Buyer +{ + protected ?string $name = null; + protected ?string $address1 = null; + protected ?string $address2 = null; + protected ?string $locality = null; + protected ?string $region = null; + protected ?string $postalCode = null; + protected ?string $country = null; + protected ?string $email = null; + protected ?string $phone = null; + protected ?bool $notify = null; + + public function __construct() + { + } + + /** + * Gets Buyer's name + * + * @return string|null Buyer's name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets Buyer's name + * + * @param string $name Buyer's name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets Buyer's address + * + * @return string|null Buyer's address + */ + public function getAddress1(): ?string + { + return $this->address1; + } + + /** + * Sets Buyer's address + * + * @param string $address1 Buyer's address + */ + public function setAddress1(string $address1): void + { + $this->address1 = $address1; + } + + /** + * Gets Buyer's appartment or suite number + * + * @return string|null Buyer's appartment or suite number + */ + public function getAddress2(): ?string + { + return $this->address2; + } + + /** + * Sets Buyer's appartment or suite number + * + * @param string $address2 Buyer's appartment or suite number + */ + public function setAddress2(string $address2): void + { + $this->address2 = $address2; + } + + /** + * Gets Buyer's city or locality + * + * @return string|null Buyer's city or locality + */ + public function getLocality(): ?string + { + return $this->locality; + } + + /** + * Sets Buyer's city or locality + * + * @param string $locality Buyer's city or locality + */ + public function setLocality(string $locality): void + { + $this->locality = $locality; + } + + /** + * Buyer's state or province + * + * @return string|null Buyer's state or province + */ + public function getRegion(): ?string + { + return $this->region; + } + + /** + * Sets Buyer's state or province + * + * @param string $region Buyer's state or province + */ + public function setRegion(string $region): void + { + $this->region = $region; + } + + /** + * Gets Buyer's Zip or Postal Code + * + * @return string|null Buyer's Zip or Postal Code + */ + public function getPostalCode(): ?string + { + return $this->postalCode; + } + + /** + * Sets Buyer's Zip or Postal Code + * + * @param string $postalCode Buyer's Zip or Postal Code + */ + public function setPostalCode(string $postalCode): void + { + $this->postalCode = $postalCode; + } + + /** + * Gets Buyer's Country code + * + * Format ISO 3166-1 alpha-2 + * + * @return string|null Buyer's Country code + */ + public function getCountry(): ?string + { + return $this->country; + } + + /** + * Sets Buyer's Country code + * + * @param string $country Buyer's Country code + */ + public function setCountry(string $country): void + { + $this->country = $country; + } + + /** + * Gets Buyer's email address. + * + * If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice. + * + * @return string|null Buyer's email address + */ + public function getEmail(): ?string + { + return $this->email; + } + + /** + * Sets Buyer's email address + * + * If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice. + * + * @param string $email Buyer's email address + */ + public function setEmail(string $email): void + { + $this->email = $email; + } + + /** + * Gets Buyer's phone number + * + * @return string|null Buyer's phone number + */ + public function getPhone(): ?string + { + return $this->phone; + } + + /** + * Sets Buyer's phone number + * + * @param string $phone Buyer's phone number + */ + public function setPhone(string $phone): void + { + $this->phone = $phone; + } + + /** + * Gets Buyer's notify + * + * Indicates whether a BitPay email confirmation should be sent to the buyer once he has paid the invoice + * + * @return bool|null Buyer's notify + */ + public function getNotify(): ?bool + { + return $this->notify; + } + + /** + * Sets Buyer's notify + * + * Indicates whether a BitPay email confirmation should be sent to the buyer once he has paid the invoice + * + * @param bool $notify Buyer's notify + */ + public function setNotify(bool $notify): void + { + $this->notify = $notify; + } + + /** + * Gets Buyer as array + * + * @return array Buyer as array + */ + public function toArray(): array + { + $elements = [ + 'name' => $this->getName(), + 'address1' => $this->getAddress1(), + 'address2' => $this->getAddress2(), + 'locality' => $this->getLocality(), + 'region' => $this->getRegion(), + 'postalCode' => $this->getPostalCode(), + 'country' => $this->getCountry(), + 'email' => $this->getEmail(), + 'phone' => $this->getPhone(), + 'notify' => $this->getNotify(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/BuyerProvidedInfo.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/BuyerProvidedInfo.php new file mode 100644 index 0000000..4f05a9b --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/BuyerProvidedInfo.php @@ -0,0 +1,231 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Information collected from the buyer during the process of paying an invoice. Initially this object is empty. + * @see REST API Invoices + */ +class BuyerProvidedInfo +{ + protected ?string $name = null; + protected ?string $phoneNumber = null; + protected ?string $selectedWallet = null; + protected ?string $emailAddress = null; + protected ?string $selectedTransactionCurrency = null; + protected ?string $sms = null; + protected ?bool $smsVerified = null; + + public function __construct() + { + } + + /** + * Gets name + * + * Populated with the buyer's name address if passed in the buyer object by the merchant + * + * @return string|null the name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets name + * + * Populated with the buyer's name address if passed in the buyer object by the merchant + * + * @param string $name the name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets phone number + * + * Populated with the buyer's phone number if passed in the buyer object by the merchant + * + * @return string|null the phone number + */ + public function getPhoneNumber(): ?string + { + return $this->phoneNumber; + } + + /** + * Sets phone number + * + * Populated with the buyer's phone number if passed in the buyer object by the merchant + * + * @param string $phoneNumber the phone number + */ + public function setPhoneNumber(string $phoneNumber): void + { + $this->phoneNumber = $phoneNumber; + } + + /** + * Gets selected wallet + * + * This field contains the name of the cryptocurrency wallet selected by the shopper to complete the payment. + * + * @return string|null the selected wallet + */ + public function getSelectedWallet(): ?string + { + return $this->selectedWallet; + } + + /** + * Sets selected wallet + * + * This field contains the name of the cryptocurrency wallet selected by the shopper to complete the payment. + * + * @param string|null $selectedWallet the selected wallet + */ + public function setSelectedWallet(?string $selectedWallet): void + { + $this->selectedWallet = $selectedWallet; + } + + /** + * Gets email address + * + * Populated with the buyer's email address if passed in the buyer object, + * otherwise this field is not returned in the response. + * + * @return string|null the email address + */ + public function getEmailAddress(): ?string + { + return $this->emailAddress; + } + + /** + * Sets email address + * + * Populated with the buyer's email address if passed in the buyer object, + * otherwise this field is not returned in the response. + * + * @param string $emailAddress the email address + */ + public function setEmailAddress(string $emailAddress): void + { + $this->emailAddress = $emailAddress; + } + + /** + * Gets selected transaction currency + * + * This field will be populated with the cryptocurrency selected to pay the BitPay invoice, + * current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * If not yet selected, this field will not be returned. + * + * @return string|null the selected transaction currency + */ + public function getSelectedTransactionCurrency(): ?string + { + return $this->selectedTransactionCurrency; + } + + /** + * Sets selected transaction currency + * + * This field will be populated with the cryptocurrency selected to pay the BitPay invoice, + * current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * If not yet selected, this field will not be returned. + * + * @param string $selectedTransactionCurrency the selected transaction currency + */ + public function setSelectedTransactionCurrency(string $selectedTransactionCurrency): void + { + $this->selectedTransactionCurrency = $selectedTransactionCurrency; + } + + /** + * Gets sms + * + * SMS provided by user for communications. This is only used for instances where a buyers email + * (primary form of buyer communication) is can not be gathered. + * + * @return string|null the sms + */ + public function getSms(): ?string + { + return $this->sms; + } + + /** + * Sets sms + * + * SMS provided by user for communications. This is only used for instances where a buyers email + * (primary form of buyer communication) is can not be gathered. + * + * @param string $sms the sms + */ + public function setSms(string $sms): void + { + $this->sms = $sms; + } + + /** + * Gets verification status of SMS (ie. have they passed the challenge). + * + * @return bool|null the sms verified + */ + public function getSmsVerified(): ?bool + { + return $this->smsVerified; + } + + /** + * Sets verification status of SMS (ie. have they passed the challenge). + * + * @param bool $smsVerified the sms verified + */ + public function setSmsVerified(bool $smsVerified): void + { + $this->smsVerified = $smsVerified; + } + + /** + * Gets BuyerProvidedInfo as array + * + * @return array BuyerProvidedInfo as array + */ + public function toArray(): array + { + $elements = [ + 'name' => $this->getName(), + 'phoneNumber' => $this->getPhoneNumber(), + 'selectedWallet' => $this->getSelectedWallet(), + 'emailAddress' => $this->getEmailAddress(), + 'selectedTransactionCurrency' => $this->getSelectedTransactionCurrency(), + 'sms' => $this->getSms(), + 'smsVerified' => $this->getSmsVerified(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Invoice.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Invoice.php new file mode 100644 index 0000000..4afb9fb --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Invoice.php @@ -0,0 +1,1884 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +use BitPaySDK\Exceptions\BitPayException; +use BitPaySDK\Model\Currency; + +/** + * @package Bitpay + * @see REST API Invoices + */ +class Invoice +{ + protected ?string $currency = null; + protected ?string $guid = null; + protected ?string $token = null; + protected ?float $price = null; + protected ?string $posData = null; + protected ?string $notificationURL = null; + protected ?string $transactionSpeed = null; + protected bool $fullNotifications = false; + protected ?string $notificationEmail = null; + protected ?string $redirectURL = null; + protected ?string $orderId = null; + protected ?string $itemDesc = null; + protected ?string $itemCode = null; + protected bool $physical = false; + protected ?array $paymentCurrencies = null; + protected ?array $paymentSubtotals = null; + protected ?array $paymentTotals = null; + protected ?array $paymentCodes = null; + protected ?float $acceptanceWindow = null; + protected ?Buyer $buyer = null; + protected ?array $refundAddresses = null; + protected ?string $closeURL = null; + protected bool $autoRedirect = false; + protected ?bool $jsonPayProRequired = null; + protected ?string $buyerEmail = null; + protected ?string $buyerSms = null; + protected ?string $merchantName = null; + protected ?string $selectedTransactionCurrency = null; + protected ?string $forcedBuyerSelectedWallet = null; + protected ?string $forcedBuyerSelectedTransactionCurrency = null; + /** + * @var ItemizedDetails[] + */ + protected array $itemizedDetails = []; + protected ?string $id = null; + protected ?string $url = null; + protected ?string $status = null; + protected ?bool $lowFeeDetected = null; + protected ?int $invoiceTime = null; + protected ?string $expirationTime = null; + protected ?string $currentTime = null; + protected ?array $transactions = null; + protected ?bool $exceptionStatus = null; + protected ?int $targetConfirmations = null; + protected ?bool $refundAddressRequestPending = null; + protected ?string $buyerProvidedEmail = null; + protected ?BuyerProvidedInfo $buyerProvidedInfo = null; + protected ?UniversalCodes $universalCodes = null; + protected ?SupportedTransactionCurrencies $supportedTransactionCurrencies = null; + protected ?MinerFees $minerFees = null; + protected ?bool $nonPayProPaymentReceived = null; + protected ?Shopper $shopper = null; + protected ?string $billId = null; + protected ?RefundInfo $refundInfo = null; + protected bool $extendedNotifications = false; + protected ?bool $isCancelled = null; + protected ?string $transactionCurrency = null; + protected ?int $underpaidAmount = null; + protected ?int $overpaidAmount = null; + protected ?int $amountPaid = null; + protected ?string $displayAmountPaid = null; + protected ?array $exchangeRates = null; + protected ?bool $bitpayIdRequired = null; + protected ?array $paymentDisplayTotals = null; + protected ?array $paymentDisplaySubTotals = null; + + /** + * Constructor, create a minimal request Invoice object. + * + * @param float|null $price float The amount for which the invoice will be created. + * @param string|null $currency string three digit currency type used to compute the invoice bitcoin amount. + */ + public function __construct(float $price = null, string $currency = null) + { + $this->price = $price; + $this->currency = $currency; + $this->buyer = new Buyer(); + $this->buyerProvidedInfo = new BuyerProvidedInfo(); + $this->universalCodes = new UniversalCodes(); + $this->supportedTransactionCurrencies = new SupportedTransactionCurrencies(); + $this->minerFees = new MinerFees(); + $this->shopper = new Shopper(); + $this->refundInfo = new RefundInfo(); + $this->itemizedDetails = []; + } + + // API fields + // + + /** + * Gets currency + * + * ISO 4217 3-character currency code. This is the currency associated with the price field, + * supported currencies are available via the + * Currencies resource + * + * @return string|null The currency + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + // Required fields + // + + /** + * Sets currency + * + * ISO 4217 3-character currency code. This is the currency associated with the price field, + * supported currencies are available via the + * Currencies resource + * + * @param string $currency 3-character currency code + * + * @throws BitPayException + */ + public function setCurrency(string $currency): void + { + if (!Currency::isValid($currency)) { + throw new BitPayException("currency code must be a type of Model.Currency"); + } + + $this->currency = $currency; + } + + /** + * Gets guid + * + * A passthru variable provided by the merchant and designed to be used by the merchant + * to correlate the invoice with an order ID in their system, + * which can be used as a lookup variable in Retrieve Invoice by GUID. + * + * @return string|null The guid + */ + public function getGuid(): ?string + { + return $this->guid; + } + + /** + * Sets guid + * + * A passthru variable provided by the merchant and designed to be used by the merchant + * to correlate the invoice with an order ID in their system, + * which can be used as a lookup variable in Retrieve Invoice by GUID. + * + * @param string $guid The guid of the refund request being retrieved + */ + public function setGuid(string $guid): void + { + $this->guid = $guid; + } + + /** + * Gets token + * + * Invoice resource token. This token is derived from the API token initially used + * to create the invoice and is tied to the specific resource id created. + * + * @return string|null - Invoice resource token. + */ + public function getToken(): ?string + { + return $this->token; + } + + // Optional fields + // + /** + * Sets token + * + * Invoice resource token. + * This token is derived from the API token initially used to create the + * invoice and is tied to the specific resource id created. + * + * @param string $token Invoice resource token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + /** + * Gets price + * + * Fixed price amount for the checkout, in the "currency" of the invoice object. + * + * @return float|null The price + */ + public function getPrice(): ?float + { + return $this->price; + } + + /** + * Sets price + * + * Fixed price amount for the checkout, in the "currency" of the invoice object. + * + * @param float $price Fixed price amount for the checkout, in the "currency" of the invoice object. + * + */ + public function setPrice(float $price): void + { + $this->price = $price; + } + + /** + * Gets posData + * + * A passthru variable provided by the merchant during invoice creation and designed to be + * used by the merchant to correlate the invoice with an order or other object in their system. + * This passthru variable can be a serialized object. + * + * @return string|null The pos data + */ + public function getPosData(): ?string + { + return $this->posData; + } + + /** + * Sets posData + * + * A passthru variable provided by the merchant during invoice creation and designed to be + * used by the merchant to correlate the invoice with an order or other object in their system. + * This passthru variable can be a serialized object. + * + * @param string $posData the pos data + */ + public function setPosData(string $posData): void + { + $this->posData = $posData; + } + + /** + * Gets notificationURL + * + * @return string|null - URL to which BitPay sends webhook notifications. HTTPS is mandatory. + */ + public function getNotificationURL(): ?string + { + return $this->notificationURL; + } + + /** + * Sets notificationURL + * + * @param string $notificationURL - URL to which BitPay sends webhook notifications. HTTPS is mandatory. + */ + public function setNotificationURL(string $notificationURL): void + { + $this->notificationURL = $notificationURL; + } + + /** + * Gets transactionSpeed. + * + * This is a risk mitigation parameter for the merchant to configure how they want + * to fulfill orders depending on the number of block confirmations for the transaction + * made by the consumer on the selected cryptocurrency. + * If not set on the invoice, transactionSpeed will default to the account-level Order Settings. + * Note : orders are only credited to your BitPay Account Summary for settlement after + * the invoice reaches the status "complete" (regardless of this setting). + * + * @return string|null the transaction speed + */ + public function getTransactionSpeed(): ?string + { + return $this->transactionSpeed; + } + + /** + * Sets transactionSpeed. + * + * This is a risk mitigation parameter for the merchant to configure how they want + * to fulfill orders depending on the number of block confirmations for the transaction + * made by the consumer on the selected cryptocurrency. + * If not set on the invoice, transactionSpeed will default to the account-level Order Settings. + * Note : orders are only credited to your BitPay Account Summary for settlement after + * the invoice reaches the status "complete" (regardless of this setting). + * + * @param string $transactionSpeed the transaction speed + */ + public function setTransactionSpeed(string $transactionSpeed): void + { + $this->transactionSpeed = $transactionSpeed; + } + + /** + * Gets fullNotifications + * + * This parameter is set to true by default, meaning all standard notifications + * are being sent for a payment made to an invoice. + * If you decide to set it to false instead, only 1 webhook will be sent for each + * invoice paid by the consumer. + * This webhook will be for the "confirmed" or "complete" invoice status, + * depending on the transactionSpeed selected. + * + * @return bool|null the full notification + */ + public function getFullNotifications(): ?bool + { + return $this->fullNotifications; + } + + /** + * Sets fullNotifications + * + * This parameter is set to true by default, meaning all standard notifications + * are being sent for a payment made to an invoice. + * If you decide to set it to false instead, only 1 webhook will be sent for each + * invoice paid by the consumer. + * This webhook will be for the "confirmed" or "complete" invoice status, + * depending on the transactionSpeed selected. + * + * @param bool $fullNotifications the full notification + */ + public function setFullNotifications(bool $fullNotifications): void + { + $this->fullNotifications = $fullNotifications; + } + + /** + * Gets NotificationEmail + * + * Merchant email address for notification of payout status change. + * + * @return string|null the notification email + */ + public function getNotificationEmail(): ?string + { + return $this->notificationEmail; + } + + /** + * Sets NotificationEmail + * + * Merchant email address for notification of payout status change. + * + * @param string $notificationEmail Merchant email address for notification of payout status change + */ + public function setNotificationEmail(string $notificationEmail): void + { + $this->notificationEmail = $notificationEmail; + } + + /** + * Gets RedirectURL + * + * The shopper will be redirected to this URL when clicking on the Return button + * after a successful payment or when clicking on the Close button if a separate closeURL is not specified. + * + * @return string|null the redirect url + */ + public function getRedirectURL(): ?string + { + return $this->redirectURL; + } + + /** + * Sets RedirectURL + * + * The shopper will be redirected to this URL when clicking on the Return button + * after a successful payment or when clicking on the Close button if a separate closeURL is not specified. + * Be sure to include "http://" or "https://" in the url. + * + * @param string $redirectURL The shopper will be redirected to this URL + */ + public function setRedirectURL(string $redirectURL): void + { + $this->redirectURL = $redirectURL; + } + + /** + * Gets orderId + * + * Can be used by the merchant to assign their own internal Id to an invoice. + * If used, there should be a direct match between an orderId and an invoice id. + * + * @return string|null + */ + public function getOrderId(): ?string + { + return $this->orderId; + } + + /** + * Sets orderId + * + * Can be used by the merchant to assign their own internal Id to an invoice. + * If used, there should be a direct match between an orderId and an invoice id. + * + * @param string $orderId Invoice order id + */ + public function setOrderId(string $orderId): void + { + $this->orderId = $orderId; + } + + + /** + * Gets itemDesc + * + * Invoice description - will be added as a line item on the BitPay checkout page, under the merchant name. + * + * @return string|null the item desc + */ + public function getItemDesc(): ?string + { + return $this->itemDesc; + } + + + /** + * Sets itemDesc + * + * Invoice description - will be added as a line item on the BitPay checkout page, under the merchant name. + * + * @param string $itemDesc Invoice description + */ + public function setItemDesc(string $itemDesc): void + { + $this->itemDesc = $itemDesc; + } + + /** + * Gets itemCode + * + * "bitcoindonation" for donations, otherwise do not include the field in the request. + * + * @return string|null the item code + */ + public function getItemCode(): ?string + { + return $this->itemCode; + } + + /** + * Sets itemCode + * + * "bitcoindonation" for donations, otherwise do not include the field in the request. + * + * @param string $itemCode "bitcoindonation" for donations, otherwise do not include the field in the request. + */ + public function setItemCode(string $itemCode): void + { + $this->itemCode = $itemCode; + } + + /** + * Gets physical. + * + * Indicates whether items are physical goods. Alternatives include digital goods and services. + * + * @return bool|null the physical + */ + public function getPhysical(): ?bool + { + return $this->physical; + } + + /** + * Sets physical. + * + * Indicates whether items are physical goods. Alternatives include digital goods and services. + * + * @param bool $physical the physical + */ + public function setPhysical(bool $physical): void + { + $this->physical = $physical; + } + + /** + * Gets paymentCurrencies + * + * Allow the merchant to select the cryptocurrencies available as payment option on the BitPay invoice. + * Possible values are currently "BTC", "BCH", "ETH", "GUSD", + * "PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * For instance "paymentCurrencies": ["BTC"] will create an invoice with only XRP available as transaction currency, + * thus bypassing the currency selection step on the invoice. + * + * @return array|null the payment currencies + */ + public function getPaymentCurrencies(): ?array + { + return $this->paymentCurrencies; + } + + /** + * Sets paymentCurrencies + * + * Allow the merchant to select the cryptocurrencies available as payment option on the BitPay invoice. + * Possible values are currently "BTC", "BCH", "ETH", "GUSD", + * "PAX", "BUSD", "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * For instance "paymentCurrencies": ["BTC"] will create an invoice with only XRP available as transaction currency, + * thus bypassing the currency selection step on the invoice. + * + * @param array $paymentCurrencies the payment currencies + */ + public function setPaymentCurrencies(array $paymentCurrencies): void + { + $this->paymentCurrencies = $paymentCurrencies; + } + + /** + * Gets closeURL + * + * URL to redirect if the shopper does not pay the invoice and click on the Close button instead. + * + * @return string|null the close url + */ + public function getCloseURL(): ?string + { + return $this->closeURL; + } + + /** + * Gets closeURL + * + * URL to redirect if the shopper does not pay the invoice and click on the Close button instead. + * Be sure to include "http://" or "https://" in the url. + * + * @param string $closeURL URL to redirect if the shopper does not pay the invoice + */ + public function setCloseURL(string $closeURL): void + { + $this->closeURL = $closeURL; + } + + /** + * Gets autoRedirect + * + * Set to false by default, + * merchant can setup automatic redirect to their website by setting this parameter to true. + * + * @return bool|null the auto redirect + */ + public function getAutoRedirect(): ?bool + { + return $this->autoRedirect; + } + + /** + * Sets autoRedirect + * + * Set to false by default, + * merchant can setup automatic redirect to their website by setting this parameter to true. + * + * @param bool $autoRedirect the auto redirect + */ + public function setAutoRedirect(bool $autoRedirect): void + { + $this->autoRedirect = $autoRedirect; + } + + /** + * Gets jsonPayProRequired + * + * Boolean set to false by default. + * If set to true, this means that the invoice will only accept payments + * from wallets which have implemented the + * BitPay JSON Payment Protocol + * + * @return bool|null the json pay pro required + */ + public function getJsonPayProRequired(): ?bool + { + return $this->jsonPayProRequired; + } + + /** + * Sets jsonPayProRequired + * + * Boolean set to false by default. + * If set to true, this means that the invoice will only accept payments + * from wallets which have implemented the + * BitPay JSON Payment Protocol + * + * @param bool $jsonPayProRequired the json pay pro required + */ + public function setJsonPayProRequired(bool $jsonPayProRequired): void + { + $this->jsonPayProRequired = $jsonPayProRequired; + } + + /** + * Gets bitpayIdRequired + * + * BitPay ID is a verification process that is required when a user is making payments + * or receiving a refund over a given threshold, which may vary by region. + * This Boolean forces the invoice to require BitPay ID regardless of the price. + * + * @return bool|null the Bitpay id required + */ + public function getBitpayIdRequired(): ?bool + { + return $this->bitpayIdRequired; + } + + /** + * Sets bitpayIdRequired + * + * BitPay ID is a verification process that is required when a user is making payments + * or receiving a refund over a given threshold, which may vary by region. + * This Boolean forces the invoice to require BitPay ID regardless of the price. + * + * @param bool $bitpayIdRequired the bitpay id required + */ + public function setBitpayIdRequired(bool $bitpayIdRequired): void + { + $this->bitpayIdRequired = $bitpayIdRequired; + } + + /** + * Gets merchantName + * + * A display string for merchant identification (ex. Wal-Mart Store #1452, Bowling Green, KY). + * + * @return string|null the merchant name + */ + public function getMerchantName(): ?string + { + return $this->merchantName; + } + + /** + * Sets merchantName + * + * A display string for merchant identification (ex. Wal-Mart Store #1452, Bowling Green, KY). + * + * @param string $merchantName A display string for merchant identification + */ + public function setMerchantName(string $merchantName): void + { + $this->merchantName = $merchantName; + } + + /** + * Gets selectedTransactionCurrency + * + * This field will be populated with the cryptocurrency selected to pay the BitPay invoice, + * current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", + * "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * If not yet selected, this field will not be returned. + * + * @return string|null the selected transaction currency + */ + public function getSelectedTransactionCurrency(): ?string + { + return $this->selectedTransactionCurrency; + } + + /** + * Sets selectedTransactionCurrency + * + * This field will be populated with the cryptocurrency selected to pay the BitPay invoice, + * current supported values are "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", + * "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * If not yet selected, this field will not be returned. + * + * @param string $selectedTransactionCurrency This field will be populated with the cryptocurrency selected + * to pay the BitPay invoice + */ + public function setSelectedTransactionCurrency(string $selectedTransactionCurrency): void + { + $this->selectedTransactionCurrency = $selectedTransactionCurrency; + } + + /** + * Gets forcedBuyerSelectedWallet + * + * Merchant pre-selects transaction currency on behalf of buyer. + * + * @return string|null the forced buyer selected wallet + */ + public function getForcedBuyerSelectedWallet(): ?string + { + return $this->forcedBuyerSelectedWallet; + } + + /** + * Sets forcedBuyerSelectedWallet + * + * Merchant pre-selects transaction currency on behalf of buyer. + * + * @param string $forcedBuyerSelectedWallet Merchant pre-selects wallet on behalf of buyer + */ + public function setForcedBuyerSelectedWallet(string $forcedBuyerSelectedWallet) + { + $this->forcedBuyerSelectedWallet = $forcedBuyerSelectedWallet; + } + + /** + * Gets forcedBuyerSelectedWallet + * + * Merchant pre-selects transaction currency on behalf of buyer. + * + * @return string|null Merchant pre-selects transaction currency + */ + public function getForcedBuyerSelectedTransactionCurrency(): ?string + { + return $this->forcedBuyerSelectedTransactionCurrency; + } + + /** + * Sets forcedBuyerSelectedWallet + * + * Merchant pre-selects transaction currency on behalf of buyer. + * + * @param string $forcedBuyerSelectedTransactionCurrency Merchant pre-selects transaction currency + */ + public function setForcedBuyerSelectedTransactionCurrency(string $forcedBuyerSelectedTransactionCurrency) + { + $this->forcedBuyerSelectedTransactionCurrency = $forcedBuyerSelectedTransactionCurrency; + } + + /** + * Gets itemizedDetails + * + * Object containing line item details for display. + * + * @return ItemizedDetails[] + */ + public function getItemizedDetails(): array + { + return $this->itemizedDetails; + } + + /** + * Sets itemizedDetails + * + * Object containing line item details for display. + * + * @param ItemizedDetails[] $itemizedDetails + * @throws BitPayException + */ + public function setItemizedDetails(array $itemizedDetails): void + { + foreach ($itemizedDetails as $item) { + if (!$item instanceof ItemizedDetails) { + throw new BitPayException('Wrong format for itemized details'); + } + } + + $this->itemizedDetails = $itemizedDetails; + } + + /** + * Gets acceptanceWindow + * + * Number of milliseconds that a user has to pay an invoice before it expires (0-900000). + * If not set, invoice will default to the account acceptanceWindow. + * If account acceptanceWindow is not set, invoice will default to 15 minutes (900,000 milliseconds). + * + * @return float|null the acceptance window + */ + public function getAcceptanceWindow(): ?float + { + return $this->acceptanceWindow; + } + + /** + * Sets acceptanceWindow + * + * Number of milliseconds that a user has to pay an invoice before it expires (0-900000). + * If not set, invoice will default to the account acceptanceWindow. + * If account acceptanceWindow is not set, invoice will default to 15 minutes (900,000 milliseconds). + * + * @param float $acceptanceWindow Number of milliseconds that a user has to pay an invoice before it expire + */ + public function setAcceptanceWindow(float $acceptanceWindow): void + { + $this->acceptanceWindow = $acceptanceWindow; + } + + /** + * Gets buyer + * + * Allows merchant to pass buyer related information in the invoice object + * + * @return Buyer|null the buyer + */ + public function getBuyer(): ?Buyer + { + return $this->buyer; + } + + /** + * Sets buyer + * + * Allows merchant to pass buyer related information in the invoice object + * + * @param Buyer $buyer the buyer + */ + public function setBuyer(Buyer $buyer): void + { + $this->buyer = $buyer; + } + + /** + * Gets buyerEmail + * + * Buyer's email address. + * If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice. + * + * @return string|null the buyer email + */ + public function getBuyerEmail(): ?string + { + return $this->buyerEmail; + } + + /** + * Sets buyerEmail + * + * Buyer's email address. + * If provided during invoice creation, this will bypass the email prompt for the consumer when opening the invoice. + * + * @param string $buyerEmail Buyer's email address + */ + public function setBuyerEmail(string $buyerEmail): void + { + $this->buyerEmail = $buyerEmail; + } + + /** + * Gets buyerSms + * + * SMS provided by user for communications. + * This is only used for instances where a buyers email + * (primary form of buyer communication) is can not be gathered. + * + * @return string|null the buyer sms + */ + public function getBuyerSms(): ?string + { + return $this->buyerSms; + } + + /** + * Sets buyerSms + * + * SMS provided by user for communications. + * This is only used for instances where a buyers email + * (primary form of buyer communication) is can not be gathered. + * + * @param string $buyerSms SMS provided by user for communication + */ + public function setBuyerSms(string $buyerSms): void + { + $this->buyerSms = $buyerSms; + } + + // Response fields + // + + /** + * Gets refundAddresses + * + * Initially empty when the invoice is created. + * This field will be populated with the refund address + * provided by the customer if you request a refund of the specific invoice. + * + * @return array|null Refund address provided by the customer + */ + public function getRefundAddresses(): ?array + { + return $this->refundAddresses; + } + + /** + * Sets refundAddresses + * + * Initially empty when the invoice is created. + * This field will be populated with the refund address + * provided by the customer if you request a refund of the specific invoice. + * + * @param array $refundAddresses Refund address provided by the customer + */ + public function setRefundAddresses(array $refundAddresses): void + { + $this->refundAddresses = $refundAddresses; + } + + /** + * Gets invoice resource id + * + * @return string|null Invoice resource id + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets invoice resource id + * + * @param string $id Invoice resource id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets url + * + * Web address of invoice, expires at expirationTime + * + * @return string|null Web address of invoice + */ + public function getUrl(): ?string + { + return $this->url; + } + + /** + * Sets url + * + * Web address of invoice, expires at expirationTime + * + * @param string $url Web address of invoice + */ + public function setUrl(string $url): void + { + $this->url = $url; + } + + /** + * Gets status + * + * Detailed information about invoice status notifications can be found under the + * + * Instant Payment Notification (IPN) section. + * + * + * @return string|null Invoice status + */ + public function getStatus(): ?string + { + return $this->status; + } + + /** + * Sets status + * + * Detailed information about invoice status notifications can be found under the + * + * Instant Payment Notification (IPN) section. + * + * + * @param string $status Invoice status + */ + public function setStatus(string $status): void + { + $this->status = $status; + } + + /** + * Gets lowFeeDetected + * + * Flag to indicate if the miner fee used by the buyer is too low. + * Initially set to false when the invoice is created. + * + * @return bool|null Flag to indicate if the miner fee used by the buyer is too low + */ + public function getLowFeeDetected(): ?bool + { + return $this->lowFeeDetected; + } + + /** + * Sets lowFeeDetected + * + * Flag to indicate if the miner fee used by the buyer is too low. + * Initially set to false when the invoice is created. + * + * @param boolean $lowFeeDetected Flag to indicate if the miner fee used by the buyer is too low + */ + public function setLowFeeDetected(bool $lowFeeDetected) + { + $this->lowFeeDetected = $lowFeeDetected; + } + + /** + * Gets invoiceTime - UNIX time of invoice creation, in milliseconds + * + * @return int|null UNIX time of invoice creation, in milliseconds + */ + public function getInvoiceTime(): ?int + { + return $this->invoiceTime; + } + + /** + * Sets invoiceTime - UNIX time of invoice creation, in milliseconds + * + * @param int $invoiceTime UNIX time of invoice creation, in milliseconds + */ + public function setInvoiceTime(int $invoiceTime) + { + $this->invoiceTime = $invoiceTime; + } + + /** + * Gets expirationTime - UNIX time when invoice is last available to be paid, in milliseconds + * + * @return string|null the UNIX time + */ + public function getExpirationTime(): ?string + { + return $this->expirationTime; + } + + /** + * Sets expirationTime - UNIX time when invoice is last available to be paid, in milliseconds + * + * @param string $expirationTime UNIX time when invoice is last available to be paid, in milliseconds + */ + public function setExpirationTime(string $expirationTime): void + { + $this->expirationTime = $expirationTime; + } + + /** + * Gets currentTime - UNIX time of API call, in milliseconds + * + * @return string|null UNIX time + */ + public function getCurrentTime(): ?string + { + return $this->currentTime; + } + + /** + * Sets currentTime - UNIX time of API call, in milliseconds + * + * @param string $currentTime UNIX time of API call, in milliseconds + */ + public function setCurrentTime(string $currentTime): void + { + $this->currentTime = $currentTime; + } + + /** + * Gets transactions + * + * Contains the cryptocurrency transaction details for the executed payout. + * + * @return array|null the transactions + */ + public function getTransactions(): ?array + { + return $this->transactions; + } + + /** + * Sets transactions + * + * Contains the cryptocurrency transaction details for the executed payout. + * + * @param array $transactions array with the crypto currency transaction hashes linked to the invoice + */ + public function setTransactions(array $transactions): void + { + $this->transactions = $transactions; + } + + /** + * Gets exceptionStatus + * + * Initially a boolean false, this parameter will indicate if the purchaser sent too much ("paidOver") + * or not enough funds ("paidPartial") in the transaction to pay the BitPay invoice. Possible values are: + * false: default value (boolean) unless an exception is triggered. + * "paidPartial": (string) if the consumer did not send enough funds when paying the invoice. + * "paidOver": (string) if the consumer sent to much funds when paying the invoice. + * + * @return bool|null the exception status + */ + public function getExceptionStatus(): ?bool + { + return $this->exceptionStatus; + } + + /** + * Sets exceptionStatus + * + * Initially a boolean false, this parameter will indicate if the purchaser sent too much ("paidOver") + * or not enough funds ("paidPartial") in the transaction to pay the BitPay invoice. Possible values are: + * false: default value (boolean) unless an exception is triggered. + * "paidPartial": (string) if the consumer did not send enough funds when paying the invoice. + * "paidOver": (string) if the consumer sent to much funds when paying the invoice. + * + * @param boolean $exceptionStatus this parameter will indicate if the purchaser sent too much or not enough funds + */ + public function setExceptionStatus(bool $exceptionStatus): void + { + $this->exceptionStatus = $exceptionStatus; + } + + /** + * Gets targetConfirmations + * + * Indicates the number of block confirmation of the crypto currency + * transaction which are required to credit a paid invoice to the merchant account. + * Currently, the value set is set to 6 by default for BTC/BCH/XRP, + * 40 for DOGE and 50 for ETH/GUSD/PAX/USDC/BUSD/DAI/WBTC + * + * @return int|null the target confirmations + */ + public function getTargetConfirmations(): ?int + { + return $this->targetConfirmations; + } + + /** + * Sets targetConfirmations + * + * Indicates the number of block confirmation of the crypto currency + * transaction which are required to credit a paid invoice to the merchant account. + * Currently, the value set is set to 6 by default for BTC/BCH/XRP, + * 40 for DOGE and 50 for ETH/GUSD/PAX/USDC/BUSD/DAI/WBTC + *c + * @param int $targetConfirmations Indicates the number of block confirmation of the crypto currency transaction + * which are required to credit a paid invoice to the merchant account + */ + public function setTargetConfirmations(int $targetConfirmations): void + { + $this->targetConfirmations = $targetConfirmations; + } + + /** + * Gets refundAddressRequestPending + * + * Initially set to false when the invoice is created, + * this field will be set to true once a refund request has been issued by the merchant. + * This flag is here to indicate that the refund request is pending action + * from the buyer to provide an address for the refund, + * via the secure link which has been automatically emailed to him. + * + * @return bool|null the refund address request pending + */ + public function getRefundAddressRequestPending(): ?bool + { + return $this->refundAddressRequestPending; + } + + /** + * Sets refundAddressRequestPending + * + * Initially set to false when the invoice is created, + * this field will be set to true once a refund request has been issued by the merchant. + * This flag is here to indicate that the refund request is pending action + * from the buyer to provide an address for the refund, + * via the secure link which has been automatically emailed to him. + * + * @param boolean $refundAddressRequestPending This flag is here to indicate that the refund + * request is pending action + */ + public function setRefundAddressRequestPending(bool $refundAddressRequestPending): void + { + $this->refundAddressRequestPending = $refundAddressRequestPending; + } + + /** + * Gets buyerProvidedEmail + * + * Populated with the buyer's email address if passed in the buyer object by the merchant, + * otherwise this field is not returned for newly created invoices. + * If the merchant does not pass the buyer email in the invoice request, + * the bitpay invoice UI will prompt the user to enter his + * email address and this field will be populated with the email submitted. + * + * @return string|null the buyer provided email + */ + public function getBuyerProvidedEmail(): ?string + { + return $this->buyerProvidedEmail; + } + + /** + * Sets buyerProvidedEmail + * + * Populated with the buyer's email address if passed in the buyer object by the merchant, + * otherwise this field is not returned for newly created invoices. + * If the merchant does not pass the buyer email in the invoice request, + * the bitpay invoice UI will prompt the user to enter his + * email address and this field will be populated with the email submitted. + * + * @param string $buyerProvidedEmail Populated with the buyer's email address if passed in the buyer object + * by the merchant + */ + public function setBuyerProvidedEmail(string $buyerProvidedEmail): void + { + $this->buyerProvidedEmail = $buyerProvidedEmail; + } + + /** + * Gets buyerProvidedEmail + * + * Information collected from the buyer during the process of paying an invoice. + * Initially this object is empty. + * + * @return BuyerProvidedInfo|null Information collected from the buyer + */ + public function getBuyerProvidedInfo(): ?BuyerProvidedInfo + { + return $this->buyerProvidedInfo; + } + + /** + * Sets buyerProvidedEmail + * + * Information collected from the buyer during the process of paying an invoice. + * Initially this object is empty. + * + * @param BuyerProvidedInfo $buyerProvidedInfo Information collected from the buyer + * during the process of paying an invoice + */ + public function setBuyerProvidedInfo(BuyerProvidedInfo $buyerProvidedInfo) + { + $this->buyerProvidedInfo = $buyerProvidedInfo; + } + + /** + * Gets universalCodes + * + * Object containing wallet-specific URLs for payment protocol. + * + * @return UniversalCodes|null UniversalCodes + */ + public function getUniversalCodes(): ?UniversalCodes + { + return $this->universalCodes; + } + + /** + * Sets universalCodes + * + * @param UniversalCodes $universalCodes Object containing wallet-specific URLs for payment protocol. + */ + public function setUniversalCodes(UniversalCodes $universalCodes) + { + $this->universalCodes = $universalCodes; + } + + /** + * Gets supportedTransactionCurrencies + * + * The currencies that may be used to pay this invoice. + * The object is keyed by currency code. + * The values are objects with an "enabled" boolean and option. + * An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice. + * If you disable a currency via the invoice parameter "paymentCurrencies", + * this parameter will be set to "merchantDisabledByParam" + * + * @return SupportedTransactionCurrencies|null The currencies that may be used to pay this invoice + */ + public function getSupportedTransactionCurrencies(): ?SupportedTransactionCurrencies + { + return $this->supportedTransactionCurrencies; + } + + /** + * Sets supportedTransactionCurrencies + * + * The currencies that may be used to pay this invoice. + * The object is keyed by currency code. + * The values are objects with an "enabled" boolean and option. + * An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice. + * If you disable a currency via the invoice parameter "paymentCurrencies", + * this parameter will be set to "merchantDisabledByParam" + * + * @param SupportedTransactionCurrencies $supportedTransactionCurrencies The currencies that may be used + * to pay this invoice + */ + public function setSupportedTransactionCurrencies( + SupportedTransactionCurrencies $supportedTransactionCurrencies + ): void { + $this->supportedTransactionCurrencies = $supportedTransactionCurrencies; + } + + /** + * Gets paymentTotals + * + * For internal use - This field can be ignored in merchant implementations. + * + * @return array|null the payment totals + */ + public function getPaymentTotals(): ?array + { + return $this->paymentTotals; + } + + /** + * Sets paymentTotals + * + * For internal use - This field can be ignored in merchant implementations. + * + * @param array|null $paymentTotals the payment totals + */ + public function setPaymentTotals(?array $paymentTotals) + { + $this->paymentTotals = $paymentTotals; + } + + /** + * Gets paymentSubtotals + * + * For internal use. This field can be ignored in merchant implementations. + * + * @return array|null the payment subtotals + */ + public function getPaymentSubtotals(): ?array + { + return $this->paymentSubtotals; + } + + /** + * Sets paymentSubtotals + * + * For internal use. This field can be ignored in merchant implementations. + * + * @param array|null $paymentSubtotals the payment subtotals + */ + public function setPaymentSubtotals(?array $paymentSubtotals) + { + $this->paymentSubtotals = $paymentSubtotals; + } + + /** + * Gets paymentDisplaySubtotals + * + * Equivalent to price for each supported transactionCurrency, excluding minerFees. + * The key is the currency and the value is an amount indicated in the base unit + * for each supported transactionCurrency. + * + * @return array|null Equivalent to price for each supported transactionCurrency + */ + public function getPaymentDisplaySubTotals(): ?array + { + return $this->paymentDisplaySubTotals; + } + + /** + * Sets paymentDisplaySubtotals + * + * Equivalent to price for each supported transactionCurrency, excluding minerFees. + * The key is the currency and the value is an amount indicated in the base unit + * for each supported transactionCurrency. + * + * @param array|null $paymentDisplaySubTotals Equivalent to price for each supported transactionCurrency + */ + public function setPaymentDisplaySubTotals(?array $paymentDisplaySubTotals) + { + $this->paymentDisplaySubTotals = $paymentDisplaySubTotals; + } + + /** + * Gets paymentDisplayTotals + * + * The total amount that the purchaser should pay as displayed on the invoice UI. + * This is like paymentDisplaySubTotals but with the minerFees included. + * The key is the currency and the value is an amount + * indicated in the base unit for each supported transactionCurrency. + * + * @return array|null The total amount that the purchaser should pay + */ + public function getPaymentDisplayTotals(): ?array + { + return $this->paymentDisplayTotals; + } + + /** + * Sets paymentDisplayTotals + * + * The total amount that the purchaser should pay as displayed on the invoice UI. + * This is like paymentDisplaySubTotals but with the minerFees included. + * The key is the currency and the value is an amount + * indicated in the base unit for each supported transactionCurrency. + * + * @param array|null $paymentDisplayTotals The total amount that the purchaser should pay + */ + public function setPaymentDisplayTotals(?array $paymentDisplayTotals) + { + $this->paymentDisplayTotals = $paymentDisplayTotals; + } + + /** + * Gets paymentCodes + * + * The URIs for sending a transaction to the invoice. The first key is the transaction currency. + * The transaction currency maps to an object containing the payment URIs. + * The key of this object is the BIP number and the value is the payment URI. + * For "BTC", "BCH" and "DOGE" - BIP72b and BIP73 are supported. + * For "ETH", "GUSD", "PAX", "BUSD", "USDC", "DAI" and "WBTC"- EIP681 is supported + * For "XRP" - RIP681, BIP72b and BIP73 is supported + * + * @return array|null + */ + public function getPaymentCodes(): ?array + { + return $this->paymentCodes; + } + + /** + * Sets paymentCodes + * + * The URIs for sending a transaction to the invoice. The first key is the transaction currency. + * The transaction currency maps to an object containing the payment URIs. + * The key of this object is the BIP number and the value is the payment URI. + * For "BTC", "BCH" and "DOGE" - BIP72b and BIP73 are supported. + * For "ETH", "GUSD", "PAX", "BUSD", "USDC", "DAI" and "WBTC"- EIP681 is supported + * For "XRP" - RIP681, BIP72b and BIP73 is supported + * + * @param array|null $paymentCodes + */ + public function setPaymentCodes(?array $paymentCodes) + { + $this->paymentCodes = $paymentCodes; + } + + /** + * Gets underpaidAmount + * + * This parameter will be returned on the invoice object + * if the invoice was underpaid ("exceptionStatus": "paidPartial"). + * It equals to the absolute difference between amountPaid + * and paymentTotals for the corresponding transactionCurrency used. + * + * @return int|null + */ + public function getUnderpaidAmount(): ?int + { + return $this->underpaidAmount; + } + + /** + * Sets underpaidAmount + * + * This parameter will be returned on the invoice object + * if the invoice was underpaid ("exceptionStatus": "paidPartial"). + * It equals to the absolute difference between amountPaid + * and paymentTotals for the corresponding transactionCurrency used. + * + * @param int $underpaidAmount the underpaid amount + */ + public function setUnderpaidAmount(int $underpaidAmount): void + { + $this->underpaidAmount = $underpaidAmount; + } + + /** + * Gets overpaidAmount + * + * This parameter will be returned on the invoice object + * if the invoice was overpaid ("exceptionStatus": "paidOver"). + * It equals to the absolute difference between amountPaid + * and paymentTotals for the corresponding transactionCurrency used. + * + * @return int|null + */ + public function getOverpaidAmount(): ?int + { + return $this->overpaidAmount; + } + + /** + * Sets overpaidAmount + * + * This parameter will be returned on the invoice object + * if the invoice was overpaid ("exceptionStatus": "paidOver"). + * It equals to the absolute difference between amountPaid + * and paymentTotals for the corresponding transactionCurrency used. + * + * @param int $overpaidAmount the overpaid amount + */ + public function setOverpaidAmount(int $overpaidAmount): void + { + $this->overpaidAmount = $overpaidAmount; + } + + /** + * Gets minerFees + * + * The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice. + * The key is the currency and the value is an object containing + * the satoshis per byte, the total fee, and the fiat amount. + * This is referenced as "Network Cost" on an invoice, see + * + * this support article + * for more information + * + * @return MinerFees|null + */ + public function getMinerFees(): ?MinerFees + { + return $this->minerFees; + } + + /** + * Sets minerFees + * + * The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice. + * The key is the currency and the value is an object containing + * the satoshis per byte, the total fee, and the fiat amount. + * This is referenced as "Network Cost" on an invoice, see + * + * this support article + * for more information + * + * @param MinerFees $minerFees The total amount of fees that the purchaser will pay + * to cover BitPay's UTXO sweep cost for an invoice + */ + public function setMinerFees(MinerFees $minerFees): void + { + $this->minerFees = $minerFees; + } + + /** + * Gets nonPayProPaymentReceived + * + * This boolean will be available on an invoice object once an invoice is paid + * and indicate if the transaction was made with a wallet using the payment protocol (true) or peer to peer (false). + * + * @return bool|null + */ + public function getNonPayProPaymentReceived(): ?bool + { + return $this->nonPayProPaymentReceived; + } + + /** + * Sets nonPayProPaymentReceived + * + * This boolean will be available on an invoice object once an invoice is paid + * and indicate if the transaction was made with a wallet using the payment protocol (true) or peer to peer (false). + * + * @param boolean $nonPayProPaymentReceived transaction was made with a wallet using the payment protocol + */ + public function setNonPayProPaymentReceived(bool $nonPayProPaymentReceived): void + { + $this->nonPayProPaymentReceived = $nonPayProPaymentReceived; + } + + /** + * Gets shopper + * + * This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID. + * See the following blogpost for more information. + * + * @return Shopper|null the shopper + */ + public function getShopper(): ?Shopper + { + return $this->shopper; + } + + /** + * Sets shopper + * + * This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID. + * See the following blogpost for more information. + * + * @param Shopper $shopper the shopper + */ + public function setShopper(Shopper $shopper) + { + $this->shopper = $shopper; + } + + /** + * Gets billId + * + * This field will be in the invoice object only if the invoice was generated from a bill, see the + * Bills resource for more information + * + * @return string|null + */ + public function getBillId(): ?string + { + return $this->billId; + } + + /** + * Sets billId + * + * This field will be in the invoice object only if the invoice was generated from a bill, see the + * Bills resource for more information + * + * @param string $billId the bill id + */ + public function setBillId(string $billId): void + { + $this->billId = $billId; + } + + /** + * Gets refundInfo + * + * For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice. + * + * @return RefundInfo|null + */ + public function getRefundInfo(): ?RefundInfo + { + return $this->refundInfo; + } + + /** + * Sets refundInfo + * + * For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice. + * + * @param RefundInfo object which contain the details of executed refunds for the corresponding invoice. + */ + public function setRefundInfo(RefundInfo $refundInfo): void + { + $this->refundInfo = $refundInfo; + } + + /** + * Gets extendedNotifications + * + * Allows merchants to get access to additional webhooks. + * For instance when an invoice expires without receiving a payment or when it is refunded. + * If set to true, then fullNotifications is automatically set to true. + * When using the extendedNotifications parameter, + * the webhook also have a payload slightly different from the standard webhooks. + * + * @return bool|null + */ + public function getExtendedNotifications(): ?bool + { + return $this->extendedNotifications; + } + + /** + * Sets extendedNotifications + * + * Allows merchants to get access to additional webhooks. + * For instance when an invoice expires without receiving a payment or when it is refunded. + * If set to true, then fullNotifications is automatically set to true. + * When using the extendedNotifications parameter, + * the webhook also have a payload slightly different from the standard webhooks. + * + * @param bool $extendedNotifications Allows merchants to get access to additional webhooks + */ + public function setExtendedNotifications(bool $extendedNotifications): void + { + $this->extendedNotifications = $extendedNotifications; + } + + /** + * Gets transactionCurrency + * + * The cryptocurrency used to pay the invoice. + * This field will only be available after a transaction is applied to the invoice. + * Possible values are currently "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", + * "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * + * @return string|null + */ + public function getTransactionCurrency(): ?string + { + return $this->transactionCurrency; + } + + /** + * Sets transactionCurrency + * + * The cryptocurrency used to pay the invoice. + * This field will only be available after a transaction is applied to the invoice. + * Possible values are currently "BTC", "BCH", "ETH", "GUSD", "PAX", "BUSD", + * "USDC", "XRP", "DOGE", "DAI" and "WBTC". + * + * @param string $transactionCurrency The currency used for the invoice transaction. + */ + public function setTransactionCurrency(string $transactionCurrency): void + { + $this->transactionCurrency = $transactionCurrency; + } + + /** + * Gets amountPaid + * + * The total amount paid to the invoice in terms of the invoice transactionCurrency indicated + * in the smallest possible unit for the corresponding transactionCurrency (e.g satoshis for BTC and BCH) + * + * @return int|null + */ + public function getAmountPaid(): ?int + { + return $this->amountPaid; + } + + /** + * Sets amountPaid + * + * The total amount paid to the invoice in terms of the invoice transactionCurrency indicated + * in the smallest possible unit for the corresponding transactionCurrency (e.g satoshis for BTC and BCH) + * + * @param int $amountPaid The total amount paid to the invoice + */ + public function setAmountPaid(int $amountPaid): void + { + $this->amountPaid = $amountPaid; + } + + /** + * Gets displayAmountPaid + * + * Initially set to "0" when creating the invoice. + * It will be updated with the total amount paid to the invoice + * indicated in the base unit for the corresponding transactionCurrency + * + * @return string|null + */ + public function getDisplayAmountPaid(): ?string + { + return $this->displayAmountPaid; + } + + /** + * Sets displayAmountPaid + * + * Initially set to "0" when creating the invoice. + * It will be updated with the total amount paid to the invoice + * indicated in the base unit for the corresponding transactionCurrency + * + * @param string $displayAmountPaid display amount paid + */ + public function setDisplayAmountPaid(string $displayAmountPaid): void + { + $this->displayAmountPaid = $displayAmountPaid; + } + + /** + * Gets exchangeRates + * + * Exchange rates keyed by source and target currencies. + * + * @return array|null + */ + public function getExchangeRates(): ?array + { + return $this->exchangeRates; + } + + /** + * Sets exchangeRates + * + * Exchange rates keyed by source and target currencies. + * + * @param array|null $exchangeRates Exchange rates keyed by source and target currencies. + */ + public function setExchangeRates(?array $exchangeRates): void + { + $this->exchangeRates = $exchangeRates; + } + + /** + * Gets isCancelled + * + * Indicates whether or not the invoice was cancelled. + * + * @return bool|null + */ + public function getIsCancelled(): ?bool + { + return $this->isCancelled; + } + + /** + * Sets isCancelled + * + * Indicates whether or not the invoice was cancelled. + * + * @param boolean $isCancelled Indicates whether or not the invoice was cancelled. + */ + public function setIsCancelled(bool $isCancelled): void + { + $this->isCancelled = $isCancelled; + } + + /** + * Returns the Invoice object as array + * + * @return array + */ + public function toArray(): array + { + $elements = [ + 'currency' => $this->getCurrency(), + 'guid' => $this->getGuid(), + 'token' => $this->getToken(), + 'price' => $this->getPrice(), + 'posData' => $this->getPosData(), + 'notificationURL' => $this->getNotificationURL(), + 'transactionSpeed' => $this->getTransactionSpeed(), + 'fullNotifications' => $this->getFullNotifications(), + 'notificationEmail' => $this->getNotificationEmail(), + 'redirectURL' => $this->getRedirectURL(), + 'orderId' => $this->getOrderId(), + 'itemDesc' => $this->getItemDesc(), + 'itemCode' => $this->getItemCode(), + 'physical' => $this->getPhysical(), + 'paymentCurrencies' => $this->getPaymentCurrencies(), + 'acceptanceWindow' => $this->getAcceptanceWindow(), + 'closeURL' => $this->getCloseURL(), + 'autoRedirect' => $this->getAutoRedirect(), + 'buyer' => $this->getBuyer() ? $this->getBuyer()->toArray() : null, + 'refundAddresses' => $this->getRefundAddresses(), + 'id' => $this->getId(), + 'url' => $this->getUrl(), + 'status' => $this->getStatus(), + 'lowFeeDetected' => $this->getLowFeeDetected(), + 'invoiceTime' => $this->getInvoiceTime(), + 'expirationTime' => $this->getExpirationTime(), + 'currentTime' => $this->getCurrentTime(), + 'transactions' => $this->getTransactions(), + 'exceptionStatus' => $this->getExceptionStatus(), + 'targetConfirmations' => $this->getTargetConfirmations(), + 'refundAddressRequestPending' => $this->getRefundAddressRequestPending(), + 'buyerProvidedEmail' => $this->getBuyerProvidedEmail(), + 'buyerProvidedInfo' => $this->getBuyerProvidedInfo() ? $this->getBuyerProvidedInfo()->toArray() : null, + 'universalCodes' => $this->getUniversalCodes() ? $this->getUniversalCodes()->toArray() : null, + 'supportedTransactionCurrencies' => $this->getSupportedTransactionCurrencies() + ? $this->getSupportedTransactionCurrencies()->toArray() : null, + 'minerFees' => $this->getMinerFees() ? $this->getMinerFees()->toArray() : null, + 'shopper' => $this->getShopper() ? $this->getShopper()->toArray() : null, + 'billId' => $this->getBillId(), + 'refundInfo' => $this->getRefundInfo() ? $this->getRefundInfo()->toArray() : null, + 'extendedNotifications' => $this->getExtendedNotifications(), + 'transactionCurrency' => $this->getTransactionCurrency(), + 'amountPaid' => $this->getAmountPaid(), + 'exchangeRates' => $this->getExchangeRates(), + 'merchantName' => $this->getMerchantName(), + 'selectedTransactionCurrency' => $this->getSelectedTransactionCurrency(), + 'bitpayIdRequired' => $this->getBitpayIdRequired(), + 'forcedBuyerSelectedWallet' => $this->getForcedBuyerSelectedWallet(), + 'isCancelled' => $this->getIsCancelled(), + 'buyerEmail' => $this->getBuyerEmail(), + 'buyerSms' => $this->getBuyerSms(), + 'itemizedDetails' => $this->getItemizedDetails(), + 'forcedBuyerSelectedTransactionCurrency' => $this->getForcedBuyerSelectedTransactionCurrency() + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/InvoiceStatus.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/InvoiceStatus.php new file mode 100644 index 0000000..42aa13f --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/InvoiceStatus.php @@ -0,0 +1,68 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * The type Invoice status. + * + * @see REST API Invoices + */ +interface InvoiceStatus +{ + /** + * An invoice starts in this state. When in this state and only in this state, payments broadcasted by purchasers + * be applied to the invoice (there is a 15 minute window for the purchaser to send a payment from + * their crypto wallet). If an invoice has received a partial payment, + * it will still reflect a status of new to the merchant. From a merchant system perspective, + * an invoice is either paid or not paid, partial payments are automatically refunded by BitPay to the consumer. + */ + public const NEW = "new"; + + /** + * As soon as payment is received it is evaluated against the invoice requested amount. + * If the amount paid is equal to or greater than the amount expected then the invoice is marked as being paid. + * To detect whether the invoice has been overpaid consult the invoice exception status (exceptionStatus parameter). + * The overpaid amount on an invoice is automatically refunded by BitPay to the consumer. + */ + public const PAID = "paid"; + + /** + * This status can be used by merchants in order to fulfill orders placed by the consumer. + * Merchants can configure the timing at which BitPay sets this specific invoice status, + * depending on the number of confirmation achieved by the consumer's transaction in the selected cryptocurrency. + * This can be configured during invoice creation using the "transactionSpeed" parameter + * (section Create an invoice), or at account level via a dashboard setting. + */ + public const CONFIRMED = "confirmed"; + + /** + * When an invoice has the status complete, it means that BitPay has credited the merchant account, + * in the currency indicated in the settlement settings. For instance, with invoices paid in Bitcoin (BTC), + * 6 confirmation blocks on the bitcoin network are required for an invoice to be complete, + * this takes on average 1 hour. + */ + public const COMPLETE = "complete"; + + /** + * An invoice reaches the expired status if no payment was received and the 15 minute payment window has elapsed. + */ + public const EXPIRED = "expired"; + + /** + * An invoice is considered invalid when it was paid, + * but the corresponding cryptocurrency transaction was not confirmed within 1 hour on the corresponding blockchain. + * It is possible that some transactions can take longer than 1 hour to be included in a block. + * If the transaction confirms after 1 hour, BitPay will update the invoice state from "invalid" to "complete" + * (6 confirmations for transactions on the bitcoin network for instance). + */ + public const INVALID = "invalid"; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/ItemizedDetails.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/ItemizedDetails.php new file mode 100644 index 0000000..eac3fd4 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/ItemizedDetails.php @@ -0,0 +1,118 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Class ItemizedDetails + * @package BitPaySDK\Model\Invoice + * @see REST API Invoices + */ +class ItemizedDetails +{ + protected ?float $amount = null; + protected ?string $description = null; + protected ?bool $isFee = null; + + public function __construct() + { + } + + /** + * Gets The amount of currency. + * + * @return float|null the amount + */ + public function getAmount(): ?float + { + return $this->amount; + } + + /** + * Sets The amount of currency. + * + * @param float|null $amount the amount + */ + public function setAmount(?float $amount): void + { + $this->amount = $amount; + } + + /** + * Gets description + * + * Display string for the item. + * + * @return string|null the description + */ + public function getDescription(): ?string + { + return $this->description; + } + + /** + * Sets string for the item. + * + * @param string|null $description the description + */ + public function setDescription(?string $description): void + { + $this->description = $description; + } + + /** + * Gets is fee + * + * Indicates whether or not the item is considered a fee/tax or part of the main purchase. + * + * @return bool|null is fee + */ + public function getIsFee(): ?bool + { + return $this->isFee; + } + + /** + * Sets is fee + * + * Gets Indicates whether or not the item is considered a fee/tax or part of the main purchase. + * + * @param bool|null $isFee is fee + */ + public function setIsFee(?bool $isFee): void + { + $this->isFee = $isFee; + } + + /** + * Gets Item details data as array + * + * @return array item details data as array + */ + public function toArray(): array + { + $elements = [ + 'amount' => $this->getAmount(), + 'description' => $this->getDescription(), + 'isFee' => $this->getIsFee() + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFees.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFees.php new file mode 100644 index 0000000..150599d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFees.php @@ -0,0 +1,328 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice. + * The key is the currency and the value is an object containing the satoshis per byte, + * the total fee, and the fiat amount. This is referenced as "Network Cost" on an invoice, + * see this support article for more information. + * + * @see REST API Invoices + */ +class MinerFees +{ + protected MinerFeesItem $btc; + protected MinerFeesItem $bch; + protected MinerFeesItem $eth; + protected MinerFeesItem $usdc; + protected MinerFeesItem $gusd; + protected MinerFeesItem $pax; + protected MinerFeesItem $busd; + protected MinerFeesItem $xrp; + protected MinerFeesItem $doge; + protected MinerFeesItem $ltc; + protected MinerFeesItem $dai; + protected MinerFeesItem $wbtc; + + /** + * MinerFees constructor. + */ + public function __construct() + { + $this->btc = new MinerFeesItem(); + $this->bch = new MinerFeesItem(); + $this->eth = new MinerFeesItem(); + $this->usdc = new MinerFeesItem(); + $this->gusd = new MinerFeesItem(); + $this->pax = new MinerFeesItem(); + $this->busd = new MinerFeesItem(); + $this->xrp = new MinerFeesItem(); + $this->doge = new MinerFeesItem(); + $this->ltc = new MinerFeesItem(); + $this->dai = new MinerFeesItem(); + $this->wbtc = new MinerFeesItem(); + } + + /** + * Gets BTC. + * + * @return MinerFeesItem + */ + public function getBTC(): MinerFeesItem + { + return $this->btc; + } + + /** + * Sets BTC. + * + * @param MinerFeesItem $btc + */ + public function setBTC(MinerFeesItem $btc): void + { + $this->btc = $btc; + } + + /** + * Gets BCH. + * + * @return MinerFeesItem + */ + public function getBCH(): MinerFeesItem + { + return $this->bch; + } + + /** + * Sets BCH. + * + * @param MinerFeesItem $bch + */ + public function setBCH(MinerFeesItem $bch): void + { + $this->bch = $bch; + } + + /** + * Gets ETH. + * + * @return MinerFeesItem + */ + public function getETH(): MinerFeesItem + { + return $this->eth; + } + + /** + * Sets ETH. + * + * @param MinerFeesItem $eth + */ + public function setETH(MinerFeesItem $eth): void + { + $this->eth = $eth; + } + + /** + * Gets USDC. + * + * @return MinerFeesItem + */ + public function getUSDC(): MinerFeesItem + { + return $this->usdc; + } + + /** + * Sets USDC. + * + * @param MinerFeesItem $usdc + */ + public function setUSDC(MinerFeesItem $usdc): void + { + $this->usdc = $usdc; + } + + /** + * Gets GUSD. + * + * @return MinerFeesItem + */ + public function getGUSD(): MinerFeesItem + { + return $this->gusd; + } + + /** + * Sets GUSD. + * + * @param MinerFeesItem $gusd + */ + public function setGUSD(MinerFeesItem $gusd): void + { + $this->gusd = $gusd; + } + + /** + * Gets PAX. + * + * @return MinerFeesItem + */ + public function getPAX(): MinerFeesItem + { + return $this->pax; + } + + /** + * Sets PAX. + * + * @param MinerFeesItem $pax + */ + public function setPAX(MinerFeesItem $pax): void + { + $this->pax = $pax; + } + + /** + * Gets BUSD. + * + * @return MinerFeesItem + */ + public function getBUSD(): MinerFeesItem + { + return $this->busd; + } + + /** + * Sets BUSD. + * + * @param MinerFeesItem $busd + */ + public function setBUSD(MinerFeesItem $busd): void + { + $this->busd = $busd; + } + + /** + * Gets XRP. + * + * @return MinerFeesItem + */ + public function getXRP(): MinerFeesItem + { + return $this->xrp; + } + + /** + * Sets XRP. + * + * @param MinerFeesItem $xrp + */ + public function setXRP(MinerFeesItem $xrp): void + { + $this->xrp = $xrp; + } + + /** + * Gets DOGE. + * + * @return MinerFeesItem + */ + public function getDOGE(): MinerFeesItem + { + return $this->doge; + } + + /** + * Sets DOGE. + * + * @param MinerFeesItem $doge + */ + public function setDOGE(MinerFeesItem $doge): void + { + $this->doge = $doge; + } + + /** + * Gets LTC. + * + * @return MinerFeesItem + */ + public function getLTC(): MinerFeesItem + { + return $this->ltc; + } + + /** + * Sets LTC. + * + * @param MinerFeesItem $ltc + */ + public function setLTC(MinerFeesItem $ltc): void + { + $this->ltc = $ltc; + } + + /** + * Gets DAI. + * + * @return MinerFeesItem + */ + public function getDAI(): MinerFeesItem + { + return $this->dai; + } + + /** + * Sets DAI. + * + * @param MinerFeesItem $dai + */ + public function setDAI(MinerFeesItem $dai): void + { + $this->dai = $dai; + } + + /** + * Gets WBTC. + * + * @return MinerFeesItem + */ + public function getWBTC(): MinerFeesItem + { + return $this->wbtc; + } + + /** + * Sets WBTC. + * + * @param MinerFeesItem $wbtc + */ + public function setWBTC(MinerFeesItem $wbtc): void + { + $this->wbtc = $wbtc; + } + + /** + * Return array with details for currencies. + * + * @return array + */ + public function toArray(): array + { + $elements = [ + 'btc' => $this->getBTC()->toArray(), + 'bch' => $this->getBCH()->toArray(), + 'eth' => $this->getETH()->toArray(), + 'usdc' => $this->getUSDC()->toArray(), + 'gusd' => $this->getGUSD()->toArray(), + 'pax' => $this->getPAX()->toArray(), + 'busd' => $this->getBUSD()->toArray(), + 'xrp' => $this->getXRP()->toArray(), + 'doge' => $this->getDOGE()->toArray(), + 'ltc' => $this->getLTC()->toArray(), + 'dai' => $this->getDAI()->toArray(), + 'wbtc' => $this->getWBTC()->toArray(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFeesItem.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFeesItem.php new file mode 100644 index 0000000..768a8ed --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/MinerFeesItem.php @@ -0,0 +1,72 @@ +REST API Invoices + */ +class MinerFeesItem +{ + protected ?float $satoshisPerByte = null; + protected ?float $totalFee = null; + protected ?float $fiatAmount = null; + + public function __construct() + { + } + + public function getSatoshisPerByte(): ?float + { + return $this->satoshisPerByte; + } + + public function setSatoshisPerByte(float $satoshisPerByte): void + { + $this->satoshisPerByte = $satoshisPerByte; + } + + public function getTotalFee(): ?float + { + return $this->totalFee; + } + + public function setTotalFee(float $totalFee): void + { + $this->totalFee = $totalFee; + } + + public function getFiatAmount(): ?float + { + return $this->fiatAmount; + } + + public function setFiatAmount(?float $fiatAmount): void + { + $this->fiatAmount = $fiatAmount; + } + + public function toArray(): array + { + $elements = [ + 'satoshisPerByte' => $this->getSatoshisPerByte(), + 'totalFee' => $this->getTotalFee(), + 'fiatAmount' => $this->getFiatAmount() + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Refund.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Refund.php new file mode 100644 index 0000000..d1d2e89 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Refund.php @@ -0,0 +1,588 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Class Refund + * @package BitPaySDK\Model\Invoice + * @see REST API Invoices + */ +class Refund +{ + protected ?string $guid = null; + protected float $amount; + protected string $currency; + protected string $token; + protected ?string $id = null; + protected ?string $requestDate = null; + protected ?string $status = null; + protected ?string $invoiceId = null; + protected ?bool $preview = null; + protected ?bool $immediate = null; + protected ?bool $buyerPaysRefundFee = null; + protected ?float $refundFee = null; + protected ?string $reference = null; + protected ?string $lastRefundNotification = null; + protected ?string $invoice = null; + protected ?string $notificationURL = null; + protected ?string $refundAddress = null; + protected ?string $supportRequest = null; + protected ?float $transactionAmount = null; + protected ?string $transactionCurrency = null; + protected ?float $transactionRefundFee = null; + protected ?string $txid = null; + protected ?string $type = null; + + /** + * Constructor, create Refund object + * + * @param float $amount + * @param string $currency + * @param string $token + */ + public function __construct( + float $amount = 0.0, + string $currency = "", + string $token = "" + ) { + $this->amount = $amount; + $this->currency = $currency; + $this->token = $token; + } + + // Request fields + // + + /** + * Gets a passthru variable provided by the merchant and designed to be used by the merchant to correlate + * the invoice with an order ID in their system + * + * @return string|null + */ + public function getGuid(): ?string + { + return $this->guid; + } + + /** + * Sets guid + * + * @param string $guid + */ + public function setGuid(string $guid): void + { + $this->guid = $guid; + } + + /** + * Present only if specified in the request to create the refund. This is your reference label for this refund. + * It will be passed-through on each response for you to identify the refund in your system. + * Maximum string length is 100 characters + * + * @return string|null + */ + public function getReference(): ?string + { + return $this->reference; + } + + /** + * Sets reference label for refund + * + * @param string $reference: void + */ + public function setReference(string $reference): void + { + $this->reference = $reference; + } + + /** + * Gets amount to be refunded in the invoice currency + * + * @return float + */ + public function getAmount(): float + { + return $this->amount; + } + + /** + * Sets amount to be refunded + * + * @param float $amount + */ + public function setAmount(float $amount): void + { + $this->amount = $amount; + } + + /** + * Gets API token + * + * @return string + */ + public function getToken(): string + { + return $this->token; + } + + /** + * Sets API token + * + * @param string $token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + /** + * Gets reference currency used for the refund, the same as the currency used to create the invoice + * + * @return string + */ + public function getCurrency(): string + { + return $this->currency; + } + + /** + * Sets currency used for the refund + * + * @param string $currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Whether to create the refund request as a preview + * + * @return bool|null + */ + public function getPreview(): ?bool + { + return $this->preview; + } + + /** + * Sets preview + * + * @param bool $preview + */ + public function setPreview(bool $preview): void + { + $this->preview = $preview; + } + + /** + * Gets the ID of the invoice to refund + * + * @return string|null + */ + public function getInvoiceId(): ?string + { + return $this->invoiceId; + } + + /** + * Sets invoice id + * + * @param string $invoiceId + */ + public function setInvoiceId(string $invoiceId): void + { + $this->invoiceId = $invoiceId; + } + + // Response fields + // + + /** + * Gets the ID of the refund + * + * @return string|null + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets id of the refund + * + * @param string $id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets the date the refund was requested + * + * @return string|null + */ + public function getRequestDate(): ?string + { + return $this->requestDate; + } + + /** + * Sets request date + * + * @param string $requestDate + */ + public function setRequestDate(string $requestDate): void + { + $this->requestDate = $requestDate; + } + + /** + * Gets the refund lifecycle status of the request + * + * @return string|null + */ + public function getStatus(): ?string + { + return $this->status; + } + + /** + * Sets refund status + * + * @param string $status + */ + public function setStatus(string $status): void + { + $this->status = $status; + } + + /** + * Gets whether the funds should be removed from merchant ledger immediately + * on submission or at the time of processing + * + * @return bool|null + */ + public function getImmediate(): ?bool + { + return $this->immediate; + } + + /** + * Sets immediate value + * + * @param bool $immediate + */ + public function setImmediate(bool $immediate): void + { + $this->immediate = $immediate; + } + + /** + * Gets the amount of refund fee expressed in terms of pricing currency + * + * @return float|null + */ + public function getRefundFee(): ?float + { + return $this->refundFee; + } + + /** + * Sets amount of the refund fee + * + * @param float $refundFee + */ + public function setRefundFee(float $refundFee): void + { + $this->refundFee = $refundFee; + } + + /** + * Gets the last time notification of buyer was attempted + * + * @return string|null + */ + public function getLastRefundNotification(): ?string + { + return $this->lastRefundNotification; + } + + /** + * Sets last refund notification + * + * @param string $lastRefundNotification + */ + public function setLastRefundNotification(string $lastRefundNotification): void + { + $this->lastRefundNotification = $lastRefundNotification; + } + + /** + * Gets the ID of the invoice being refunded + * + * @return string|null + */ + public function getInvoice(): ?string + { + return $this->invoice; + } + + /** + * Sets the id of the invoice being refunded + * + * @param string $invoice + */ + public function setInvoice(string $invoice): void + { + $this->invoice = $invoice; + } + + /** + * Gets whether the buyer should pay the refund fee rather + * than the merchant + * + * @return bool|null + */ + public function getBuyerPaysRefundFee(): ?bool + { + return $this->buyerPaysRefundFee; + } + + /** + * Sets whether the buyer should pay the refund fee rather + * + * @param bool $buyerPaysRefundFee + */ + public function setBuyerPaysRefundFee(bool $buyerPaysRefundFee): void + { + $this->buyerPaysRefundFee = $buyerPaysRefundFee; + } + + /** + * Gets URL to which BitPay sends webhook notifications. HTTPS is mandatory. + * + * @return string|null + */ + public function getNotificationURL(): ?string + { + return $this->notificationURL; + } + + /** + * Sets URL to which BitPay sends webhook notifications. HTTPS is mandatory. + * + * @param string|null $notificationURL + */ + public function setNotificationURL(?string $notificationURL): void + { + $this->notificationURL = $notificationURL; + } + + /** + * Gets the wallet address that the refund will return the funds to, added by the customer. + * + * @return string|null + */ + public function getRefundAddress(): ?string + { + return $this->refundAddress; + } + + /** + * Sets the wallet address that the refund will return the funds to, added by the customer. + * + * @param string|null $refundAddress + */ + public function setRefundAddress(?string $refundAddress): void + { + $this->refundAddress = $refundAddress; + } + + /** + * Gets the ID of the associated support request for the refund. + * + * @return string|null + */ + public function getSupportRequest(): ?string + { + return $this->supportRequest; + } + + /** + * Sets the ID of the associated support request for the refund. + * + * @param string|null $supportRequest + */ + public function setSupportRequest(?string $supportRequest): void + { + $this->supportRequest = $supportRequest; + } + + /** + * Gets amount to be refunded in terms of the transaction currency. + * + * @return float|null + */ + public function getTransactionAmount(): ?float + { + return $this->transactionAmount; + } + + /** + * Sets amount to be refunded in terms of the transaction currency. + * + * @param float|null $transactionAmount + */ + public function setTransactionAmount(?float $transactionAmount): void + { + $this->transactionAmount = $transactionAmount; + } + + /** + * Gets the currency used for the invoice transaction. + * + * @return string|null + */ + public function getTransactionCurrency(): ?string + { + return $this->transactionCurrency; + } + + /** + * Sets the currency used for the invoice transaction. + * + * @param string|null $transactionCurrency + */ + public function setTransactionCurrency(?string $transactionCurrency): void + { + $this->transactionCurrency = $transactionCurrency; + } + + /** + * Gets the refund fee expressed in terms of transaction currency. + * + * @return float|null + */ + public function getTransactionRefundFee(): ?float + { + return $this->transactionRefundFee; + } + + /** + * Sets the refund fee expressed in terms of transaction currency. + * + * @param float|null $transactionRefundFee + */ + public function setTransactionRefundFee(?float $transactionRefundFee): void + { + $this->transactionRefundFee = $transactionRefundFee; + } + + /** + * Gets the transaction ID of the refund once executed. + * + * @return string|null + */ + public function getTxid(): ?string + { + return $this->txid; + } + + /** + * Sets the transaction ID of the refund once executed. + * + * @param string|null $txid + */ + public function setTxid(?string $txid): void + { + $this->txid = $txid; + } + + /** + *

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Gets the type of refund.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + * + * + * @return string|null + */ + public function getType(): ?string + { + return $this->type; + } + + /** + *

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the type of refund.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + * + * + * @param string|null $type + */ + public function setType(?string $type): void + { + $this->type = $type; + } + + /** + * Return Refund values as array + * + * @return array + */ + public function toArray(): array + { + return [ + 'guid' => $this->getGuid(), + 'amount' => $this->getAmount(), + 'currency' => $this->getCurrency(), + 'token' => $this->getToken(), + 'id' => $this->getId(), + 'requestDate' => $this->getRequestDate(), + 'status' => $this->getStatus(), + 'invoiceId' => $this->getInvoiceId(), + 'preview' => $this->getPreview(), + 'immediate' => $this->getImmediate(), + 'refundFee' => $this->getRefundFee(), + 'invoice' => $this->getInvoice(), + 'buyerPaysRefundFee' => $this->getBuyerPaysRefundFee(), + 'reference' => $this->getReference(), + 'lastRefundNotification' => $this->getLastRefundNotification(), + 'notificationURL' => $this->getNotificationURL(), + 'refundAddress' => $this->getRefundAddress(), + 'supportRequest' => $this->getSupportRequest(), + 'transactionAmount' => $this->getTransactionAmount(), + 'transactionCurrency' => $this->getTransactionCurrency(), + 'transactionRefundFee' => $this->getTransactionRefundFee(), + 'txid' => $this->getTxid(), + 'type' => $this->getType() + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundInfo.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundInfo.php new file mode 100644 index 0000000..129b570 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundInfo.php @@ -0,0 +1,131 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * For a refunded invoice, this object will contain the details of executed refunds for the corresponding invoice. + * @see REST API Invoices + */ +class RefundInfo +{ + protected ?string $supportRequest = null; + protected ?string $currency = null; + protected ?array $amounts = null; + + public function __construct() + { + } + + /** + * Gets support request + * + * For a refunded invoice, this field will contain the refund requestId once executed. + * + * @return string|null the support request + */ + public function getSupportRequest(): ?string + { + return $this->supportRequest; + } + + /** + * Sets support request + * + * For a refunded invoice, this field will contain the refund requestId once executed. + * + * @param string $supportRequest the support request + */ + public function setSupportRequest(string $supportRequest): void + { + $this->supportRequest = $supportRequest; + } + + /** + * Gets currency + * + * For a refunded invoice, this field will contain the base currency selected for the refund. + * Typically the same as the invoice currency. + * + * @return string|null the currency + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets currency + * + * For a refunded invoice, this field will contain the base currency selected for the refund. + * Typically the same as the invoice currency. + * + * @param string $currency the currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Gets amounts + * + * For a refunded invoice, this object will contain the crypto currency amount + * refunded by BitPay to the consumer (in the selected transactionCurrency) + * and the equivalent refunded amount from the invoice in the given currency + * (thus linked to the amount debited from the merchant account to cover the refund) + * + * @return array|null the amounts + */ + public function getAmounts(): ?array + { + return $this->amounts; + } + + /** + * Set amounts + * + * For a refunded invoice, this object will contain the crypto currency amount + * refunded by BitPay to the consumer (in the selected transactionCurrency) + * and the equivalent refunded amount from the invoice in the given currency + * (thus linked to the amount debited from the merchant account to cover the refund) + * + * @param array $amounts the amounts + */ + public function setAmounts(array $amounts): void + { + $this->amounts = $amounts; + } + + /** + * Gets Refund info as array + * + * @return array refund info as array + */ + public function toArray(): array + { + $elements = [ + 'supportRequest' => $this->getSupportRequest(), + 'currency' => $this->getCurrency(), + 'amounts' => $this->getAmounts(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundStatus.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundStatus.php new file mode 100644 index 0000000..05a0b7d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundStatus.php @@ -0,0 +1,50 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Refund status list + * @see REST API Invoices + */ +interface RefundStatus +{ + /** + * No funds deducted, refund will not proceed automatically + */ + public const PREVIEW = "preview"; + + /** + * Funds deducted/allocated if immediate, will proceed when transactions are confirmed + * and the required data is collected + */ + public const CREATED = "created"; + + /** + * Refund was canceled by merchant action. Immediate refunds cannot be canceled outside of preview state + */ + public const CANCELLED = "cancelled"; + + /** + * Refund is in process of being fulfilled + */ + public const PENDING = "pending"; + + /** + * Refund was successfully processed + */ + public const SUCCESS = "success"; + + /** + * Refund failed during processing (this is really more of an internal state) + */ + public const FAILURE = "failure"; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundWebhook.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundWebhook.php new file mode 100644 index 0000000..d50af64 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundWebhook.php @@ -0,0 +1,160 @@ +Webhooks refunds + */ +class RefundWebhook +{ + protected string $id; + protected string $invoice; + protected string $supportRequest; + protected string $status; + protected float $amount; + protected string $currency; + protected string $lastRefundNotification; + protected float $refundFee; + protected bool $immediate; + protected bool $buyerPaysRefundFee; + protected string $requestDate; + + public function __construct() + { + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): void + { + $this->id = $id; + } + + public function getInvoice(): string + { + return $this->invoice; + } + + public function setInvoice(string $invoice): void + { + $this->invoice = $invoice; + } + + public function getSupportRequest(): string + { + return $this->supportRequest; + } + + public function setSupportRequest(string $supportRequest): void + { + $this->supportRequest = $supportRequest; + } + + public function getStatus(): string + { + return $this->status; + } + + public function setStatus(string $status): void + { + $this->status = $status; + } + + public function getAmount(): float + { + return $this->amount; + } + + public function setAmount(float $amount): void + { + $this->amount = $amount; + } + + public function getCurrency(): string + { + return $this->currency; + } + + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + public function getLastRefundNotification(): string + { + return $this->lastRefundNotification; + } + + public function setLastRefundNotification(string $lastRefundNotification): void + { + $this->lastRefundNotification = $lastRefundNotification; + } + + public function getRefundFee(): float + { + return $this->refundFee; + } + + public function setRefundFee(float $refundFee): void + { + $this->refundFee = $refundFee; + } + + public function getImmediate(): bool + { + return $this->immediate; + } + + public function setImmediate(bool $immediate): void + { + $this->immediate = $immediate; + } + + public function getBuyerPaysRefundFee(): bool + { + return $this->buyerPaysRefundFee; + } + + public function setBuyerPaysRefundFee(bool $buyerPaysRefundFee): void + { + $this->buyerPaysRefundFee = $buyerPaysRefundFee; + } + + public function getRequestDate(): string + { + return $this->requestDate; + } + + public function setRequestDate(string $requestDate): void + { + $this->requestDate = $requestDate; + } + + public function toArray(): array + { + return [ + 'id' => $this->getId(), + 'invoice' => $this->getInvoice(), + 'supportRequest' => $this->getSupportRequest(), + 'status' => $this->getStatus(), + 'amount' => $this->getAmount(), + 'currency' => $this->getCurrency(), + 'lastRefundNotification' => $this->getLastRefundNotification(), + 'refundFee' => $this->getRefundFee(), + 'immediate' => $this->getImmediate(), + 'buyerPaysRefundFee' => $this->getBuyerPaysRefundFee(), + 'requestDate' => $this->getRequestDate() + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Shopper.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Shopper.php new file mode 100644 index 0000000..604ef94 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/Shopper.php @@ -0,0 +1,74 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * This object will be available on the invoice if a shopper signs in on an invoice using his BitPay ID. + * See the following blogpost for more information. + * @see REST API Invoices + */ +class Shopper +{ + protected ?string $user = null; + + public function __construct() + { + } + + /** + * Gets user + * + * If a shopper signs in on the invoice using his BitPay ID, + * this field will contain the unique ID assigned by BitPay to this shopper. + * + * @return string|null the user + */ + public function getUser(): ?string + { + return $this->user; + } + + /** + * Sets user + * + * If a shopper signs in on the invoice using his BitPay ID, + * this field will contain the unique ID assigned by BitPay to this shopper. + * + * @param string $user the user + */ + public function setUser(string $user): void + { + $this->user = $user; + } + + /** + * Gets Shopper as array + * + * @return array shopper as array + */ + public function toArray(): array + { + $elements = [ + 'user' => $this->getUser(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrencies.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrencies.php new file mode 100644 index 0000000..fda3e71 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrencies.php @@ -0,0 +1,303 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Class SupportedTransactionCurrencies. The currencies that may be used to pay this invoice. + * + * @package BitPaySDK\Model\Invoice + * @see REST API Invoices + */ +class SupportedTransactionCurrencies +{ + protected SupportedTransactionCurrency $btc; + protected SupportedTransactionCurrency $bch; + protected SupportedTransactionCurrency $eth; + protected SupportedTransactionCurrency $usdc; + protected SupportedTransactionCurrency $gusd; + protected SupportedTransactionCurrency $pax; + protected SupportedTransactionCurrency $xrp; + protected SupportedTransactionCurrency $busd; + protected SupportedTransactionCurrency $doge; + protected SupportedTransactionCurrency $ltc; + protected SupportedTransactionCurrency $wbtc; + + /** + * SupportedTransactionCurrencies constructor. + */ + public function __construct() + { + $this->btc = new SupportedTransactionCurrency(); + $this->bch = new SupportedTransactionCurrency(); + $this->eth = new SupportedTransactionCurrency(); + $this->usdc = new SupportedTransactionCurrency(); + $this->gusd = new SupportedTransactionCurrency(); + $this->pax = new SupportedTransactionCurrency(); + $this->xrp = new SupportedTransactionCurrency(); + $this->busd = new SupportedTransactionCurrency(); + $this->doge = new SupportedTransactionCurrency(); + $this->ltc = new SupportedTransactionCurrency(); + $this->wbtc = new SupportedTransactionCurrency(); + } + + /** + * Gets BTC. + * + * @return SupportedTransactionCurrency + */ + public function getBTC(): SupportedTransactionCurrency + { + return $this->btc; + } + + /** + * Sets BTC. + * + * @param SupportedTransactionCurrency $btc + */ + public function setBTC(SupportedTransactionCurrency $btc): void + { + $this->btc = $btc; + } + + /** + * Gets BCH. + * + * @return SupportedTransactionCurrency + */ + public function getBCH(): SupportedTransactionCurrency + { + return $this->bch; + } + + /** + * Sets BCH. + * + * @param SupportedTransactionCurrency $bch + */ + public function setBCH(SupportedTransactionCurrency $bch): void + { + $this->bch = $bch; + } + + /** + * Gets ETH. + * + * @return SupportedTransactionCurrency + */ + public function getETH(): SupportedTransactionCurrency + { + return $this->eth; + } + + /** + * Sets ETH. + * + * @param SupportedTransactionCurrency $eth + */ + public function setETH(SupportedTransactionCurrency $eth): void + { + $this->eth = $eth; + } + + /** + * Gets USDC. + * + * @return SupportedTransactionCurrency + */ + public function getUSDC(): SupportedTransactionCurrency + { + return $this->usdc; + } + + /** + * Sets USDC. + * + * @param SupportedTransactionCurrency $usdc + */ + public function setUSDC(SupportedTransactionCurrency $usdc): void + { + $this->usdc = $usdc; + } + + /** + * Gets GUSD. + * + * @return SupportedTransactionCurrency + */ + public function getGUSD(): SupportedTransactionCurrency + { + return $this->gusd; + } + + /** + * Sets GUSD. + * + * @param SupportedTransactionCurrency $gusd + */ + public function setGUSD(SupportedTransactionCurrency $gusd): void + { + $this->gusd = $gusd; + } + + /** + * Gets PAX. + * + * @return SupportedTransactionCurrency + */ + public function getPAX(): SupportedTransactionCurrency + { + return $this->pax; + } + + /** + * Sets PAX. + * + * @param SupportedTransactionCurrency $pax + */ + public function setPAX(SupportedTransactionCurrency $pax): void + { + $this->pax = $pax; + } + + /** + * Gets XRP. + * + * @return SupportedTransactionCurrency + */ + public function getXRP(): SupportedTransactionCurrency + { + return $this->xrp; + } + + /** + * Sets XRP. + * + * @param SupportedTransactionCurrency $xrp + */ + public function setXRP(SupportedTransactionCurrency $xrp): void + { + $this->xrp = $xrp; + } + + /** + * Gets BUSD. + * + * @return SupportedTransactionCurrency + */ + public function getBUSD(): SupportedTransactionCurrency + { + return $this->busd; + } + + /** + * Sets BUSD. + * + * @param SupportedTransactionCurrency $busd + */ + public function setBUSD(SupportedTransactionCurrency $busd): void + { + $this->busd = $busd; + } + + /** + * Gets DOGE. + * + * @return SupportedTransactionCurrency + */ + public function getDOGE(): SupportedTransactionCurrency + { + return $this->doge; + } + + /** + * Sets DOGE. + * + * @param SupportedTransactionCurrency $doge + */ + public function setDOGE(SupportedTransactionCurrency $doge): void + { + $this->doge = $doge; + } + + /** + * Gets LTC. + * + * @return SupportedTransactionCurrency + */ + public function getLTC(): SupportedTransactionCurrency + { + return $this->ltc; + } + + /** + * Sets LTC. + * + * @param SupportedTransactionCurrency $ltc + */ + public function setLTC(SupportedTransactionCurrency $ltc): void + { + $this->ltc = $ltc; + } + + /** + * Gets WBTC. + * + * @return SupportedTransactionCurrency + */ + public function getWBTC(): SupportedTransactionCurrency + { + return $this->wbtc; + } + + /** + * Sets WBTC. + * + * @param SupportedTransactionCurrency $wbtc + */ + public function setWBTC(SupportedTransactionCurrency $wbtc): void + { + $this->wbtc = $wbtc; + } + + /** + * Return array with details for currencies. + * + * @return array + */ + public function toArray(): array + { + $elements = [ + 'btc' => $this->getBTC()->toArray(), + 'bch' => $this->getBCH()->toArray(), + 'eth' => $this->getETH()->toArray(), + 'usdc' => $this->getUSDC()->toArray(), + 'gusd' => $this->getGUSD()->toArray(), + 'pax' => $this->getPAX()->toArray(), + 'xrp' => $this->getXRP()->toArray(), + 'busd' => $this->getBUSD()->toArray(), + 'doge' => $this->getDOGE()->toArray(), + 'ltc' => $this->getLTC()->toArray(), + 'wbtc' => $this->getWBTC()->toArray(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrency.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrency.php new file mode 100644 index 0000000..0e50100 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/SupportedTransactionCurrency.php @@ -0,0 +1,96 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Class SupportedTransactionCurrency + * The currency that may be used to pay this invoice. The values are objects with an "enabled" boolean and option. + * An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice. + * + * @package BitPaySDK\Model\Invoice + * @see REST API Invoices + */ +class SupportedTransactionCurrency +{ + protected ?bool $enabled = null; + protected ?string $reason = null; + + /** + * SupportedTransactionCurrency constructor. + */ + public function __construct() + { + } + + /** + * Gets enabled. + * + * @param bool $enabled + */ + public function setEnabled(bool $enabled): void + { + $this->enabled = $enabled; + } + + /** + * Sets enabled. + * + * @return bool|null + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Gets reason. + * + * @param string $reason + */ + public function setReason(string $reason): void + { + $this->reason = $reason; + } + + /** + * Sets reason. + * + * @return string|null + */ + public function getReason(): ?string + { + return $this->reason; + } + + /** + * Return array with enabled and reason value. + * + * @return array + */ + public function toArray(): array + { + $elements = [ + 'enabled' => $this->getEnabled(), + 'reason' => $this->getReason() + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/UniversalCodes.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/UniversalCodes.php new file mode 100644 index 0000000..ce59044 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/UniversalCodes.php @@ -0,0 +1,89 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Invoice; + +/** + * Object containing wallet-specific URLs for payment protocol. + * @see REST API Invoices + */ +class UniversalCodes +{ + protected ?string $paymentString = null; + protected ?string $verificationLink = null; + + public function __construct() + { + } + + /** + * Gets payment string + * + * Payment protocol URL for selected wallet, defaults to BitPay URL if no wallet selected. + * + * @return string|null the payment string + */ + public function getPaymentString(): ?string + { + return $this->paymentString; + } + + /** + * Sets payment string + * + * Payment protocol URL for selected wallet, defaults to BitPay URL if no wallet selected. + * + * @param string $paymentString the payment string + */ + public function setPaymentString(string $paymentString): void + { + $this->paymentString = $paymentString; + } + + /** + * Gets verification link + * + * Link to bring user to BitPay ID flow, only present when bitpayIdRequired is true. + * + * @return string|null + */ + public function getVerificationLink(): ?string + { + return $this->verificationLink; + } + + /** + * Sets verification link + * + * Link to bring user to BitPay ID flow, only present when bitpayIdRequired is true. + * + * @param string $verificationLink the verification link + */ + public function setVerificationLink(string $verificationLink): void + { + $this->verificationLink = $verificationLink; + } + + /** + * Gets Universal codes as array + * + * @return array universal codes as array + */ + public function toArray(): array + { + return [ + 'paymentString' => $this->getPaymentString(), + 'verificationLink' => $this->getVerificationLink(), + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Buyer.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Buyer.php new file mode 100644 index 0000000..c49f305 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Buyer.php @@ -0,0 +1,266 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Ledger; + +/** + * Class Buyer + * @package BitPaySDK\Model\Ledger + * @see REST API Ledgers + */ +class Buyer +{ + protected ?string $name = null; + protected ?string $address1 = null; + protected ?string $address2 = null; + protected ?string $city = null; + protected ?string $state = null; + protected ?string $zip = null; + protected ?string $country = null; + protected ?string $phone = null; + protected ?bool $notify = null; + protected ?string $email = null; + + public function __construct() + { + } + + /** + * Gets name + * + * @return string|null the name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets name + * + * @param string $name the name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets address 1 + * + * @return string|null the address1 + */ + public function getAddress1(): ?string + { + return $this->address1; + } + + /** + * Sets address1 + * + * @param string $address1 + */ + public function setAddress1(string $address1): void + { + $this->address1 = $address1; + } + + /** + * Gets address2 + * + * @return string|null the address2 + */ + public function getAddress2(): ?string + { + return $this->address2; + } + + /** + * Sets address2 + * + * @param string $address2 the address2 + */ + public function setAddress2(string $address2): void + { + $this->address2 = $address2; + } + + /** + * Gets city + * + * @return string|null the city + */ + public function getCity(): ?string + { + return $this->city; + } + + /** + * Sets city + * + * @param string $city the city + */ + public function setCity(string $city): void + { + $this->city = $city; + } + + /** + * Gets state + * + * @return string|null the state + */ + public function getState(): ?string + { + return $this->state; + } + + /** + * Sets state + * + * @param string $state the state + */ + public function setState(string $state): void + { + $this->state = $state; + } + + /** + * Gets zip + * + * @return string|null the zip + */ + public function getZip(): ?string + { + return $this->zip; + } + + /** + * Sets zip + * + * @param string $zip the zip + */ + public function setZip(string $zip): void + { + $this->zip = $zip; + } + + /** + * Gets country + * + * @return string|null the country + */ + public function getCountry(): ?string + { + return $this->country; + } + + /** + * Sets country + * + * @param string $country the country + */ + public function setCountry(string $country): void + { + $this->country = $country; + } + + /** + * Gets email + * + * @return string|null the email + */ + public function getEmail(): ?string + { + return $this->email; + } + + /** + * Sets email + * + * @param string $email the email + */ + public function setEmail(string $email): void + { + $this->email = $email; + } + + /** + * Gets phone + * + * @return string|null the phone + */ + public function getPhone(): ?string + { + return $this->phone; + } + + /** + * Sets phone + * + * @param string $phone the phone + */ + public function setPhone(string $phone): void + { + $this->phone = $phone; + } + + /** + * Gets notify + * + * @return bool|null notify + */ + public function getNotify(): ?bool + { + return $this->notify; + } + + /** + * Sets notify + * + * @param bool $notify notify + */ + public function setNotify(bool $notify): void + { + $this->notify = $notify; + } + + /** + * Gets Buyer as array + * + * @return array Buyer as array + */ + public function toArray(): array + { + $elements = [ + 'name' => $this->getName(), + 'address1' => $this->getAddress1(), + 'address2' => $this->getAddress2(), + 'city' => $this->getCity(), + 'state' => $this->getState(), + 'zip' => $this->getZip(), + 'country' => $this->getCountry(), + 'phone' => $this->getPhone(), + 'notify' => $this->getNotify(), + 'email' => $this->getEmail(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Ledger.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Ledger.php new file mode 100644 index 0000000..bcf2ace --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/Ledger.php @@ -0,0 +1,82 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Ledger; + +/** + * Class Ledger + * @package BitPaySDK\Model\Ledger + * @see REST API Ledgers + */ +class Ledger +{ + protected ?string $currency = null; + protected ?float $balance = null; + + public function __construct() + { + } + + /** + * Gets Ledger currency + * + * @return string|null the Ledger currency + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets Ledger currency + * + * @param string $currency the Ledger currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Gets Ledger balance in the corresponding currency + * + * @return float|null the Ledger balance + */ + public function getBalance(): ?float + { + return $this->balance; + } + + /** + * Sets Ledger balance in the corresponding currency + * + * @param float $balance the Ledger balance + */ + public function setBalance(float $balance): void + { + $this->balance = $balance; + } + + /** + * Gets Ledger as array + * + * @return array Ledger as array + */ + public function toArray(): array + { + return [ + 'currency' => $this->getCurrency(), + 'balance' => $this->getBalance(), + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/LedgerEntry.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/LedgerEntry.php new file mode 100644 index 0000000..21ae8cd --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Ledger/LedgerEntry.php @@ -0,0 +1,407 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Ledger; + +/** + * Class LedgerEntry + * @package BitPaySDK\Model\Ledger + * @see REST API Ledgers + */ +class LedgerEntry +{ + protected ?string $type = null; + protected ?string $amount = null; + protected ?string $code = null; + protected ?string $timestamp = null; + protected ?string $currency = null; + protected ?string $txType = null; + protected ?string $scale = null; + protected ?string $id = null; + protected ?string $supportRequest = null; + protected ?string $description = null; + protected ?string $invoiceId = null; + protected Buyer $buyerFields; + protected ?float $invoiceAmount = null; + protected ?string $invoiceCurrency = null; + protected ?string $transactionCurrency = null; + + public function __construct() + { + $this->buyerFields = new Buyer(); + } + + /** + * Gets type + * + * Contains the Ledger entry name. + * See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes + * + * @return string|null the type + */ + public function getType(): ?string + { + return $this->type; + } + + /** + * Sets type + * + * Contains the Ledger entry name. + * See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes + * + * @param string $type the type + */ + public function setType(string $type): void + { + $this->type = $type; + } + + /** + * Gets Ledger entry amount, relative to the scale. + * The decimal amount can be obtained by dividing the amount field by the scale parameter. + * + * @return string|null + */ + public function getAmount(): ?string + { + return $this->amount; + } + + /** + * Sets Ledger entry amount, relative to the scale. + * The decimal amount can be obtained by dividing the amount field by the scale parameter. + * + * @param string $amount the amount + */ + public function setAmount(string $amount): void + { + $this->amount = $amount; + } + + /** + * Gets code + * + * Contains the Ledger entry code. + * See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes + * + * @return string|null the code + */ + public function getCode(): ?string + { + return $this->code; + } + + /** + * Sets code + * + * Contains the Ledger entry code. + * See the list of Ledger Entry Codes: https://bitpay.com/api/?php#ledger-entry-codes + * + * @param string $code the code + */ + public function setCode(string $code): void + { + $this->code = $code; + } + + /** + * Gets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null the timestamp + */ + public function getTimestamp(): ?string + { + return $this->timestamp; + } + + /** + * Sets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $timestamp the timestamp + */ + public function setTimestamp(string $timestamp): void + { + $this->timestamp = $timestamp; + } + + /** + * Gets Ledger entry currency for the corresponding amount + * + * @return string|null the currency + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets Ledger entry currency for the corresponding amount + * + * @param string $currency the currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Gets tx type + * + * [DEPRECRATED] see type + * + * @return string|null the txType + */ + public function getTxType(): ?string + { + return $this->txType; + } + + /** + * Sets tx type + * + * [DEPRECRATED] see type + * + * @param string $txType the txType + */ + public function setTxType(string $txType): void + { + $this->txType = $txType; + } + + /** + * Gets scale + * + * Power of 10 used for conversion + * + * @return string|null the scale + */ + public function getScale(): ?string + { + return $this->scale; + } + + /** + * Sets scale + * + * Power of 10 used for conversion + * + * @param string $scale the scale + */ + public function setScale(string $scale): void + { + $this->scale = $scale; + } + + /** + * Gets Ledger resource Id + * + * @return string|null the id + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets Ledger resource Id + * + * @param string $id the id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets The refund requestId + * + * @return string|null the support request + */ + public function getSupportRequest(): ?string + { + return $this->supportRequest; + } + + /** + * Sets The refund requestId + * + * @param string $supportRequest the support request + */ + public function setSupportRequest(string $supportRequest): void + { + $this->supportRequest = $supportRequest; + } + + /** + * Gets description + * + * Ledger entry description. Also contains an id depending on the type of entry + * (for instance payout id, settlement id, invoice orderId etc...) + * + * @return string|null the description + */ + public function getDescription(): ?string + { + return $this->description; + } + + /** + * Sets description + * + * Ledger entry description. Also contains an id depending on the type of entry + * (for instance payout id, settlement id, invoice orderId etc...) + * + * @param string $description the description + */ + public function setDescription(string $description): void + { + $this->description = $description; + } + + /** + * Gets BitPay invoice Id + * + * @return string|null the invoice id + */ + public function getInvoiceId(): ?string + { + return $this->invoiceId; + } + + /** + * Sets BitPay invoice Id + * + * @param string $invoiceId the invoice id + */ + public function setInvoiceId(string $invoiceId): void + { + $this->invoiceId = $invoiceId; + } + + /** + * Gets buyer fields + * + * If provided by the merchant in the buyer object during invoice creation + * + * @return Buyer + */ + public function getBuyerFields(): Buyer + { + return $this->buyerFields; + } + + /** + * Sets buyer fields + * + * @param Buyer $buyerFields the buyer + */ + public function setBuyerFields(Buyer $buyerFields): void + { + $this->buyerFields = $buyerFields; + } + + /** + * Gets Invoice price in the invoice original currency + * + * @return float|null the invoice amount + */ + public function getInvoiceAmount(): ?float + { + return $this->invoiceAmount; + } + + /** + * Sets Invoice price in the invoice original currency + * + * @param float $invoiceAmount the invoice amount + */ + public function setInvoiceAmount(float $invoiceAmount): void + { + $this->invoiceAmount = $invoiceAmount; + } + + /** + * Gets Currency used for invoice creation + * + * @return string|null the invoice currency + */ + public function getInvoiceCurrency(): ?string + { + return $this->invoiceCurrency; + } + + /** + * Sets Currency used for invoice creation + * + * @param string $invoiceCurrency the invoice currency + */ + public function setInvoiceCurrency(string $invoiceCurrency): void + { + $this->invoiceCurrency = $invoiceCurrency; + } + + /** + * Gets Cryptocurrency selected by the consumer when paying an invoice. + * + * @return string|null the transaction currency + */ + public function getTransactionCurrency(): ?string + { + return $this->transactionCurrency; + } + + /** + * Sets Cryptocurrency selected by the consumer when paying an invoice. + * + * @param string $transactionCurrency the transaction currency + */ + public function setTransactionCurrency(string $transactionCurrency): void + { + $this->transactionCurrency = $transactionCurrency; + } + + /** + * Gets LedgerEntry as array + * + * @return array LedgerEntry as array + */ + public function toArray(): array + { + $elements = [ + 'type' => $this->getType(), + 'amount' => $this->getAmount(), + 'code' => $this->getCode(), + 'timestamp' => $this->getTimestamp(), + 'currency' => $this->getCurrency(), + 'txType' => $this->getTxType(), + 'scale' => $this->getScale(), + 'id' => $this->getId(), + 'supportRequest' => $this->getSupportRequest(), + 'description' => $this->getDescription(), + 'invoiceId' => $this->getInvoiceId(), + 'buyerFields' => $this->getBuyerFields()->toArray(), + 'invoiceAmount' => $this->getInvoiceAmount(), + 'invoiceCurrency' => $this->getInvoiceCurrency(), + 'transactionCurrency' => $this->getTransactionCurrency(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/Payout.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/Payout.php new file mode 100644 index 0000000..1a57140 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/Payout.php @@ -0,0 +1,702 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +use BitPaySDK\Exceptions\BitPayException; +use BitPaySDK\Exceptions\PayoutException; +use BitPaySDK\Model\Currency; + +/** + * @package Bitpay + * @see REST API Payouts + */ +class Payout +{ + protected string $token = ''; + protected ?float $amount = null; + protected ?string $currency = null; + protected ?string $effectiveDate = null; + protected ?string $ledgerCurrency = null; + protected string $reference = ''; + protected string $notificationURL = ''; + protected string $notificationEmail = ''; + protected string $accountId = ''; + protected string $email = ''; + protected string $recipientId = ''; + protected string $shopperId = ''; + protected string $label = ''; + protected string $message = ''; + protected bool $ignoreEmails = false; + protected ?string $groupId = null; + protected ?int $code = null; + protected ?string $dateExecuted = null; + protected ?string $id = null; + protected ?string $status = null; + protected ?string $requestDate = null; + protected ?array $exchangeRates = null; + /** + * @var PayoutTransaction[] + */ + protected array $transactions = []; + + /** + * Constructor, create a request Payout object. + * + * @param float|null $amount float The amount for which the payout will be created. + * @param string|null $currency string The three digit currency string for the PayoutBatch to use. + * @param string|null $ledgerCurrency string Ledger currency code set for the payout request (ISO 4217 3-character + * currency code), it indicates on which ledger the payout request will be + * recorded. If not provided in the request, this parameter will be set by + * default to the active ledger currency on your account, e.g. your settlement + * currency. + */ + public function __construct(float $amount = null, string $currency = null, string $ledgerCurrency = null) + { + $this->amount = $amount; + $this->currency = $currency; + $this->ledgerCurrency = $ledgerCurrency; + } + + // API fields + // + + /** + * Gets resource token. + * + *

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + * This token is actually derived from the API token - + * used to submit the payout and is tied to the specific payout resource id created. + *

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + * + * @return string + */ + public function getToken(): string + { + return $this->token; + } + + /** + * Sets resource token. + * + * This token is actually derived from the API token - + * used to submit the payout and is tied to the specific payout resource id created. + * + * @param string $token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + // Required fields + // + + /** + * Gets amount of cryptocurrency sent to the requested address. + * + * @return float|null + */ + public function getAmount(): ?float + { + return $this->amount; + } + + /** + * Sets amount of cryptocurrency sent to the requested address. + * + * @param float $amount + */ + public function setAmount(float $amount): void + { + $this->amount = $amount; + } + + /** + * Change amount value based on precision rounding. + * + * @param int $precision + */ + public function formatAmount(int $precision): void + { + $this->amount = round($this->amount, $precision); + } + + /** + * Gets currency code set for the batch amount (ISO 4217 3-character currency code). + * + * @return string|null + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets currency code set for the batch amount (ISO 4217 3-character currency code). + * + * @param string $currency + * @throws BitPayException + */ + public function setCurrency(string $currency) + { + if (!Currency::isValid($currency)) { + throw new BitPayException('currency code must be a type of Model.Currency'); + } + + $this->currency = $currency; + } + + /** + * Gets Ledger currency code (ISO 4217 3-character currency code) + * + * it indicates on which ledger the payout request will be recorded. If not provided in the request, + * this parameter will be set by default to the active ledger currency on your account, + * e.g. your settlement currency. + * + * @return string|null + * + * @see Supported ledger currency codes + */ + public function getEffectiveDate(): ?string + { + return $this->effectiveDate; + } + + /** + * Sets effective date and time (UTC) for the payout. + * + * ISO-8601 format yyyy-mm-ddThh:mm:ssZ. If not provided, defaults to date and time of creation. + * + * @param string $effectiveDate + */ + public function setEffectiveDate(string $effectiveDate): void + { + $this->effectiveDate = $effectiveDate; + } + + /** + * Gets Ledger currency code (ISO 4217 3-character currency code + * + * it indicates on which ledger the payout request will be recorded. If not provided in the request, + * this parameter will be set by default to the active ledger currency on your account, + * e.g. your settlement currency. + * + * @return string|null + * @see Supported ledger currency codes + * + */ + public function getLedgerCurrency(): ?string + { + return $this->ledgerCurrency; + } + + /** + * Sets Ledger currency code (ISO 4217 3-character currency code) + * + * it indicates on which ledger the payout request will be recorded. If not provided in the request, + * this parameter will be set by default to the active ledger currency on your account, + * e.g. your settlement currency. + * + * @param string $ledgerCurrency + * @throws BitPayException + */ + public function setLedgerCurrency(string $ledgerCurrency): void + { + if (!Currency::isValid($ledgerCurrency)) { + throw new BitPayException('currency code must be a type of Model.Currency'); + } + + $this->ledgerCurrency = $ledgerCurrency; + } + + // Optional fields + // + + /** + * Gets reference. + * + * Present only if specified by the merchant in the request. + * Merchants can pass their own unique identifier in this field for reconciliation purpose. + * Maximum string length is 100 characters. + * + * @return string + */ + public function getReference(): string + { + return $this->reference; + } + + /** + * Sets reference. + * + * Present only if specified by the merchant in the request. + * Merchants can pass their own unique identifier in this field for reconciliation purpose. + * Maximum string length is 100 characters. + * + * @param string $reference + */ + public function setReference(string $reference): void + { + $this->reference = $reference; + } + + /** + * Gets notification url. + * + * URL to which BitPay sends webhook notifications. HTTPS is mandatory. + * + * @return string + */ + public function getNotificationURL(): string + { + return $this->notificationURL; + } + + /** + * Sets notification url. + * + * URL to which BitPay sends webhook notifications. HTTPS is mandatory. + * + * @param string $notificationURL + */ + public function setNotificationURL(string $notificationURL): void + { + $this->notificationURL = $notificationURL; + } + + /** + * Gets notification email. + * + * Merchant email address for notification of payout status change. + * + * @return string + */ + public function getNotificationEmail(): string + { + return $this->notificationEmail; + } + + /** + * Sets notification email. + * + * Merchant email address for notification of payout status change. + * + * @param string $notificationEmail + */ + public function setNotificationEmail(string $notificationEmail): void + { + $this->notificationEmail = $notificationEmail; + } + + /** + * Gets BitPay account id that is associated to the payout, + * assigned by BitPay for a given account during the onboarding process. + * + * @return string + */ + public function getAccountId(): string + { + return $this->accountId; + } + + /** + * Sets BitPay account id that is associated to the payout, + * assigned by BitPay for a given account during the onboarding process. + * + * @param string $accountId + */ + public function setAccountId(string $accountId): void + { + $this->accountId = $accountId; + } + + /** + * Gets email. + * + * Email address of an active recipient. + * Note: In the future, BitPay may allow recipients to update the email address tied to their personal account. + * BitPay encourages the use of `recipientId` or `shopperId` when programatically creating payouts requests. + * + * @return string + */ + public function getEmail(): string + { + return $this->email; + } + + /** + * Sets email. + * + * Email address of an active recipient. + * Note: In the future, BitPay may allow recipients to update the email address tied to their personal account. + * BitPay encourages the use of `recipientId` or `shopperId` when programatically creating payouts requests. + * + * @param string $email + */ + public function setEmail(string $email): void + { + $this->email = $email; + } + + /** + * Gets BitPay recipient id. Assigned by BitPay for a given recipient email during the onboarding process. + * + * @return string + */ + public function getRecipientId(): string + { + return $this->recipientId; + } + + /** + * Sets BitPay recipient id. Assigned by BitPay for a given recipient email during the onboarding process. + * + * @param string $recipientId + */ + public function setRecipientId(string $recipientId): void + { + $this->recipientId = $recipientId; + } + + /** + * Gets shopper id. + * + * This is the unique id assigned by BitPay if the shopper used his personal BitPay account to authenticate and + * pay an invoice. For customers signing up for a brand new BitPay personal account, + * this id will only be created as part of the payout onboarding. + * The same field would also be available on paid invoices for customers who signed in with their + * BitPay personal accounts before completing the payment. + * This can allow merchants to monitor the activity of a customer (deposits and payouts). + * + * @return string + */ + public function getShopperId(): string + { + return $this->shopperId; + } + + /** + * Sets shopper id. + * + * This is the unique id assigned by BitPay if the shopper used his personal BitPay account to authenticate and + * pay an invoice. For customers signing up for a brand new BitPay personal account, + * this id will only be created as part of the payout onboarding. + * The same field would also be available on paid invoices for customers who signed in with their + * BitPay personal accounts before completing the payment. + * This can allow merchants to monitor the activity of a customer (deposits and payouts). + * + * @param string $shopperId + */ + public function setShopperId(string $shopperId): void + { + $this->shopperId = $shopperId; + } + + /** + * Gets label. + * + * For merchant use, pass through - can be the customer name or unique merchant reference assigned by + * the merchant to the recipient. + * + * @return string + */ + public function getLabel(): string + { + return $this->label; + } + + /** + * Sets label. + * + * For merchant use, pass through - can be the customer name or unique merchant reference assigned by + * the merchant to the recipient. + * + * @param string $label + */ + public function setLabel(string $label): void + { + $this->label = $label; + } + + /** + * Gets message. + * + * In case of error, this field will contain a description message. Set to `null` if the request is successful. + * + * @return string + */ + public function getMessage(): string + { + return $this->message; + } + + /** + * Sets message. + * + * In case of error, this field will contain a description message. Set to `null` if the request is successful. + * + * @param string $message + */ + public function setMessage(string $message): void + { + $this->message = $message; + } + + /** + * Gets group id. + * + * @return string|null + */ + public function getGroupId(): ?string + { + return $this->groupId; + } + + /** + * Sets group id. + * + * @param string|null $groupId + */ + public function setGroupId(?string $groupId): void + { + $this->groupId = $groupId; + } + + /** + * This field will be returned in case of error and contain an error code. + * + * @return int|null + */ + public function getCode(): ?int + { + return $this->code; + } + + /** + * Sets error code. + * + * @param int|null $code + */ + public function setCode(?int $code): void + { + $this->code = $code; + } + + /** + * Gets date and time (UTC) when BitPay executed the payout. ISO-8601 format yyyy-mm-ddThh:mm:ssZ. + * + * @return string|null + */ + public function getDateExecuted(): ?string + { + return $this->dateExecuted; + } + + /** + * Sets date and time (UTC) when BitPay executed the payout. ISO-8601 format yyyy-mm-ddThh:mm:ssZ. + * + * @param string $dateExecuted + */ + public function setDateExecuted(string $dateExecuted): void + { + $this->dateExecuted = $dateExecuted; + } + + // Response fields + // + + /** + * Gets Payout request id. + * + * @return string|null + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets Payout request id. + * + * @param string $id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets payout request status. + * + * The possible values are: + * + * + * @return string|null + */ + public function getStatus(): ?string + { + return $this->status; + } + + /** + * Sets payout request status. + * + * The possible values are: + * + * + * @param string $status + */ + public function setStatus(string $status): void + { + $this->status = $status; + } + + /** + * Gets date and time (UTC) when BitPay received the batch. ISO-8601 format `yyyy-mm-ddThh:mm:ssZ`. + * + * @return string|null + */ + public function getRequestDate(): ?string + { + return $this->requestDate; + } + + /** + * Sets date and time (UTC) when BitPay received the batch. ISO-8601 format `yyyy-mm-ddThh:mm:ssZ`. + * + * @param string $requestDate + */ + public function setRequestDate(string $requestDate): void + { + $this->requestDate = $requestDate; + } + + /** + * Gets exchange rates keyed by source and target currencies. + * + * @return array|null + */ + public function getExchangeRates(): ?array + { + return $this->exchangeRates; + } + + /** + * Sets exchange rates keyed by source and target currencies. + * + * @param array $exchangeRates + */ + public function setExchangeRates(array $exchangeRates): void + { + $this->exchangeRates = $exchangeRates; + } + + /** + * Gets transactions. Contains the cryptocurrency transaction details for the executed payout request. + * + * @return PayoutTransaction[] + */ + public function getTransactions(): array + { + return $this->transactions; + } + + /** + * Sets transactions. Contains the cryptocurrency transaction details for the executed payout request. + * + * @param PayoutTransaction[] $transactions + * @throws PayoutException + */ + public function setTransactions(array $transactions): void + { + foreach ($transactions as $transaction) { + if (!$transaction instanceof PayoutTransaction) { + throw new PayoutException( + 'Wrong type of transactions array. They should contains only PayoutTransaction objects' + ); + } + } + + $this->transactions = $transactions; + } + + /** + * Gets boolean to prevent email updates on a specific payout. + * Defaults to false if not provided - you will receive emails unless specified to true. + * + * @return bool + */ + public function isIgnoreEmails(): bool + { + return $this->ignoreEmails; + } + + /** + * Sets boolean to prevent email updates on a specific payout. + * Defaults to false if not provided - you will receive emails unless specified to true. + * + * @param bool $ignoreEmails + */ + public function setIgnoreEmails(bool $ignoreEmails): void + { + $this->ignoreEmails = $ignoreEmails; + } + + /** + * Return Payout values as array. + * + * @return array + */ + public function toArray(): array + { + $result = []; + $fields = get_object_vars($this); + + foreach ($fields as $name => $value) { + if (!empty($value)) { + $result[$name] = $value; + } + } + + return $result; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroup.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroup.php new file mode 100644 index 0000000..b762880 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroup.php @@ -0,0 +1,50 @@ +payouts; + } + + /** + * @param Payout[] $payouts + */ + public function setPayouts(array $payouts): void + { + $this->payouts = $payouts; + } + + /** + * @return PayoutGroupFailed[] + */ + public function getFailed(): array + { + return $this->failed; + } + + /** + * @param PayoutGroupFailed[] $failed + */ + public function setFailed(array $failed): void + { + $this->failed = $failed; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroupFailed.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroupFailed.php new file mode 100644 index 0000000..53c164f --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroupFailed.php @@ -0,0 +1,64 @@ +errMessage; + } + + /** + * @param string $errMessage + */ + public function setErrorMessage(string $errMessage): void + { + $this->errMessage = $errMessage; + } + + /** + * @return string|null + */ + public function getPayoutId(): ?string + { + return $this->payoutId; + } + + /** + * @param string|null $payoutId + */ + public function setPayoutId(?string $payoutId): void + { + $this->payoutId = $payoutId; + } + + /** + * @return string|null + */ + public function getPayee(): ?string + { + return $this->payee; + } + + /** + * @param string|null $payee + */ + public function setPayee(?string $payee): void + { + $this->payee = $payee; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipient.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipient.php new file mode 100644 index 0000000..3ed8d16 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipient.php @@ -0,0 +1,241 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +/** + * @package Bitpay + * @see REST API Payouts + */ +class PayoutRecipient +{ + protected ?string $email = null; + protected ?string $guid = null; + protected ?string $label = null; + protected ?string $notificationURL = null; + protected ?string $status = null; + protected ?string $id = null; + protected ?string $shopperId = null; + protected ?string $token = null; + + /** + * Constructor, create a minimal Recipient object. + * + * @param string|null $email string Recipient email address to which the invite shall be sent. + * @param string|null $label string Recipient nickname assigned by the merchant (Optional). + * @param string|null $notificationURL string URL to which BitPay sends webhook notifications to inform + * the merchant about the status of a given recipient. HTTPS is mandatory (Optional). + */ + public function __construct(string $email = null, string $label = null, string $notificationURL = null) + { + $this->email = $email; + $this->label = $label; + $this->notificationURL = $notificationURL; + } + + // Required fields + // + + /** + * Gets email. + * + * @return string|null + */ + public function getEmail(): ?string + { + return $this->email; + } + + /** + * Sets email. + * + * @param string|null $email + */ + public function setEmail(?string $email): void + { + $this->email = $email; + } + + // Optional fields + // + + /** + * Gets guid. + * + * @return string|null + */ + public function getGuid(): ?string + { + return $this->guid; + } + + /** + * Sets guid. + * + * @param string $guid + */ + public function setGuid(string $guid): void + { + $this->guid = $guid; + } + + /** + * Gets label. + * + * @return string|null + */ + public function getLabel(): ?string + { + return $this->label; + } + + /** + * Sets label. + * + * @param string|null $label + */ + public function setLabel(?string $label): void + { + $this->label = $label; + } + + /** + * Gets notification url. + * + * @return string|null + */ + public function getNotificationURL(): ?string + { + return $this->notificationURL; + } + + /** + * Sets notification url. + * + * @param string|null $notificationURL + */ + public function setNotificationURL(?string $notificationURL): void + { + $this->notificationURL = $notificationURL; + } + + // Response fields + // + + /** + * Gets status. + * + * @return string|null + */ + public function getStatus(): ?string + { + return $this->status; + } + + /** + * Sets status. + * + * @param string $status + */ + public function setStatus(string $status): void + { + $this->status = $status; + } + + /** + * Gets id. + * + * @return string|null + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets id. + * + * @param string|null $id + */ + public function setId(?string $id): void + { + $this->id = $id; + } + + /** + * Gets Shopper ID. + * + * @return string|null + */ + public function getShopperId(): ?string + { + return $this->shopperId; + } + + /** + * Sets Shopper ID. + * + * @param string|null $shopperId + */ + public function setShopperId(?string $shopperId): void + { + $this->shopperId = $shopperId; + } + + /** + * Gets token. + * + * @return string|null + */ + public function getToken(): ?string + { + return $this->token; + } + + /** + * Sets token. + * + * @param string $token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + /** + * Return an array with values of all fields. + * + * @return array + */ + public function toArray(): array + { + $elements = [ + 'email' => $this->getEmail(), + 'guid' => $this->getGuid(), + 'label' => $this->getLabel(), + 'notificationURL' => $this->getNotificationURL(), + 'status' => $this->getStatus(), + 'id' => $this->getId(), + 'shopperId' => $this->getShopperId(), + 'token' => $this->getToken(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipients.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipients.php new file mode 100644 index 0000000..3aab49a --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutRecipients.php @@ -0,0 +1,137 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +use BitPaySDK\Exceptions\PayoutRecipientException; + +/** + * @package Bitpay + * @see REST API Payouts + */ +class PayoutRecipients +{ + protected array $recipients = []; + protected string $guid = ''; + protected string $token = ''; + + /** + * Constructor, create an recipient-full request PayoutBatch object. + * + * @param $recipients array array of JSON objects, with containing the following parameters. + */ + public function __construct(array $recipients = []) + { + $this->recipients = $recipients; + } + + // API fields + // + + /** + * Gets guid. + * + * @return string + */ + public function getGuid(): string + { + return $this->guid; + } + + /** + * Sets guid. + * + * @param string $guid + */ + public function setGuid(string $guid): void + { + $this->guid = $guid; + } + + /** + * Gets token. + * + * @return string + */ + public function getToken(): string + { + return $this->token; + } + + /** + * Sets token. + * + * @param string $token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + // Required fields + // + + /** + * Gets an array with all recipients. + * + * @return PayoutRecipient[] + */ + public function getRecipients(): array + { + return $this->recipients; + } + + /** + * Sets array with all recipients. + * + * @param PayoutRecipient[] $recipients + * @throws PayoutRecipientException + */ + public function setRecipients(array $recipients): void + { + foreach ($recipients as $recipient) { + if (!$recipient instanceof PayoutRecipient) { + throw new PayoutRecipientException('Array should contains only PayoutRecipient objects'); + } + } + + $this->recipients = $recipients; + } + + /** + * Return an array with paid and unpaid value. + * + * @return array + */ + public function toArray(): array + { + $recipients = []; + foreach ($this->getRecipients() as $recipient) { + $recipients[] = $recipient->toArray(); + } + + $elements = [ + 'guid' => $this->getGuid(), + 'recipients' => $recipients, + 'token' => $this->getToken(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutStatus.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutStatus.php new file mode 100644 index 0000000..97ce619 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutStatus.php @@ -0,0 +1,60 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +/** + * Interface PayoutStatus + * @package BitPaySDK\Model\Payout + * @see REST API Payouts + */ +interface PayoutStatus +{ + /** + * New status. + */ + public const NEW = 'new'; + + /** + * Funded status. + */ + public const FUNDED = 'funded'; + + /** + * Processing status + */ + public const PROCESSING = 'processing'; + + /** + * Complete status + */ + public const COMPLETE = 'complete'; + + /** + * Failed status. + */ + public const FAILED = 'failed'; + + /** + * Cancelled status. + */ + public const CANCELLED = 'cancelled'; + + /** + * Paid status. + */ + public const PAID = 'paid'; + + /** + * Unpaid status. + */ + public const UNPAID = 'unpaid'; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutTransaction.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutTransaction.php new file mode 100644 index 0000000..ae27b40 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutTransaction.php @@ -0,0 +1,127 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +/** + * Contains the cryptocurrency transaction details for the executed payout. + * @see REST API Payouts + */ +class PayoutTransaction +{ + protected ?string $txid = null; + protected ?float $amount = null; + protected ?string $date = null; + protected ?string $confirmations = null; + + public function __construct() + { + } + + /** + * Gets Cryptocurrency transaction hash for the executed payout. + * + * @return string|null the tax id + */ + public function getTxid(): ?string + { + return $this->txid; + } + + /** + * Sets Cryptocurrency transaction hash for the executed payout. + * + * @param string|null $txid the tax id + */ + public function setTxid(?string $txid): void + { + $this->txid = $txid; + } + + /** + * Gets Amount of cryptocurrency sent to the requested address. + * + * @return float|null the amount + */ + public function getAmount(): ?float + { + return $this->amount; + } + + /** + * Sets Amount of cryptocurrency sent to the requested address. + * + * @param float|null $amount the amount + */ + public function setAmount(?float $amount): void + { + $this->amount = $amount; + } + + /** + * Gets Date and time (UTC) when the cryptocurrency transaction is broadcasted. + * ISO-8601 format yyyy-mm-ddThh:mm:ssZ. + * + * @return string|null the date + */ + public function getDate(): ?string + { + return $this->date; + } + + /** + * Sets Date and time (UTC) when the cryptocurrency transaction is broadcasted. + * ISO-8601 format yyyy-mm-ddThh:mm:ssZ. + * + * @param string|null $date the date + */ + public function setDate(?string $date): void + { + $this->date = $date; + } + + /** + * Gets the number of confirmations the transaction has received. + * + * @return string|null + */ + public function getConfirmations(): ?string + { + return $this->confirmations; + } + + /** + * Sets the number of confirmations the transaction has received. + * + * @param string|null $confirmations + */ + public function setConfirmations(?string $confirmations): void + { + $this->confirmations = $confirmations; + } + + /** + * Gets PayoutTransaction as array + * + * @return array PayoutTransaction as array + */ + public function toArray(): array + { + return [ + 'txid' => $this->getTxid(), + 'amount' => $this->getAmount(), + 'date' => $this->getDate(), + 'confirmations' => $this->getConfirmations() + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientReferenceMethod.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientReferenceMethod.php new file mode 100644 index 0000000..0f46e7a --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientReferenceMethod.php @@ -0,0 +1,34 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +/** + * List of recipient reference methods + * @see REST API Payouts + */ +interface RecipientReferenceMethod +{ + /** + * Email method will be used to target the recipient + */ + public const EMAIL = 1; + + /** + * Recipient id will be used to target the recipient + */ + public const RECIPIENT_ID = 2; + + /** + * Shopper id will be used to target the recipient + */ + public const SHOPPER_ID = 3; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientStatus.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientStatus.php new file mode 100644 index 0000000..fc1d6a7 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientStatus.php @@ -0,0 +1,51 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Payout; + +/** + * Interface RecipientStatus + * @package BitPaySDK\Model\Payout + * @see REST API Payouts + */ +interface RecipientStatus +{ + /** + * Invited recipient status. + */ + public const INVITED = 'invited'; + + /** + * Unverified recipient status. + */ + public const UNVERIFIED = 'unverified'; + + /** + * Verified recipient status. + */ + + public const VERIFIED = 'verified'; + + /** + * Active recipient status. + */ + public const ACTIVE = 'active'; + + /** + * Paused recipient status. + */ + public const PAUSED = 'paused'; + + /** + * Removed recipient status. + */ + public const REMOVED = 'removed'; +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rate.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rate.php new file mode 100644 index 0000000..9e2be19 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rate.php @@ -0,0 +1,112 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Rate; + +/** + * Class Rate + * @package BitPaySDK\Model\Rate + * @see REST API Rates + */ +class Rate +{ + protected ?string $name = null; + protected ?string $code = null; + protected ?float $rate = null; + + public function __construct() + { + } + + /** + * Gets detailed currency name + * + * @return string|null the name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets detailed currency name + * + * @param string $name the name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets ISO 4217 3-character currency code + * + * @return string|null the code + */ + public function getCode(): ?string + { + return $this->code; + } + + /** + * Sets ISO 4217 3-character currency code + * + * @param string $code the code + */ + public function setCode(string $code): void + { + $this->code = $code; + } + + /** + * Gets rate for the requested baseCurrency /currency pair + * + * @return float|null the rate + */ + public function getRate(): ?float + { + return $this->rate; + } + + /** + * Sets rate for the requested baseCurrency /currency pair + * + * @param float $rate the rate + */ + public function setRate(float $rate): void + { + $this->rate = $rate; + } + + /** + * Gets Rate as array + * + * @return array Rate as array + */ + public function toArray(): array + { + $elements = [ + 'name' => $this->getName(), + 'code' => $this->getCode(), + 'rate' => $this->getRate(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rates.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rates.php new file mode 100644 index 0000000..ac5d939 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Rate/Rates.php @@ -0,0 +1,125 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Rate; + +use BitPaySDK\Client; +use BitPaySDK\Exceptions\BitPayException; +use BitPaySDK\Exceptions\RateException; +use BitPaySDK\Model\Currency; + +/** + * Class Rates + * @package BitPaySDK\Model\Rate + * @see REST API Rates + */ +class Rates +{ + /** + * @var array Rate[] + */ + protected array $rates; + + /** + * Rates constructor. + * + * @param array $rates Rate[] + * @throws BitPayException + */ + public function __construct(array $rates) + { + $this->validateRates($rates); + $this->rates = $rates; + } + + /** + * Gets rates. + * + * @return array Rate[] + */ + public function getRates(): array + { + return $this->rates; + } + + /** + * Update rates. + * + * @throws BitPayException + */ + public function update(Client $bp): void + { + $rates = $bp->getRates()->getRates(); + $this->validateRates($rates); + + $this->rates = $rates; + } + + /** + * Gets rate for the requested currency code. + * + * @param string $currencyCode + * @return float|null + * @throws BitPayException + */ + public function getRate(string $currencyCode): ?float + { + $val = null; + + if (!Currency::isValid($currencyCode)) { + throw new BitPayException("currency code must be a type of Model.Currency"); + } + + foreach ($this->rates as $rateObj) { + if ($rateObj->getCode() === $currencyCode) { + $val = $rateObj->getRate(); + break; + } + } + + return $val; + } + + /** + * Return an array with rates value. + * + * @return array[] + */ + public function toArray(): array + { + $elements = [ + 'rates' => $this->getRates(), + ]; + + foreach ($elements as $key => $value) { + if (empty($value)) { + unset($elements[$key]); + } + } + + return $elements; + } + + /** + * @param array $rates + * @throws BitPayException + */ + private function validateRates(array $rates): void + { + foreach ($rates as $rate) { + if (!$rate instanceof Rate) { + throw new RateException('Array should contains only Rate objects'); + } + } + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/InvoiceData.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/InvoiceData.php new file mode 100644 index 0000000..9d6a6db --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/InvoiceData.php @@ -0,0 +1,212 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Settlement; + +/** + * Object containing relevant information from the paid invoice. + * @see Settlements + */ +class InvoiceData +{ + protected ?string $orderId = null; + protected ?string $date = null; + protected ?float $price = null; + protected ?string $currency = null; + protected ?string $transactionCurrency = null; + protected ?float $overPaidAmount = null; + protected ?float $payoutPercentage = null; + protected ?RefundInfo $refundInfo = null; + + public function __construct() + { + } + + /** + * Gets Invoice orderId provided during invoice creation. + * + * @return string|null the order id + */ + public function getOrderId(): ?string + { + return $this->orderId; + } + + /** + * Sets Invoice orderId provided during invoice creation. + * + * @param string $orderId the order id + */ + public function setOrderId(string $orderId): void + { + $this->orderId = $orderId; + } + + /** + * Gets Date at which the invoice was created (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null the date + */ + public function getDate(): ?string + { + return $this->date; + } + + /** + * Sets Date at which the invoice was created (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $date the date + */ + public function setDate(string $date): void + { + $this->date = $date; + } + + /** + * Gets Invoice price in the invoice original currency + * + * @return float|null the price + */ + public function getPrice(): ?float + { + return $this->price; + } + + /** + * Sets Invoice price in the invoice original currency + * + * @param float $price the price + */ + public function setPrice(float $price): void + { + $this->price = $price; + } + + /** + * Gets Invoice currency + * + * @return string|null the Invoice currency + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets Invoice currency + * + * @param string $currency the Invoice currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Gets Cryptocurrency selected by the consumer when paying the invoice. + * + * @return string|null the transaction currency + */ + public function getTransactionCurrency(): ?string + { + return $this->transactionCurrency; + } + + /** + * Sets Cryptocurrency selected by the consumer when paying the invoice. + * + * @param string $transactionCurrency the transaction currency + */ + public function setTransactionCurrency(string $transactionCurrency): void + { + $this->transactionCurrency = $transactionCurrency; + } + + /** + * Gets over paid amount + * + * @return float|null the over paid amount + */ + public function getOverPaidAmount(): ?float + { + return $this->overPaidAmount; + } + + /** + * Sets over paid amount + * + * @param float $overPaidAmount the over paid amount + */ + public function setOverPaidAmount(float $overPaidAmount): void + { + $this->overPaidAmount = $overPaidAmount; + } + + /** + * Gets The payout percentage defined by the merchant on his BitPay account settings + * + * @return float|null the payout percentage + */ + public function getPayoutPercentage(): ?float + { + return $this->payoutPercentage; + } + + /** + * Sets The payout percentage defined by the merchant on his BitPay account settings + * + * @param float $payoutPercentage the payout percentage + */ + public function setPayoutPercentage(float $payoutPercentage): void + { + $this->payoutPercentage = $payoutPercentage; + } + + /** + * Gets Object containing information about the refund executed for the invoice + * + * @return RefundInfo|null + */ + public function getRefundInfo(): ?RefundInfo + { + return $this->refundInfo; + } + + /** + * Sets Object containing information about the refund executed for the invoice + * + * @param RefundInfo $refundInfo + */ + public function setRefundInfo(RefundInfo $refundInfo): void + { + $this->refundInfo = $refundInfo; + } + + /** + * Gets InvoiceData as array + * + * @return array InvoiceData as array + */ + public function toArray(): array + { + return [ + 'orderId' => $this->getOrderId(), + 'date' => $this->getDate(), + 'price' => $this->getPrice(), + 'currency' => $this->getCurrency(), + 'transactionCurrency' => $this->getTransactionCurrency(), + 'payoutPercentage' => $this->getPayoutPercentage(), + 'refundInfo' => $this->getRefundInfo() ? $this->getRefundInfo()->toArray() : null, + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/PayoutInfo.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/PayoutInfo.php new file mode 100644 index 0000000..430e257 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/PayoutInfo.php @@ -0,0 +1,592 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Settlement; + +/** + * Object containing the settlement info provided by the Merchant in his BitPay account settings. + * @see Settlements + */ +class PayoutInfo +{ + protected ?string $name = null; + protected ?string $account = null; + protected ?string $routing = null; + protected ?string $merchantEin = null; + protected ?string $label = null; + protected ?string $bankCountry = null; + protected ?string $bank = null; + protected ?string $swift = null; + protected ?string $address = null; + protected ?string $city = null; + protected ?string $postal = null; + protected ?string $sort = null; + protected ?string $wire = null; + protected ?string $bankName = null; + protected ?string $bankAddress = null; + protected ?string $bankAddress2 = null; + protected ?string $iban = null; + protected ?string $additionalInformation = null; + protected ?string $accountHolderName = null; + protected ?string $accountHolderAddress = null; + protected ?string $accountHolderAddress2 = null; + protected ?string $accountHolderPostalCode = null; + protected ?string $accountHolderCity = null; + protected ?string $accountHolderCountry = null; + + public function __construct() + { + } + + /** + * Gets Bank account number of the merchant + * + * @return string|null the bank account number + */ + public function getAccount(): ?string + { + return $this->account; + } + + /** + * Sets Bank account number of the merchant + * + * @param string $account the bank account number + */ + public function setAccount(string $account): void + { + $this->account = $account; + } + + /** + * Gets routing + * + * for merchants receiving USD settlements via local ACH, this field contains the ABA provided by the merchant + * + * @return string|null the routing + */ + public function getRouting(): ?string + { + return $this->routing; + } + + /** + * Sets routing + * + * @param string $routing the routing + */ + public function setRouting(string $routing): void + { + $this->routing = $routing; + } + + /** + * Gets merchant ein + * + * for merchants receiving USD settlements via local ACH, this field contains the merchant's EIN + * + * @return string|null the merchant ein + */ + public function getMerchantEin(): ?string + { + return $this->merchantEin; + } + + /** + * Sets merchant ein + * + * @param string $merchantEin the merchant ein + */ + public function setMerchantEin(string $merchantEin): void + { + $this->merchantEin = $merchantEin; + } + + /** + * Gets label + * + * As indicated by the merchant in his settlement settings + * + * @return string|null the label + */ + public function getLabel(): ?string + { + return $this->label; + } + + /** + * Sets label + * + * @param string $label the label + */ + public function setLabel(string $label): void + { + $this->label = $label; + } + + /** + * Gets Country where the merchant's bank account is located + * + * @return string|null the bank country + */ + public function getBankCountry(): ?string + { + return $this->bankCountry; + } + + /** + * Sets Country where the merchant's bank account is located + * + * @param string $bankCountry the bank country + */ + public function setBankCountry(string $bankCountry): void + { + $this->bankCountry = $bankCountry; + } + + /** + * Gets account holder name + * + * @return string|null the name + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * Sets account holder name + * + * @param string $name the name + */ + public function setName(string $name): void + { + $this->name = $name; + } + + /** + * Gets Name of the bank used by the merchant + * + * @return string|null the bank + */ + public function getBank(): ?string + { + return $this->bank; + } + + /** + * Sets Name of the bank used by the merchant + * + * @param string $bank the bank + */ + public function setBank(string $bank): void + { + $this->bank = $bank; + } + + /** + * Gets SWIFT/BIC code of the merchant's bank. + * + * @return string|null the swift + */ + public function getSwift(): ?string + { + return $this->swift; + } + + /** + * Sets SWIFT/BIC code of the merchant's bank. + * + * @param string $swift the swift + */ + public function setSwift(string $swift): void + { + $this->swift = $swift; + } + + /** + * Gets address + * + * This field is used to indicate the wallet address used for the settlement, + * if the settlement currency selected by the merchant is one of the supported crypto currency: + * Bitcoin (BTC), Bitcoin Cash (BCH), Dogecoin (DOGE), Ether (ETH), Gemini US Dollar (GUSD), + * Circle USD Coin (USDC), Paxos Standard USD (PAX), Binance USD (BUSD), Dai (DAI), Wrapped Bitcoin (WBTC), + * and Ripple (XRP). If the settlement currency used is AUD, GBP, NZD, MXN, ZAR - + * this field is used to indicate the address of the merchant's bank + * + * @return string|null the address + */ + public function getAddress(): ?string + { + return $this->address; + } + + /** + * Sets address + * + * @param string $address the address + */ + public function setAddress(string $address): void + { + $this->address = $address; + } + + /** + * Gets City of the merchant bank, field return if the settlement currency is + * + * @return string|null the city + */ + public function getCity(): ?string + { + return $this->city; + } + + /** + * Sets city of the merchant bank + * + * @param string $city the city + */ + public function setCity(string $city): void + { + $this->city = $city; + } + + /** + * Gets Postal code of the merchant bank, field return if the settlement currency is + * + * @return string|null the postal + */ + public function getPostal(): ?string + { + return $this->postal; + } + + /** + * Sets Postal code of the merchant bank + * + * @param string $postal the postal + */ + public function setPostal(string $postal): void + { + $this->postal = $postal; + } + + /** + * Gets sort + * + * used to pass country specific bank fields: BSB for AUD + * + * @return string|null + */ + public function getSort(): ?string + { + return $this->sort; + } + + /** + * Sets sort + * + * @param string $sort the sort + */ + public function setSort(string $sort): void + { + $this->sort = $sort; + } + + /** + * Gets wire + * + * If set to true, this means BitPay will be settling the account using an international transfer via the SWIFT + * network instead of local settlement methods like ACH(United States) or SEPA (European Economic Area) + * + * @return string|null the wire + */ + public function getWire(): ?string + { + return $this->wire; + } + + /** + * Sets wire + * + * @param string $wire the wire + */ + public function setWire(string $wire): void + { + $this->wire = $wire; + } + + /** + * Gets bank name + * + * Name of the bank used by the merchant. Field returned if "wire": true in the "payoutInfo" object + * + * @return string|null the bank name + */ + public function getBankName(): ?string + { + return $this->bankName; + } + + /** + * Sets bank name + * + * @param string $bankName the bank name + */ + public function setBankName(string $bankName): void + { + $this->bankName = $bankName; + } + + /** + * Gets bank address + * + * Address of the merchant's bank. Field returned if "wire": true in the "payoutInfo" object + * + * @return string|null the bank address + */ + public function getBankAddress(): ?string + { + return $this->bankAddress; + } + + /** + * Sets bank address + * + * @param string $bankAddress the bank address + */ + public function setBankAddress(string $bankAddress): void + { + $this->bankAddress = $bankAddress; + } + + /** + * Gets bank address 2 + * + * Address of the merchant's bank. Field returned if "wire": true in the "payoutInfo" object + * + * @return string|null the bank address2 + */ + public function getBankAddress2(): ?string + { + return $this->bankAddress2; + } + + /** + * Sets bank address2 + * + * @param string $bankAddress2 the bank address2 + */ + public function setBankAddress2(string $bankAddress2): void + { + $this->bankAddress2 = $bankAddress2; + } + + /** + * Gets iban + * + * The merchant's bank account number, in the IBAN (International Bank Account Number) format. + * Field returned if "wire": true in the "payoutInfo" object + * + * @return string|null the iban + */ + public function getIban(): ?string + { + return $this->iban; + } + + /** + * Sets iban + * + * @param string $iban the iban + * @return void + */ + public function setIban(string $iban): void + { + $this->iban = $iban; + } + + /** + * Gets additional information + * + * When providing the settlement info via the dashboard, this field can be used by the merchant to provide + * additional information about the receiving bank. Field returned if "wire": true in the "payoutInfo" object + * + * @return string|null the additional information + */ + public function getAdditionalInformation(): ?string + { + return $this->additionalInformation; + } + + /** + * Sets additional information + * + * @param string $additionalInformation the additional information + */ + public function setAdditionalInformation(string $additionalInformation): void + { + $this->additionalInformation = $additionalInformation; + } + + /** + * Gets Bank account holder name + * + * @return string|null the bank account holder name + */ + public function getAccountHolderName(): ?string + { + return $this->accountHolderName; + } + + /** + * Sets Bank account holder name + * + * @param string $accountHolderName the bank account holder name + */ + public function setAccountHolderName(string $accountHolderName): void + { + $this->accountHolderName = $accountHolderName; + } + + /** + * Gets Bank account holder address + * + * @return string|null the bank account holder address + */ + public function getAccountHolderAddress(): ?string + { + return $this->accountHolderAddress; + } + + /** + * Sets Bank account holder address2 + * + * @param string $accountHolderAddress the bank account holder address + */ + public function setAccountHolderAddress(string $accountHolderAddress): void + { + $this->accountHolderAddress = $accountHolderAddress; + } + + /** + * Gets Bank account holder address2 + * + * @return string|null the bank account holder address2 + */ + public function getAccountHolderAddress2(): ?string + { + return $this->accountHolderAddress2; + } + + /** + * Sets Bank account holder address2 + * + * @param string $accountHolderAddress2 the bank account holder address2 + */ + public function setAccountHolderAddress2(string $accountHolderAddress2): void + { + $this->accountHolderAddress2 = $accountHolderAddress2; + } + + /** + * Gets Bank account holder postal code + * + * @return string|null the bank account holder postal code + */ + public function getAccountHolderPostalCode(): ?string + { + return $this->accountHolderPostalCode; + } + + /** + * Sets Bank account holder postal code + * + * @param string $accountHolderPostalCode the bank account holder postal code + */ + public function setAccountHolderPostalCode(string $accountHolderPostalCode): void + { + $this->accountHolderPostalCode = $accountHolderPostalCode; + } + + /** + * Gets Bank account holder city + * + * @return string|null the bank account holder city + */ + public function getAccountHolderCity(): ?string + { + return $this->accountHolderCity; + } + + /** + * Sets Bank account holder city + * + * @param string $accountHolderCity the bank account holder city + */ + public function setAccountHolderCity(string $accountHolderCity): void + { + $this->accountHolderCity = $accountHolderCity; + } + + /** + * Gets Bank account holder country + * + * @return string|null the bank account holder country + */ + public function getAccountHolderCountry(): ?string + { + return $this->accountHolderCountry; + } + + /** + * Sets Bank account holder country + * + * @param string $accountHolderCountry the bank account holder country + */ + public function setAccountHolderCountry(string $accountHolderCountry): void + { + $this->accountHolderCountry = $accountHolderCountry; + } + + /** + * Gets PayoutInfo as array + * + * @return array PayoutInfo as array + */ + public function toArray(): array + { + return [ + 'label' => $this->getLabel(), + 'bankCountry' => $this->getBankCountry(), + 'name' => $this->getName(), + 'bank' => $this->getBank(), + 'swift' => $this->getSwift(), + 'address' => $this->getAddress(), + 'city' => $this->getCity(), + 'postal' => $this->getPostal(), + 'sort' => $this->getSort(), + 'wire' => $this->getWire(), + 'bankName' => $this->getBankName(), + 'bankAddress' => $this->getBankAddress(), + 'iban' => $this->getIban(), + 'additionalInformation' => $this->getAdditionalInformation(), + 'accountHolderName' => $this->getAccountHolderName(), + 'accountHolderAddress' => $this->getAccountHolderAddress(), + 'accountHolderAddress2' => $this->getAccountHolderAddress2(), + 'accountHolderPostalCode' => $this->getAccountHolderPostalCode(), + 'accountHolderCity' => $this->getAccountHolderCity(), + 'accountHolderCountry' => $this->getAccountHolderCountry(), + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/RefundInfo.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/RefundInfo.php new file mode 100644 index 0000000..b7534f1 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/RefundInfo.php @@ -0,0 +1,115 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Settlement; + +/** + * Object containing information about the refund. + * @see Settlements + */ +class RefundInfo +{ + protected ?string $supportRequest = null; + protected ?string $currency = null; + protected ?array $amounts = null; + + public function __construct() + { + } + + /** + * Gets support request. + * + * BitPay support request ID associated to the refund + * + * @return string|null the support request + */ + public function getSupportRequest(): ?string + { + return $this->supportRequest; + } + + /** + * Sets support request. + * + * BitPay support request ID associated to the refund + * + * @param string $supportRequest the support request + */ + public function setSupportRequest(string $supportRequest): void + { + $this->supportRequest = $supportRequest; + } + + /** + * Gets currency. + * + * ISO 4217 3-character currency code. This is the currency associated with the settlement. + * Supported settlement currencies are listed on Settlement Docs + * + * @return string|null + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets currency. + * + * ISO 4217 3-character currency code. This is the currency associated with the settlement. + * Supported settlement currencies are listed on Settlement Docs + * + * @param string $currency the currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Gets amounts. + * + * This object will contain the crypto currency amount refunded by BitPay to the consumer + * + * @return array|null + */ + public function getAmounts(): ?array + { + return $this->amounts; + } + + /** + * Sets amounts. + * + * @param array $amounts + */ + public function setAmounts(array $amounts): void + { + $this->amounts = $amounts; + } + + /** + * Gets Refund info as array + * + * @return array refund info as array + */ + public function toArray(): array + { + return [ + 'supportRequest' => $this->getSupportRequest(), + 'currency' => $this->getCurrency(), + 'amounts' => $this->getAmounts() + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/Settlement.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/Settlement.php new file mode 100644 index 0000000..d02b07d --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/Settlement.php @@ -0,0 +1,502 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Settlement; + +use BitPaySDK\Exceptions\SettlementException; + +/** + * Settlement data object. + * @see Settlements + */ +class Settlement +{ + protected ?string $id = null; + protected ?string $accountId = null; + protected ?string $currency = null; + protected ?PayoutInfo $payoutInfo = null; + protected ?string $status = null; + protected ?string $dateCreated = null; + protected ?string $dateExecuted = null; + protected ?string $dateCompleted = null; + protected ?string $openingDate = null; + protected ?string $closingDate = null; + protected ?float $openingBalance = null; + protected ?float $ledgerEntriesSum = null; + protected array $withHoldings = []; + protected ?float $withHoldingsSum = null; + protected ?float $totalAmount = null; + protected array $ledgerEntries = []; + protected ?string $token = null; + + public function __construct() + { + } + + /** + * Gets id + * + * String identifying the settlement; this id will also be in the description of the corresponding bank settlement. + * + * @return string|null + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Sets id + * + * String identifying the settlement; this id will also be in the description of the corresponding bank settlement. + * + * @param string $id + */ + public function setId(string $id): void + { + $this->id = $id; + } + + /** + * Gets account id + * + * String identifying the BitPay merchant. For internal use, this field can be ignored in merchant implementations. + * + * @return string|null + */ + public function getAccountId(): ?string + { + return $this->accountId; + } + + /** + * Sets account id + * + * String identifying the BitPay merchant. For internal use, this field can be ignored in merchant implementations. + * + * @param string $accountId + */ + public function setAccountId(string $accountId): void + { + $this->accountId = $accountId; + } + + /** + * Gets currency + * + * ISO 4217 3-character currency code. This is the currency associated with the settlement. + * Supported settlement currencies are listed on https://bitpay.com/docs/settlement + * + * @return string|null + */ + public function getCurrency(): ?string + { + return $this->currency; + } + + /** + * Sets currency + * + * ISO 4217 3-character currency code. This is the currency associated with the settlement. + * Supported settlement currencies are listed on https://bitpay.com/docs/settlement + * + * @param string $currency + */ + public function setCurrency(string $currency): void + { + $this->currency = $currency; + } + + /** + * Gets Object containing the settlement info provided by the Merchant in his BitPay account settings + * + * @return PayoutInfo|null + */ + public function getPayoutInfo(): ?PayoutInfo + { + return $this->payoutInfo; + } + + /** + * Sets Object containing the settlement info provided by the Merchant in his BitPay account settings + * + * @param PayoutInfo $payoutInfo + */ + public function setPayoutInfo(PayoutInfo $payoutInfo): void + { + $this->payoutInfo = $payoutInfo; + } + + /** + * Gets Status of the settlement. Possible statuses are "new", "processing", "rejected" and "completed". + * + * @return string|null + */ + public function getStatus(): ?string + { + return $this->status; + } + + /** + * Sets Status of the settlement. Possible statuses are "new", "processing", "rejected" and "completed". + * + * @param string $status + */ + public function setStatus(string $status): void + { + $this->status = $status; + } + + /** + * Gets date created + * + * Timestamp when the settlement was created. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null + */ + public function getDateCreated(): ?string + { + return $this->dateCreated; + } + + /** + * Sets date created + * + * Timestamp when the settlement was created. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $dateCreated + */ + public function setDateCreated(string $dateCreated): void + { + $this->dateCreated = $dateCreated; + } + + /** + * Gets date executed + * + * Timestamp when the settlement was executed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null + */ + public function getDateExecuted(): ?string + { + return $this->dateExecuted; + } + + /** + * Sets date executed + * + * Timestamp when the settlement was executed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $dateExecuted + */ + public function setDateExecuted(string $dateExecuted): void + { + $this->dateExecuted = $dateExecuted; + } + + /** + * Gets date completed + * + * Timestamp when the settlement was completed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null + */ + public function getDateCompleted(): ?string + { + return $this->dateCompleted; + } + + /** + * Sets date completed + * + * Timestamp when the settlement was completed. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $dateCompleted + */ + public function setDateCompleted(string $dateCompleted): void + { + $this->dateCompleted = $dateCompleted; + } + + /** + * Gets opening date + * + * corresponds to the closingDate of the previous settlement executed. + * For the first settlement of an account the value will be the BitPay merchant account creation date. + * UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null + */ + public function getOpeningDate(): ?string + { + return $this->openingDate; + } + + /** + * Sets opening date + * + * corresponds to the closingDate of the previous settlement executed. + * For the first settlement of an account the value will be the BitPay merchant account creation date. + * UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $openingDate + */ + public function setOpeningDate(string $openingDate): void + { + $this->openingDate = $openingDate; + } + + /** + * Gets closing date. + * + * Date & time for last ledger entry used for the settlement. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null + */ + public function getClosingDate(): ?string + { + return $this->closingDate; + } + + /** + * Sets closing date. + * + * Date & time for last ledger entry used for the settlement. UTC date, ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $closingDate + */ + public function setClosingDate(string $closingDate): void + { + $this->closingDate = $closingDate; + } + + /** + * Gets Balance of the ledger at the openingDate + * + * @return float|null + */ + public function getOpeningBalance(): ?float + { + return $this->openingBalance; + } + + /** + * Sets Balance of the ledger at the openingDate + * + * @param float $openingBalance + */ + public function setOpeningBalance(float $openingBalance): void + { + $this->openingBalance = $openingBalance; + } + + /** + * Gets ledger entries sum. + * + * Sum of all ledger entries in the settlement, this means all the debits & credits + * which happened between openingDate and closingDate + * + * @return float|null + */ + public function getLedgerEntriesSum(): ?float + { + return $this->ledgerEntriesSum; + } + + /** + * Sets ledger entries sum. + * + * Sum of all ledger entries in the settlement, this means all the debits & credits + * which happened between openingDate and closingDate + * + * @param float $ledgerEntriesSum + */ + public function setLedgerEntriesSum(float $ledgerEntriesSum): void + { + $this->ledgerEntriesSum = $ledgerEntriesSum; + } + + /** + * Gets with holdings + * + * Array of withholdings. Withholdings are kept on the ledger to be used later and thus withheld + * from this settlement. Each withholding is a JSON object containing a code, amount and description field. + * + * @return WithHoldings[] + */ + public function getWithHoldings(): array + { + return $this->withHoldings; + } + + /** + * Sets with holdings + * + * Array of withholdings. Withholdings are kept on the ledger to be used later and thus withheld + * from this settlement. Each withholding is a JSON object containing a code, amount and description field. + * + * @param WithHoldings[] $withHoldings + * @throws SettlementException + */ + public function setWithHoldings(array $withHoldings): void + { + foreach ($withHoldings as $withHolding) { + if (!$withHolding instanceof WithHoldings) { + throw new SettlementException('Array should contains only WithHoldings objects'); + } + } + + $this->withHoldings = $withHoldings; + } + + /** + * Gets Sum of all amounts that are withheld from settlement + * + * @return float|null + */ + public function getWithHoldingsSum(): ?float + { + return $this->withHoldingsSum; + } + + /** + * Sets Sum of all amounts that are withheld from settlement + * + * @param float $withHoldingsSum + */ + public function setWithHoldingsSum(float $withHoldingsSum): void + { + $this->withHoldingsSum = $withHoldingsSum; + } + + /** + * Gets total amount sent to the merchant; 2 decimals. + * + * totalAmount = openingBalance + ledgerEntriesSum - withholdingsSum + * + * @return float|null + */ + public function getTotalAmount(): ?float + { + return $this->totalAmount; + } + + /** + * Sets total amount sent to the merchant; 2 decimals. + * + * totalAmount = openingBalance + ledgerEntriesSum - withholdingsSum + * + * @param float $totalAmount + */ + public function setTotalAmount(float $totalAmount): void + { + $this->totalAmount = $totalAmount; + } + + /** + * Gets Array of ledger entries listing the various debits and credits which are settled in the report. + * + * The total sum of all ledger entries is reported in the field ledgerEntriesSum. + * A description of all ledger codes can be found + * + * @return SettlementLedgerEntry[] + */ + public function getLedgerEntries(): array + { + return $this->ledgerEntries; + } + + /** + * Sets Array of ledger entries listing the various debits and credits which are settled in the report. + * + * The total sum of all ledger entries is reported in the field ledgerEntriesSum. + * A description of all ledger codes can be found + * + * @param SettlementLedgerEntry[] $ledgerEntries + * @throws SettlementException + */ + public function setLedgerEntries(array $ledgerEntries): void + { + foreach ($ledgerEntries as $ledgerEntry) { + if (!$ledgerEntry instanceof SettlementLedgerEntry) { + throw new SettlementException('Array should contains only SettlementLedgerEntry objects'); + } + } + $this->ledgerEntries = $ledgerEntries; + } + + /** + * Gets API token for the corresponding settlement resource. + * + * This token is actually derived from the merchant facade token used during the query. + * This token is required to fetch the reconciliation report + * + * @return string|null + */ + public function getToken(): ?string + { + return $this->token; + } + + /** + * Sets API token for the corresponding settlement resource. + * + * This token is actually derived from the merchant facade token used during the query. + * This token is required to fetch the reconciliation report + * + * @param string $token + */ + public function setToken(string $token): void + { + $this->token = $token; + } + + /** + * Returns the Settlement object as array + * + * @return array + */ + public function toArray(): array + { + $ledgerEntries = []; + foreach ($this->getLedgerEntries() as $item) { + $ledgerEntries[] = $item->toArray(); + } + + $withHoldings = []; + foreach ($this->getWithHoldings() as $withHolding) { + $withHoldings[] = $withHolding->toArray(); + } + + return [ + 'id' => $this->getId(), + 'accountId' => $this->getAccountId(), + 'currency' => $this->getCurrency(), + 'payoutInfo' => $this->getPayoutInfo(), + 'status' => $this->getStatus(), + 'dateCreated' => $this->getDateCreated(), + 'dateExecuted' => $this->getDateExecuted(), + 'dateCompleted' => $this->getDateCompleted(), + 'openingDate' => $this->getOpeningDate(), + 'closingDate' => $this->getClosingDate(), + 'openingBalance' => $this->getOpeningBalance(), + 'ledgerEntriesSum' => $this->getLedgerEntriesSum(), + 'withHoldings' => $withHoldings, + 'withHoldingsSum' => $this->getWithHoldingsSum(), + 'totalAmount' => $this->getTotalAmount(), + 'ledgerEntries' => $ledgerEntries, + 'token' => $this->getToken(), + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/SettlementLedgerEntry.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/SettlementLedgerEntry.php new file mode 100644 index 0000000..6673557 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/SettlementLedgerEntry.php @@ -0,0 +1,211 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Settlement; + +/** + * Class SettlementLedgerEntry + * @package BitPaySDK\Model\Settlement + * @see Settlements + */ +class SettlementLedgerEntry +{ + protected ?int $code = null; + protected ?string $invoiceId = null; + protected ?float $amount = null; + protected ?string $timestamp = null; + protected ?string $description = null; + protected ?string $reference = null; + protected InvoiceData $invoiceData; + + public function __construct() + { + $this->invoiceData = new InvoiceData(); + } + + /** + * Gets code + * + * Contains the Ledger entry code + * + * @return int|null the code + */ + public function getCode(): ?int + { + return $this->code; + } + + /** + * Sets code + * + * Contains the Ledger entry code + * + * @param int $code the code + */ + public function setCode(int $code): void + { + $this->code = $code; + } + + /** + * Gets BitPay invoice Id + * + * @return string|null BitPay invoice Id + */ + public function getInvoiceId(): ?string + { + return $this->invoiceId; + } + + /** + * Sets BitPay invoice Id + * + * @param string $invoiceId BitPay invoice Id + */ + public function setInvoiceId(string $invoiceId): void + { + $this->invoiceId = $invoiceId; + } + + /** + * Gets amount + * + * Amount for the ledger entry. Can be positive of negative depending on the type of entry (debit or credit) + * + * @return float|null the amount + */ + public function getAmount(): ?float + { + return $this->amount; + } + + /** + * Sets amount + * + * Amount for the ledger entry. Can be positive of negative depending on the type of entry (debit or credit) + * + * @param float $amount the amount + */ + public function setAmount(float $amount): void + { + $this->amount = $amount; + } + + /** + * Gets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @return string|null the timestamp + */ + public function getTimestamp(): ?string + { + return $this->timestamp; + } + + /** + * Sets Date and time of the ledger entry (UTC). ISO-8601 format yyyy-mm-ddThh:mm:ssZ + * + * @param string $timestamp the timestamp + */ + public function setTimestamp(string $timestamp): void + { + $this->timestamp = $timestamp; + } + + /** + * Gets Ledger entry description. + * + * This field often contains an id depending on the type of entry + * (for instance payout id, settlement id, invoice orderId etc...) + * + * @return string|null the description + */ + public function getDescription(): ?string + { + return $this->description; + } + + /** + * Sets Ledger entry description. + * + * This field often contains an id depending on the type of entry + * (for instance payout id, settlement id, invoice orderId etc...) + * + * @param string $description the description + */ + public function setDescription(string $description): void + { + $this->description = $description; + } + + /** + * Gets reference + * + * @return string|null the reference + */ + public function getReference(): ?string + { + return $this->reference; + } + + /** + * Sets reference + * + * @param string $reference the reference + */ + public function setReference(string $reference): void + { + $this->reference = $reference; + } + + /** + * Gets Invoice Data + * + * Object containing relevant information from the paid invoice + * + * @return InvoiceData + */ + public function getInvoiceData(): InvoiceData + { + return $this->invoiceData; + } + + /** + * Sets Invoice Data + * + * Object containing relevant information from the paid invoice + * + * @param InvoiceData $invoiceData + */ + public function setInvoiceData(InvoiceData $invoiceData): void + { + $this->invoiceData = $invoiceData; + } + + /** + * Gets SettlementLedgerEntry as array + * + * @return array SettlementLedgerEntry as array + */ + public function toArray(): array + { + return [ + 'code' => $this->getCode(), + 'invoiceId' => $this->getInvoiceId(), + 'amount' => $this->getAmount(), + 'timestamp' => $this->getTimestamp(), + 'description' => $this->getDescription(), + 'reference' => $this->getReference(), + 'invoiceData' => $this->getInvoiceData() ? $this->getInvoiceData()->toArray() : null, + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/WithHoldings.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/WithHoldings.php new file mode 100644 index 0000000..e035f47 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Settlement/WithHoldings.php @@ -0,0 +1,174 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Settlement; + +/** + * Class WithHoldings + * + * @package BitPaySDK\Model\Settlement + * @see Settlements + */ +class WithHoldings +{ + protected ?float $amount = null; + protected ?string $code = null; + protected ?string $description = null; + protected ?string $notes = null; + protected ?string $label = null; + protected ?string $bankCountry = null; + + /** + * WithHoldings constructor. + */ + public function __construct() + { + } + + /** + * Gets amount. + * + * @return float|null + */ + public function getAmount(): ?float + { + return $this->amount; + } + + /** + * Sets amount. + * + * @param float $amount + */ + public function setAmount(float $amount): void + { + $this->amount = $amount; + } + + /** + * Gets code. + * + * @return string|null + */ + public function getCode(): ?string + { + return $this->code; + } + + /** + * Sets code. + * + * @param string $code + */ + public function setCode(string $code): void + { + $this->code = $code; + } + + /** + * Gets description. + * + * @return string|null + */ + public function getDescription(): ?string + { + return $this->description; + } + + /** + * Sets description. + * + * @param string $description + */ + public function setDescription(string $description): void + { + $this->description = $description; + } + + /** + * Gets notes. + * + * @return string|null + */ + public function getNotes(): ?string + { + return $this->notes; + } + + /** + * Sets notes. + * + * @param string $notes + */ + public function setNotes(string $notes): void + { + $this->notes = $notes; + } + + /** + * Gets label. + * + * @return string|null + */ + public function getLabel(): ?string + { + return $this->label; + } + + /** + * Sets label. + * + * @param string $label + */ + public function setLabel(string $label): void + { + $this->label = $label; + } + + /** + * Gets bank country. + * + * @return string|null + */ + public function getBankCountry(): ?string + { + return $this->bankCountry; + } + + /** + * Sets bank country. + * + * @param string $bankCountry + */ + public function setBankCountry(string $bankCountry): void + { + $this->bankCountry = $bankCountry; + } + + /** + * Return an array with class values. + * + * @return array + */ + public function toArray(): array + { + return [ + 'amount' => $this->getAmount(), + 'code' => $this->getCode(), + 'description' => $this->getDescription(), + 'notes' => $this->getNotes(), + 'label' => $this->getLabel(), + 'bankCountry' => $this->getBankCountry(), + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Currencies.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Currencies.php new file mode 100644 index 0000000..958557b --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Currencies.php @@ -0,0 +1,237 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Wallet; + +/** + * Details of what currencies support payments for this wallet + * @see Wallets + */ +class Currencies +{ + protected ?string $code = null; + protected ?bool $p2p = null; + protected ?bool $dappBrowser = null; + protected ?string $image = null; + protected ?bool $payPro = null; + protected ?CurrencyQr $qr = null; + protected ?string $withdrawalFee = null; + protected ?bool $walletConnect = null; + + public function __construct() + { + } + + /** + * Gets code + * + * Identifying code for the currency + * + * @return string|null the code + */ + public function getCode(): ?string + { + return $this->code; + } + + /** + * Sets code + * + * Identifying code for the currency + * + * @param string $code the code + */ + public function setCode(string $code): void + { + $this->code = $code; + } + + /** + * Gets p2p + * + * Indicates that this is a peer to peer (p2p) payment method (as opposed to payment protocol) + * + * @return bool|null the p2p + */ + public function getP2p(): ?bool + { + return $this->p2p; + } + + /** + * Sets p2p + * + * Indicates that this is a peer to peer (p2p) payment method (as opposed to payment protocol) + * + * @param bool $p2p the p2p + */ + public function setP2p(bool $p2p): void + { + $this->p2p = $p2p; + } + + /** + * Gets Dapp Browser + * + * Indicates that this payment method operates via a browser plugin interacting with the invoice + * + * @return bool|null the dapp browser + */ + public function getDappBrowser(): ?bool + { + return $this->dappBrowser; + } + + /** + * Sets Dapp Browser + * + * Indicates that this payment method operates via a browser plugin interacting with the invoice + * + * @param bool $dappBrowser the dapp browser + */ + public function setDappBrowser(bool $dappBrowser): void + { + $this->dappBrowser = $dappBrowser; + } + + /** + * Gets URL that displays currency image + * + * @return string|null the image url + */ + public function getImage(): ?string + { + return $this->image; + } + + /** + * Sets URL that displays currency image + * + * @param string $image the image url + */ + public function setImage(string $image): void + { + $this->image = $image; + } + + /** + * Gets pay pro + * + * Whether or not BitPay Payment Protocol is supported on this particular currency option + * + * @return bool|null the pay pro + */ + public function getPayPro(): ?bool + { + return $this->payPro; + } + + /** + * Sets pay pro + * + * Whether or not BitPay Payment Protocol is supported on this particular currency option + * + * @param bool $payPro the pay pro + */ + public function setPayPro(bool $payPro): void + { + $this->payPro = $payPro; + } + + /** + * Gets CurrencyQr + * + * Object containing QR code related information to show for this payment method + * + * @return CurrencyQr|null the qr + */ + public function getQr(): ?CurrencyQr + { + return $this->qr; + } + + /** + * Sets CurrencyQr + * + * Object containing QR code related information to show for this payment method + * + * @param CurrencyQr $qr the currency qr + */ + public function setQr(CurrencyQr $qr): void + { + $this->qr = $qr; + } + + /** + * Gets Custodial wallet withdrawal fee + * + * @return string|null the withdrawal fee + */ + public function getWithdrawalFee(): ?string + { + return $this->withdrawalFee; + } + + /** + * Sets Custodial wallet withdrawal fee + * + * @param string $withdrawalFee the withdrawal fee + */ + public function setWithdrawalFee(string $withdrawalFee): void + { + $this->withdrawalFee = $withdrawalFee; + } + + /** + * Gets wallet connect + * + * Whether or not this wallet supports walletConnect + * + * @return bool|null the wallet connect + */ + public function getWalletConnect(): ?bool + { + return $this->walletConnect; + } + + /** + * Sets wallet connect + * + * Whether or not this wallet supports walletConnect + * + * @param bool $walletConnect the wallet connect + */ + public function setWalletConnect(bool $walletConnect): void + { + $this->walletConnect = $walletConnect; + } + + /** + * Gets Currencies as array + * + * @return array Currencies as array + */ + public function toArray(): array + { + return [ + 'code' => $this->getCode(), + 'p2p' => $this->getP2p(), + 'dappBrowser' => $this->getDappBrowser(), + 'image' => $this->getImage(), + 'paypro' => $this->getPayPro(), + 'qr' => $this->getQr()->toArray(), + 'withdrawalFee' => $this->getWithdrawalFee(), + 'walletConnect' => $this->getWalletConnect() + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/CurrencyQr.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/CurrencyQr.php new file mode 100644 index 0000000..2e64e5a --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/CurrencyQr.php @@ -0,0 +1,89 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Wallet; + +/** + * Object containing QR code related information to show for this payment method + * @see Wallets + */ +class CurrencyQr +{ + protected ?string $type = null; + protected ?bool $collapsed = null; + + public function __construct() + { + } + + /** + * Gets Type + * + * The type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc) + * + * @return string|null The type of QR code to use + */ + public function getType(): ?string + { + return $this->type; + } + + /** + * Sets Type + * + * The type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc) + * + * @param string $type The type of QR code to use + */ + public function setType(string $type): void + { + $this->type = $type; + } + + /** + * Gets collapsed + * + * UI hint for BitPay invoice, generally not relevant to customer integrations + * + * @return bool|null the collapsed + */ + public function getCollapsed(): ?bool + { + return $this->collapsed; + } + + /** + * Sets collapsed + * + * UI hint for BitPay invoice, generally not relevant to customer integrations + * + * @param bool $collapsed the collapsed + */ + public function setCollapsed(bool $collapsed): void + { + $this->collapsed = $collapsed; + } + + /** + * Gets CurrencyQr as array + * + * @return array CurrencyQr as array + */ + public function toArray(): array + { + return [ + 'type' => $this->getType(), + 'collapsed' => $this->getCollapsed(), + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Wallet.php b/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Wallet.php new file mode 100644 index 0000000..1d1f5dd --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Model/Wallet/Wallet.php @@ -0,0 +1,194 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Model\Wallet; + +/** + * + * @package Bitpay + * @see Wallets + */ +class Wallet +{ + protected ?string $key = null; + protected ?string $displayName = null; + protected ?string $avatar = null; + protected Currencies $currencies; + protected ?string $image = null; + protected ?bool $payPro = null; + + /** + * Constructor, create a minimal request Wallet object. + */ + public function __construct() + { + $this->currencies = new Currencies(); + } + + /** + * Gets A unique identifier for the wallet + * + * @return string|null the key + */ + public function getKey(): ?string + { + return $this->key; + } + + /** + * Sets A unique identifier for the wallet + * + * @param string $key the key + */ + public function setKey(string $key): void + { + $this->key = $key; + } + + /** + * Gets display name + * + * Human readable display name for the wallet + * + * @return string|null the display name + */ + public function getDisplayName(): ?string + { + return $this->displayName; + } + + /** + * Sets display name + * + * Human readable display name for the wallet + * + * @param string $displayName the display name + */ + public function setDisplayName(string $displayName): void + { + $this->displayName = $displayName; + } + + /** + * Gets avatar + * + * Filename of a wallet graphic (not fully qualified) + * + * @return string|null the avatar + */ + public function getAvatar(): ?string + { + return $this->avatar; + } + + /** + * Sets avatar + * + * Filename of a wallet graphic (not fully qualified) + * + * @param string $avatar the avatar + */ + public function setAvatar(string $avatar): void + { + $this->avatar = $avatar; + } + + /** + * Gets pay pro + * + * Whether or not the wallet supports ANY BitPay Payment Protocol options + * + * @return bool|null the pay pro + */ + public function getPayPro(): ?bool + { + return $this->payPro; + } + + /** + * Sets pay pro + * + * Whether or not the wallet supports ANY BitPay Payment Protocol options + * + * @param bool $payPro the pay pro + */ + public function setPayPro(bool $payPro): void + { + $this->payPro = $payPro; + } + + /** + * Gets currencies + * + * Details of what currencies support payments for this wallet + * + * @return Currencies the currencies + */ + public function getCurrencies(): Currencies + { + return $this->currencies; + } + + /** + * Sets currencies + * + * Details of what currencies support payments for this wallet + * + * @param Currencies $currencies the currencies + */ + public function setCurrencies(Currencies $currencies): void + { + $this->currencies = $currencies; + } + + /** + * Gets image + * + * URL that displays wallet avatar image + * + * @return string|null the image url + */ + public function getImage(): ?string + { + return $this->image; + } + + /** + * Sets image + * + * URL that displays wallet avatar image + * + * @param string $image the image url + */ + public function setImage(string $image): void + { + $this->image = $image; + } + + /** + * Gets Wallet as array + * + * @return array Wallet as array + */ + public function toArray(): array + { + return [ + 'key' => $this->getKey(), + 'displayName' => $this->getDisplayName(), + 'avatar' => $this->getAvatar(), + 'paypro' => $this->getPayPro(), + 'currencies' => $this->getCurrencies()->toArray(), + 'image' => $this->getImage() + ]; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/PosClient.php b/vendor/bitpay/sdk/src/BitPaySDK/PosClient.php new file mode 100644 index 0000000..7ed1255 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/PosClient.php @@ -0,0 +1,105 @@ +token = new Tokens(null, null, $token); + $this->env = strtolower($environment) === "test" ? Env::TEST : Env::PROD; + $this->init(); + parent::__construct($this->RESTcli, new Tokens(null, null, $token)); + } catch (Exception $e) { + throw new BitPayException("failed to initialize BitPay Light Client (Config) : " . $e->getMessage()); + } + } + + /** + * Initialize this object with the selected environment. + * + * @throws BitPayException BitPayException class + */ + private function init(): void + { + try { + $this->RESTcli = new RESTcli($this->env, new PrivateKey()); + } catch (Exception $e) { + throw new BitPayException("failed to build configuration : " . $e->getMessage()); + } + } + + /** + * Fetch the supported currencies. + * + * @return array A list of BitPay Invoice objects. + * @throws CurrencyQueryException CurrencyQueryException class + * @throws \BitPaySDK\Exceptions\BitPayException BitPayException class + */ + public function getCurrencies(): array + { + try { + $responseJson = $this->RESTcli->get("currencies", null, false); + } catch (BitPayException $e) { + throw new CurrencyQueryException( + "failed to serialize Currency object : " . $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new CurrencyQueryException("failed to serialize Currency object : " . $e->getMessage()); + } + + try { + $mapper = new JsonMapper(); + $mapper->bEnforceMapType = false; + $currencies = $mapper->mapArray( + json_decode($responseJson, true, 512, JSON_THROW_ON_ERROR), + [], + Currency::class + ); + } catch (Exception $e) { + throw new CurrencyQueryException( + "failed to deserialize BitPay server response (Currency) : " . $e->getMessage() + ); + } + + return $currencies; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Tokens.php b/vendor/bitpay/sdk/src/BitPaySDK/Tokens.php new file mode 100644 index 0000000..d778f1c --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Tokens.php @@ -0,0 +1,97 @@ +merchant = $merchant; + $this->payout = $payout; + $this->pos = $pos; + } + + public static function loadFromArray(array $tokens): Tokens + { + $instance = new self(); + + foreach ($tokens as $facade => $token) { + $instance->{$facade} = $token; + } + + return $instance; + } + + /** + * @param $facade + * @return string|null + * @throws Exception + */ + public function getTokenByFacade($facade): ?string + { + return match ($facade) { + Facade::MERCHANT => $this->merchant, + Facade::PAYOUT => $this->payout, + Facade::POS => $this->pos, + default => throw new Exception("given facade does not exist or no token defined for the given facade"), + }; + } + + /** + * @param string $merchant + */ + public function setMerchantToken(string $merchant): void + { + $this->merchant = $merchant; + } + + /** + * @return string|null + */ + public function getPayoutToken(): ?string + { + return $this->payout; + } + + /** + * @param string $payout + */ + public function setPayoutToken(string $payout): void + { + $this->payout = $payout; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Util/JsonMapperFactory.php b/vendor/bitpay/sdk/src/BitPaySDK/Util/JsonMapperFactory.php new file mode 100644 index 0000000..143cb75 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Util/JsonMapperFactory.php @@ -0,0 +1,20 @@ +bEnforceMapType = false; + + return $jsonMapper; + } +} diff --git a/vendor/bitpay/sdk/src/BitPaySDK/Util/RESTcli/RESTcli.php b/vendor/bitpay/sdk/src/BitPaySDK/Util/RESTcli/RESTcli.php new file mode 100644 index 0000000..f6a52c6 --- /dev/null +++ b/vendor/bitpay/sdk/src/BitPaySDK/Util/RESTcli/RESTcli.php @@ -0,0 +1,446 @@ + + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ + +namespace BitPaySDK\Util\RESTcli; + +use BitPayKeyUtils\KeyHelper\PrivateKey; +use BitPaySDK\Env; +use BitPaySDK\Exceptions\BitPayException; +use Exception; +use GuzzleHttp\Client as GuzzleHttpClient; +use GuzzleHttp\Exception\BadResponseException; +use GuzzleHttp\Exception\ClientException; +use GuzzleHttp\Exception\ConnectException; +use GuzzleHttp\Exception\GuzzleException; +use GuzzleHttp\Exception\InvalidArgumentException; +use GuzzleHttp\Exception\RequestException; +use GuzzleHttp\Exception\ServerException; +use GuzzleHttp\Exception\TooManyRedirectsException; +use GuzzleHttp\Psr7\Response as Response; +use GuzzleHttp\RequestOptions as RequestOptions; + +/** + * Class RESTcli + * @package BitPaySDK\Util\RESTcli + */ +class RESTcli +{ + /** + * @var GuzzleHttpClient + */ + protected GuzzleHttpClient $client; + /** + * @var string + */ + protected string $baseUrl; + /** + * @var PrivateKey + */ + protected PrivateKey $ecKey; + /** + * @var string + */ + protected string $identity; + + /** + * @var string + */ + protected string $proxy; + + /** + * RESTcli constructor. + * @param string $environment + * @param PrivateKey $ecKey + * @param string|null $proxy + * @throws BitPayException + */ + public function __construct(string $environment, PrivateKey $ecKey, ?string $proxy = null) + { + $this->ecKey = $ecKey; + $this->baseUrl = $environment == Env::TEST ? Env::TEST_URL : Env::PROD_URL; + $this->proxy = $proxy !== null ? trim($proxy) : ''; + $this->init(); + } + + /** + * Initialize Client. + * + * @throws BitPayException + */ + public function init(): void + { + try { + $this->identity = $this->ecKey->getPublicKey()->__toString(); + $config = [ + 'base_url' => $this->baseUrl, + 'defaults' => [ + 'headers' => [ + 'x-accept-version' => Env::BITPAY_API_VERSION, + 'x-bitpay-plugin-info' => Env::BITPAY_PLUGIN_INFO, + 'x-bitpay-api-frame' => Env::BITPAY_API_FRAME, + 'x-bitpay-api-frame-version' => Env::BITPAY_API_FRAME_VERSION, + ], + ], + ]; + + if ($this->proxy !== '') { + $config['proxy'] = $this->proxy; + } + + $this->client = new GuzzleHttpClient($config); + } catch (Exception $e) { + throw new BitPayException("RESTcli init failed : " . $e->getMessage()); + } + } + + /** + * Send POST request. + * + * @param $uri + * @param array $formData + * @param bool $signatureRequired + * @return string (json) + * @throws BitPayException + */ + public function post($uri, array $formData = [], bool $signatureRequired = true): string + { + try { + $fullURL = $this->baseUrl . $uri; + $headers = [ + 'Content-Type' => 'application/json', + 'x-accept-version' => Env::BITPAY_API_VERSION, + 'x-bitpay-plugin-info' => Env::BITPAY_PLUGIN_INFO, + 'x-bitpay-api-frame' => Env::BITPAY_API_FRAME, + 'x-bitpay-api-frame-version' => Env::BITPAY_API_FRAME_VERSION, + ]; + + if ($signatureRequired) { + $headers['x-signature'] = $this->ecKey->sign($fullURL . json_encode($formData)); + $headers['x-identity'] = $this->identity; + } + + /** + * @var Response + */ + $response = $this->client->requestAsync( + 'POST', + $fullURL, + [ + false, + 'headers' => $headers, + RequestOptions::JSON => $formData, + ] + )->wait(); + + return $this->responseToJsonString($response); + } catch (BadResponseException $e) { + $errorJson = $this->responseToJsonString($e->getResponse()); + throw new BitPayException( + "POST failed : Guzzle/BadResponseException : " . + $errorJson['message'], + $errorJson['code'] + ); + } catch (ClientException $e) { + throw new BitPayException("POST failed : Guzzle/ClientException : " . $e->getMessage()); + } catch (ConnectException $e) { + throw new BitPayException("POST failed : Guzzle/ConnectException : " . $e->getMessage()); + } catch (GuzzleException $e) { + throw new BitPayException("POST failed : Guzzle/GuzzleException : " . $e->getMessage()); + } catch (InvalidArgumentException $e) { + throw new BitPayException("POST failed : Guzzle/InvalidArgumentException : " . $e->getMessage()); + } catch (RequestException $e) { + throw new BitPayException("POST failed : Guzzle/RequestException : " . $e->getMessage()); + } catch (ServerException $e) { + throw new BitPayException("POST failed : Guzzle/ServerException : " . $e->getMessage()); + } catch (TooManyRedirectsException $e) { + throw new BitPayException("POST failed : Guzzle/TooManyRedirectsException : " . $e->getMessage()); + } catch (Exception $e) { + throw new BitPayException("POST failed : " . $e->getMessage()); + } + } + + /** + * Send GET request. + * + * @param $uri + * @param array|null $parameters + * @param bool $signatureRequired + * @return string (json) + * @throws BitPayException + */ + public function get($uri, array $parameters = null, bool $signatureRequired = true): string + { + try { + $fullURL = $this->baseUrl . $uri; + $headers = [ + 'Content-Type' => 'application/json', + 'x-accept-version' => Env::BITPAY_API_VERSION, + 'x-bitpay-plugin-info' => Env::BITPAY_PLUGIN_INFO, + 'x-bitpay-api-frame' => Env::BITPAY_API_FRAME, + 'x-bitpay-api-frame-version' => Env::BITPAY_API_FRAME_VERSION, + ]; + + if ($parameters) { + $fullURL .= '?' . http_build_query($parameters); + } + + if ($signatureRequired) { + $headers['x-signature'] = $this->ecKey->sign($fullURL); + $headers['x-identity'] = $this->identity; + } + + /** + * @var Response + */ + $response = $this->client->requestAsync( + 'GET', + $fullURL, + [ + $options[RequestOptions::SYNCHRONOUS] = false, + 'headers' => $headers, + 'query' => $parameters, + ] + )->wait(); + + return $this->responseToJsonString($response); + } catch (BadResponseException $e) { + $errorJson = $this->responseToJsonString($e->getResponse()); + throw new BitPayException( + "GET failed : Guzzle/BadResponseException : " . + $errorJson['message'], + $errorJson['code'] + ); + } catch (ClientException $e) { + throw new BitPayException("GET failed : Guzzle/ClientException : " . $e->getMessage()); + } catch (ConnectException $e) { + throw new BitPayException("GET failed : Guzzle/ConnectException : " . $e->getMessage()); + } catch (GuzzleException $e) { + throw new BitPayException("GET failed : Guzzle/GuzzleException : " . $e->getMessage()); + } catch (InvalidArgumentException $e) { + throw new BitPayException("GET failed : Guzzle/InvalidArgumentException : " . $e->getMessage()); + } catch (RequestException $e) { + throw new BitPayException("GET failed : Guzzle/RequestException : " . $e->getMessage()); + } catch (ServerException $e) { + throw new BitPayException("GET failed : Guzzle/ServerException : " . $e->getMessage()); + } catch (TooManyRedirectsException $e) { + throw new BitPayException("GET failed : Guzzle/TooManyRedirectsException : " . $e->getMessage()); + } catch (Exception $e) { + throw new BitPayException("GET failed : " . $e->getMessage()); + } + } + + /** + * Send DELETE request. + * + * @param $uri + * @param array|null $parameters + * @return string + * @throws BitPayException + */ + public function delete($uri, array $parameters = null): string + { + try { + $fullURL = $this->baseUrl . $uri; + if ($parameters) { + $fullURL .= '?' . http_build_query($parameters); + } + + $headers = [ + 'x-accept-version' => Env::BITPAY_API_VERSION, + 'x-bitpay-plugin-info' => Env::BITPAY_PLUGIN_INFO, + 'x-bitpay-api-frame' => Env::BITPAY_API_FRAME, + 'x-bitpay-api-frame-version' => Env::BITPAY_API_FRAME_VERSION, + 'Content-Type' => 'application/json', + 'x-signature' => $this->ecKey->sign($fullURL), + 'x-identity' => $this->identity, + ]; + + /** + * @var Response + */ + $response = $this->client->requestAsync( + 'DELETE', + $fullURL, + [ + $options[RequestOptions::SYNCHRONOUS] = false, + 'headers' => $headers, + 'query' => $parameters, + ] + )->wait(); + + return $this->responseToJsonString($response); + } catch (BadResponseException $e) { + $errorJson = $this->responseToJsonString($e->getResponse()); + throw new BitPayException( + "DELETE failed : Guzzle/BadResponseException : " . + $errorJson['message'], + $errorJson['code'] + ); + } catch (ClientException $e) { + throw new BitPayException("DELETE failed : Guzzle/ClientException : " . $e->getMessage()); + } catch (ConnectException $e) { + throw new BitPayException("DELETE failed : Guzzle/ConnectException : " . $e->getMessage()); + } catch (GuzzleException $e) { + throw new BitPayException("DELETE failed : Guzzle/GuzzleException : " . $e->getMessage()); + } catch (InvalidArgumentException $e) { + throw new BitPayException("DELETE failed : Guzzle/InvalidArgumentException : " . $e->getMessage()); + } catch (RequestException $e) { + throw new BitPayException("DELETE failed : Guzzle/RequestException : " . $e->getMessage()); + } catch (ServerException $e) { + throw new BitPayException("DELETE failed : Guzzle/ServerException : " . $e->getMessage()); + } catch (TooManyRedirectsException $e) { + throw new BitPayException("DELETE failed : Guzzle/TooManyRedirectsException : " . $e->getMessage()); + } catch (Exception $e) { + throw new BitPayException("DELETE failed : " . $e->getMessage()); + } + } + + /** + * Send PUT request. + * + * @param $uri + * @param array $formData + * @return string + * @throws BitPayException + */ + public function update($uri, array $formData = []): string + { + try { + $fullURL = $this->baseUrl . $uri; + $headers = [ + 'x-accept-version' => Env::BITPAY_API_VERSION, + 'x-bitpay-plugin-info' => Env::BITPAY_PLUGIN_INFO, + 'x-bitpay-api-frame' => Env::BITPAY_API_FRAME, + 'x-bitpay-api-frame-version' => Env::BITPAY_API_FRAME_VERSION, + 'Content-Type' => 'application/json', + 'x-signature' => $this->ecKey->sign($fullURL . json_encode($formData)), + 'x-identity' => $this->identity, + ]; + + /** + * @var Response + */ + $response = $this->client->requestAsync( + 'PUT', + $fullURL, + [ + $options[RequestOptions::SYNCHRONOUS] = false, + 'headers' => $headers, + RequestOptions::JSON => $formData, + ] + )->wait(); + + return $this->responseToJsonString($response); + } catch (BadResponseException $e) { + $errorJson = $this->responseToJsonString($e->getResponse()); + throw new BitPayException( + "UPDATE failed : Guzzle/BadResponseException : " . + $errorJson['message'], + $errorJson['code'] + ); + } catch (ClientException $e) { + throw new BitPayException("UPDATE failed : Guzzle/ClientException : " . $e->getMessage()); + } catch (ConnectException $e) { + throw new BitPayException("UPDATE failed : Guzzle/ConnectException : " . $e->getMessage()); + } catch (GuzzleException $e) { + throw new BitPayException("UPDATE failed : Guzzle/GuzzleException : " . $e->getMessage()); + } catch (InvalidArgumentException $e) { + throw new BitPayException("UPDATE failed : Guzzle/InvalidArgumentException : " . $e->getMessage()); + } catch (RequestException $e) { + throw new BitPayException("UPDATE failed : Guzzle/RequestException : " . $e->getMessage()); + } catch (ServerException $e) { + throw new BitPayException("UPDATE failed : Guzzle/ServerException : " . $e->getMessage()); + } catch (TooManyRedirectsException $e) { + throw new BitPayException("UPDATE failed : Guzzle/TooManyRedirectsException : " . $e->getMessage()); + } catch (Exception $e) { + throw new BitPayException("UPDATE failed : " . $e->getMessage()); + } + } + + /** + * Convert Response object into json + * + * @param Response $response + * @return string + * @throws BitPayException + * @throws Exception + */ + public function responseToJsonString(Response $response): string + { + try { + $body = json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); + if ($this->proxy !== '' && !is_array($body)) { + throw new BitPayException( + "Please check your proxy settings, HTTP Code:" . + $response->getStatusCode() . + ", failed to decode json: " . + json_last_error_msg() + ); + } + + if ($this->isErrorStatus($body)) { + throw new BitpayException($body['message'], null, null, (string)$body['code']); + } + + $error_message = false; + $error_message = (!empty($body['error'])) ? $body['error'] : $error_message; + $error_message = (!empty($body['errors'])) ? $body['errors'] : $error_message; + + if (is_array($error_message)) { + if (count($error_message) == count($error_message, 1)) { + $error_message = implode("\n", $error_message); + } else { + $errors = array(); + foreach ($error_message as $error) { + $errors[] = $error['param'] . ": " . $error['error']; + } + $error_message = implode(',', $errors); + } + } + + if (false !== $error_message) { + throw new BitpayException($error_message); + } + + if (!empty($body['success'])) { + return json_encode($body); + } + + // TODO Temporary fix for legacy response + if (!array_key_exists('data', $body)) { + return json_encode($body); + } + + return json_encode($body['data']); + } catch (BitpayException $e) { + throw new BitPayException( + "failed to retrieve HTTP response body : " . + $e->getMessage(), + null, + null, + $e->getApiCode() + ); + } catch (Exception $e) { + throw new BitPayException("failed to retrieve HTTP response body : " . $e->getMessage()); + } + } + + /** + * @param array $body + * @return bool + */ + private function isErrorStatus(array $body): bool + { + return !empty($body['status']) && $body['status'] === 'error'; + } +} diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/.gitignore b/vendor/bitpay/sdk/test/functional/BitPaySDK/.gitignore new file mode 100644 index 0000000..9098bd7 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/.gitignore @@ -0,0 +1,3 @@ +BitPay.config2.yml +email.txt +PrivateKeyName.key \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/AbstractClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/AbstractClientTest.php new file mode 100644 index 0000000..430984d --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/AbstractClientTest.php @@ -0,0 +1,21 @@ +client = Client::createWithFile(Config::FUNCTIONAL_TEST_PATH . DIRECTORY_SEPARATOR . Config::BITPAY_CONFIG_FILE); + } +} diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/BillClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/BillClientTest.php new file mode 100644 index 0000000..4e71d23 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/BillClientTest.php @@ -0,0 +1,97 @@ +getBillExample(); + $bill->setEmail("john@doe.com"); + $bill = $this->client->createBill($bill); + + self::assertEquals('draft', $bill->getStatus()); + self::assertEquals(1, $bill->getItems()[0]->getQuantity()); + self::assertEquals(6.0, $bill->getItems()[0]->getPrice()); + self::assertEquals(4.0, $bill->getItems()[1]->getPrice()); + self::assertEquals(1, $bill->getItems()[1]->getQuantity()); + self::assertEquals("Test Item 1", $bill->getItems()[0]->getDescription()); + self::assertEquals("Test Item 2", $bill->getItems()[1]->getDescription()); + self::assertEquals("Test Item 2", $bill->getItems()[1]->getDescription()); + self::assertEquals("USD", $bill->getCurrency()); + } + + public function testGetBill(): void + { + $bill = $this->getBillExample(); + $bill->setEmail("john@doe.com"); + $bill = $this->client->createBill($bill); + $bill = $this->client->getBill($bill->getId()); + + self::assertEquals('draft', $bill->getStatus()); + self::assertEquals(2, count($bill->getItems())); + self::assertEquals('USD', $bill->getCurrency()); + self::assertEquals('bill1234-ABCD', $bill->getNumber()); + self::assertEquals('john@doe.com', $bill->getEmail()); + } + + public function testGetBills(): void + { + $bills = $this->client->getBills(); + + self::assertNotNull($bills); + self::assertIsArray($bills); + $isCount = count($bills) > 0; + self::assertTrue($isCount); + } + public function testUpdateBill(): void + { + $bill = $this->getBillExample(); + $bill->setEmail("john@doe.com"); + $bill = $this->client->createBill($bill); + $bill = $this->client->getBill($bill->getId()); + $bill->setEmail('test@gmail.com'); + $bill = $this->client->updateBill($bill, $bill->getId()); + + self::assertEquals('test@gmail.com', $bill->getEmail()); + } + + public function testDeliverBill(): void + { + + $bill = $this->getBillExample(); + $bill->setEmail("john@doe.com"); + $bill = $this->client->createBill($bill); + + $bill = $this->client->getBill($bill->getId()); + $result = $this->client->deliverBill($bill->getId(), $bill->getToken()); + + self::assertTrue($result); + } + + private function getBillExample(): Bill + { + $items = []; + $item = new Item(); + $item->setPrice(6.0); + $item->setQuantity(1); + $item->setDescription("Test Item 1"); + $items[] = $item; + + $item = new Item(); + $item->setPrice(4.0); + $item->setQuantity(1); + $item->setDescription("Test Item 2"); + $items[] = $item; + + return new Bill("bill1234-ABCD", Currency::USD, "", $items); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/Config.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/Config.php new file mode 100644 index 0000000..1d690f3 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/Config.php @@ -0,0 +1,12 @@ +getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + + self::assertEquals('new', $baseInvoice->getStatus()); + self::assertEquals('USD', $baseInvoice->getCurrency()); + self::assertEquals(50.0, $baseInvoice->getPrice()); + self::assertEquals('Test', $baseInvoice->getBuyer()->getName()); + self::assertEquals('168 General Grove', $baseInvoice->getBuyer()->getAddress1()); + self::assertEquals('Port Horizon', $baseInvoice->getBuyer()->getLocality()); + self::assertEquals('New Port', $baseInvoice->getBuyer()->getRegion()); + } + + public function testGetInvoice(): void + { + $invoice = $this->getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + $baseInvoice = $this->client->getInvoice($baseInvoice->getId()); + + self::assertEquals('new', $baseInvoice->getStatus()); + self::assertEquals(50.0, $baseInvoice->getPrice()); + self::assertEquals('Test', $baseInvoice->getBuyer()->getName()); + self::assertEquals('168 General Grove', $baseInvoice->getBuyer()->getAddress1()); + self::assertInstanceOf(Invoice::class, $baseInvoice); + self::assertNotNull($baseInvoice); + } + + public function testGetInvoiceByGuid(): void + { + $invoice = $this->getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + $baseInvoice = $this->client->getInvoiceByGuid($baseInvoice->getGuid()); + + self::assertEquals('new', $baseInvoice->getStatus()); + self::assertEquals(50.0, $baseInvoice->getPrice()); + self::assertEquals('Test', $baseInvoice->getBuyer()->getName()); + self::assertEquals('168 General Grove', $baseInvoice->getBuyer()->getAddress1()); + self::assertInstanceOf(Invoice::class, $baseInvoice); + self::assertNotNull($baseInvoice); + } + + public function testUpdateInvoice(): void + { + $invoice = $this->getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + $baseInvoice = $this->client->getInvoice($baseInvoice->getId()); + + $updateInvoice = $this->client->updateInvoice( + $baseInvoice->getId(), + '', + '', + 'test1@email.com' + ); + + self::assertEquals('test1@email.com', $updateInvoice->getBuyer()->getEmail()); + } + + public function testGetInvoices(): void + { + $dateStart = date('Y-m-d', strtotime("-30 day")); + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $invoices = $this->client->getInvoices($dateStart, $dateEnd, 'new', null, 1); + + self::assertCount(1, $invoices); + self::assertTrue(count($invoices) > 0); + self::assertNotNull($invoices); + } + + public function testCancel(): void + { + $invoice = $this->getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + $baseInvoice = $this->client->getInvoice($baseInvoice->getId()); + $cancelInvoice = $this->client->cancelInvoice($baseInvoice->getId()); + + self::assertEquals('expired', $cancelInvoice->getStatus()); + } + + public function testCancelInvoiceByGuid() + { + $invoice = $this->getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + $baseInvoice = $this->client->cancelInvoiceByGuid($baseInvoice->getGuid()); + + self::assertEquals('expired', $baseInvoice->getStatus()); + self::assertEquals(50.0, $baseInvoice->getPrice()); + self::assertInstanceOf(Invoice::class, $baseInvoice); + self::assertNotNull($baseInvoice); + } + + public function testPayInvoice(): void + { + $invoice = $this->getInvoiceExample(); + $invoice = $this->client->createInvoice($invoice); + $invoice = $this->client->payInvoice($invoice->getId()); + + self::assertEquals('confirmed', $invoice->getStatus()); + } + + private function getInvoiceExample(): Invoice + { + $invoice = new Invoice(50.0, "USD"); + $invoice->setFullNotifications(true); + $invoice->setExtendedNotifications(true); + $invoice->setNotificationURL("https://test/lJnJg9WW7MtG9GZlPVdj"); + $invoice->setRedirectURL("https://test/lJnJg9WW7MtG9GZlPVdj"); + $invoice->setItemDesc("Created by PHP functional test"); + $invoice->setNotificationEmail(""); + $invoice->setBuyerSms('+12223334445'); + + $buyer = new Buyer(); + $buyer->setName("Test"); + $buyer->setEmail("test@email.com"); + $buyer->setAddress1("168 General Grove"); + $buyer->setCountry("AD"); + $buyer->setLocality("Port Horizon"); + $buyer->setNotify(true); + $buyer->setPhone("+990123456789"); + $buyer->setPostalCode("KY7 1TH"); + $buyer->setRegion("New Port"); + + $invoice->setBuyer($buyer); + + return $invoice; + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/LedgerClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/LedgerClientTest.php new file mode 100644 index 0000000..4370255 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/LedgerClientTest.php @@ -0,0 +1,46 @@ +client->getLedgerEntries($currency, $startDate, $endDate); + if (!empty($ledgers)) { + self::assertEquals($currency, $ledgers[0]->getInvoiceCurrency()); + } + + self::assertCount(count($ledgers), $ledgers); + self::assertNotNull($ledgers); + self::assertIsArray($ledgers); + } + + public function testGetLedgers(): void + { + $ledgers = $this->client->getLedgers(); + + self::assertIsArray($ledgers); + self::assertCount(count($ledgers), $ledgers); + } + + public function testGetLedgerShouldCatchRestCliException(): void + { + $currency = 'USD'; + $startDate = '2020-05-12T13:00:45.063Z'; + $endDate = '2022-05-13T13:00:45.063Z'; + + $this->expectException(LedgerQueryException::class); + $this->client->getLedgerEntries($currency, $startDate, $endDate); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutClientTest.php new file mode 100644 index 0000000..9064259 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutClientTest.php @@ -0,0 +1,103 @@ +getFromFile(Config::FUNCTIONAL_TEST_PATH . DIRECTORY_SEPARATOR . 'email.txt'); + $submitPayout = $this->submitPayout($currency, $ledgerCurrency, $amount); + self::assertEquals($currency, $submitPayout->getCurrency()); + $payoutId = $submitPayout->getId(); + $payout = $this->client->getPayout($payoutId); + self::assertEquals(10, $payout->getAmount()); + self::assertEquals($email, $payout->getNotificationEmail()); + + $startDate = '2022-10-20T13:00:45.063Z'; + $endDate = '2023-01-01T13:00:45.063Z'; + + $payouts = $this->client->getPayouts($startDate, $endDate); + self::assertIsArray($payouts); + self::assertCount(count($payouts), $payouts); + + $requestPayoutNotification = $this->client->requestPayoutNotification($payoutId); + self::assertTrue($requestPayoutNotification); + + $cancelledPayout = $this->client->cancelPayout($payoutId); + self::assertTrue($cancelledPayout); + } + + /** + * @throws BitPayException + * @throws \BitPaySDK\Exceptions\PayoutCancellationException + * @throws \BitPaySDK\Exceptions\PayoutCreationException + */ + public function testPayoutGroupRequests(): void + { + $payout = new Payout(); + $payout->setAmount(10); + $payout->setCurrency(Currency::USD); + $payout->setLedgerCurrency(Currency::USD); + $payout->setReference('payout_20210527'); + $payout->setNotificationEmail('merchant@email.com'); + $payout->setNotificationURL('https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx'); + $payout->setEmail($this->getFromFile(Config::FUNCTIONAL_TEST_PATH . DIRECTORY_SEPARATOR . 'email.txt')); + + $createGroupResponse = $this->client->createPayoutGroup([$payout]); + self::assertCount(1, $createGroupResponse->getPayouts()); + self::assertEquals(PayoutStatus::NEW, $createGroupResponse->getPayouts()[0]->getStatus()); + + $groupId = $createGroupResponse->getPayouts()[0]->getGroupId(); + $cancelGroupResponse = $this->client->cancelPayoutGroup($groupId); + self::assertEquals(PayoutStatus::CANCELLED, $cancelGroupResponse->getPayouts()[0]->getStatus()); + } + + private function submitPayout(string $currency, string $ledgerCurrency, int $amount) + { + $email = $this->getFromFile(Config::FUNCTIONAL_TEST_PATH . DIRECTORY_SEPARATOR . 'email.txt'); + $payout = new Payout($amount, $currency, $ledgerCurrency); + + $recipientsList = [ + new PayoutRecipient( + $email, + "recipient1", + "https://yournotiticationURL.com/b3sarz5bg0wx01eq1bv9785amx") + ]; + + $recipients = new PayoutRecipients($recipientsList); + $payoutRecipients = $this->client->submitPayoutRecipients($recipients); + $payoutRecipientId = $payoutRecipients[0]->getId(); + + $payout->setRecipientId($payoutRecipientId); + $payout->setNotificationURL("https://somenotiticationURL.com"); + $payout->setNotificationEmail($email); + $payout->setReference("PHP functional tests " . uniqid('', true)); + $payout->setTransactions([]); + + return $this->client->submitPayout($payout); + } + + private function getFromFile(string $path): string + { + if (!file_exists($path)) { + throw new BitPayException("File not found"); + } + + return file_get_contents($path); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutRecipientsClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutRecipientsClientTest.php new file mode 100644 index 0000000..9733ea7 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/PayoutRecipientsClientTest.php @@ -0,0 +1,140 @@ +client->submitPayoutRecipients($recipients); + + self::assertCount(1, $payoutRecipients); + self::assertEquals('test@emaill1.com', $payoutRecipients[0]->getEmail()); + self::assertEquals('recipient1', $payoutRecipients[0]->getLabel()); + self::assertEquals( + 'invited', + $payoutRecipients[0]->getStatus() + ); + } + + public function testGetPayoutRecipient() + { + $recipientsList = [ + new PayoutRecipient( + "test@emaill1.com", + "recipient1", + "https://yournotiticationURL.com/b3sarz5bg0wx01eq1bv9785amx") + ]; + + $recipients = new PayoutRecipients($recipientsList); + $payoutRecipients = $this->client->submitPayoutRecipients($recipients); + + $recipientId = $payoutRecipients[0]->getId(); + $recipient = $this->client->getPayoutRecipient($recipientId); + + self::assertEquals($recipientId, $recipient->getId()); + self::assertEquals('test@emaill1.com', $recipient->getEmail()); + self::assertEquals('recipient1', $recipient->getLabel()); + self::assertEquals('invited', $recipient->getStatus()); + self::assertEquals(null, $recipient->getShopperId()); + } + + public function testPayoutRecipientShouldCatchRestCliException(): void + { + $recipientId = 'JA4cEtmBxCp5cybtnh1rds'; + + $this->expectException(PayoutRecipientQueryException::class); + $this->client->getPayoutRecipient($recipientId); + } + + public function testGetPayoutRecipients(): void + { + $recipients = $this->client->getPayoutRecipients('invited', 1); + + self::assertCount(1, $recipients); + self::assertEquals('invited', $recipients[0]->getStatus()); + self::assertNotNull($recipients); + } + + public function testUpdatePayoutRecipients(): void + { + $label = 'updateLabel'; + $recipientsList = [ + new PayoutRecipient( + "test@emaill1.com", + "recipient1", + "https://yournotiticationURL.com/b3sarz5bg0wx01eq1bv9785amx") + ]; + + $recipients = new PayoutRecipients($recipientsList); + $payoutRecipients = $this->client->submitPayoutRecipients($recipients); + $payoutRecipient = $payoutRecipients[0]; + $payoutRecipient->setLabel($label); + + $updateRecipient = $this->client->updatePayoutRecipient($payoutRecipient->getId(), $payoutRecipient); + + self::assertEquals($label, $updateRecipient->getLabel()); + self::assertEquals('test@emaill1.com', $updateRecipient->getEmail()); + self::assertEquals('invited', $updateRecipient->getStatus()); + self::assertEquals($payoutRecipient->getId(), $updateRecipient->getId()); + } + + public function testDeletePayoutRecipient(): void + { + $recipientsList = [ + new PayoutRecipient( + "test@emaill1.com", + "recipient1", + "https://yournotiticationURL.com/b3sarz5bg0wx01eq1bv9785amx") + ]; + + $recipients = new PayoutRecipients($recipientsList); + $payoutRecipients = $this->client->submitPayoutRecipients($recipients); + $payoutRecipientId = $payoutRecipients[0]->getId(); + + $result = $this->client->deletePayoutRecipient($payoutRecipientId); + + self::assertEquals(true, $result); + } + + public function testPayoutRecipientRequestNotification(): void + { + $recipientsList = [ + new PayoutRecipient( + "test@emaill1.com", + "recipient1", + "https://yournotiticationURL.com/b3sarz5bg0wx01eq1bv9785amx") + ]; + + $recipients = new PayoutRecipients($recipientsList); + $payoutRecipients = $this->client->submitPayoutRecipients($recipients); + $payoutRecipientId = $payoutRecipients[0]->getId(); + + $result = $this->client->requestPayoutRecipientNotification($payoutRecipientId); + + self::assertEquals(true, $result); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/RateClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/RateClientTest.php new file mode 100644 index 0000000..39d69e0 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/RateClientTest.php @@ -0,0 +1,41 @@ +client->getRates(); + $ratesData = $rates->getRates(); + + self::assertCount(count($ratesData), $ratesData); + self::assertNotNull($rates); + self::assertIsArray($ratesData); + } + + public function testGetCurrencyRates() + { + $rates = $this->client->getCurrencyRates('BTC'); + $ratesData = $rates->getRates(); + + self::assertCount(count($ratesData), $ratesData); + self::assertNotNull($rates); + self::assertIsArray($ratesData); + } + + public function testGetCurrencyPairRate(): void + { + $rate = $this->client->getCurrencyPairRate('BTC', 'USD'); + + self::assertInstanceOf(Rate::class, $rate); + self::assertEquals('USD', $rate->getCode()); + self::assertEquals('US Dollar', $rate->getName()); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/RefundClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/RefundClientTest.php new file mode 100644 index 0000000..090301c --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/RefundClientTest.php @@ -0,0 +1,114 @@ +getInvoiceExample(); + $baseInvoice = $this->client->createInvoice($invoice); + $baseInvoice = $this->client->payInvoice($baseInvoice->getId(), 'complete'); + $refund = $this->client->createRefund($baseInvoice->getId(), 50.0, Currency::USD); + + self::assertEquals(50.0, $refund->getAmount()); + self::assertEquals('USD', $refund->getCurrency()); + } + + public function testCreateRefundShouldCatchRestCliException(): void + { + $invoice = $this->getInvoiceExample(); + $invoice->setId('WoE46gSLkJQS48RJEiNw3L'); + $this->expectException(RefundCreationException::class); + + $this->client->createRefund($invoice->getId(), 50.0, Currency::USD, true); + } + + public function testGetRefunds(): void + { + $dateStart = date('Y-m-d', strtotime("-30 day")); + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $invoices = $this->client->getInvoices($dateStart, $dateEnd, 'complete', null, 1); + $refunds = $this->client->getRefunds($invoices[0]->getId()); + + self::assertCount(1, $refunds); + self::assertNotNull($refunds); + self::assertIsArray($refunds); + self::assertEquals('complete', $invoices[0]->getStatus()); + self::assertEquals('created', $refunds[0]->getStatus()); + } + + public function testGetRefund(): void + { + $dateStart = date('Y-m-d', strtotime("-30 day")); + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $invoices = $this->client->getInvoices($dateStart, $dateEnd, 'complete', null, 1); + $refunds = $this->client->getRefunds($invoices[0]->getId()); + $refund = $this->client->getRefund($refunds[0]->getId()); + + self::assertInstanceOf(Refund::class, $refund); + self::assertEquals('complete', $invoices[0]->getStatus()); + self::assertCount(1, $invoices); + self::assertEquals('created', $refund->getStatus()); + } + + public function testSendNotification(): void + { + $dateStart = date('Y-m-d', strtotime("-30 day")); + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $invoices = $this->client->getInvoices($dateStart, $dateEnd, 'complete', null, 1); + $refunds = $this->client->getRefunds($invoices[0]->getId()); + + self::assertTrue($this->client->sendRefundNotification($refunds[0]->getId())); + } + + public function testCancelRefund(): void + { + $dateStart = date('Y-m-d', strtotime("-30 day")); + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $invoices = $this->client->getInvoices($dateStart, $dateEnd, 'complete', null, 1); + $refunds = $this->client->getRefunds($invoices[0]->getId()); + $refundId = $refunds[0]->getId(); + $refund = $this->client->cancelRefund($refundId); + + self::assertInstanceOf(Refund::class, $refund); + self::assertNotNull($refund); + self::assertEquals('canceled', $refund->getStatus()); + } + + private function getInvoiceExample(): Invoice + { + $invoice = new Invoice(50.0, "USD"); + $invoice->setFullNotifications(true); + $invoice->setExtendedNotifications(true); + $invoice->setNotificationURL("https://test/lJnJg9WW7MtG9GZlPVdj"); + $invoice->setRedirectURL("https://test/lJnJg9WW7MtG9GZlPVdj"); + $invoice->setItemDesc("Created by PHP functional test"); + $invoice->setNotificationEmail(""); + + $buyer = new Buyer(); + $buyer->setName("Test"); + $buyer->setEmail("test@email.com"); + $buyer->setAddress1("168 General Grove"); + $buyer->setCountry("AD"); + $buyer->setLocality("Port Horizon"); + $buyer->setNotify(true); + $buyer->setPhone("+990123456789"); + $buyer->setPostalCode("KY7 1TH"); + $buyer->setRegion("New Port"); + + $invoice->setBuyer($buyer); + + return $invoice; + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/SettlementsClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/SettlementsClientTest.php new file mode 100644 index 0000000..c2ba64d --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/SettlementsClientTest.php @@ -0,0 +1,59 @@ +client->getSettlements($currency, $dateStart, $dateEnd, $status); + + self::assertNotNull($settlements); + self::assertIsArray($settlements); + } + + public function testGetSettlement(): void + { + $dateStart = date('Y-m-d', strtotime("-365 day")); + $status = 'processing'; + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $currency = 'USD'; + + $settlements = $this->client->getSettlements($currency, $dateStart, $dateEnd, $status); + + $settlement = $this->client->getSettlement($settlements[0]->getId()); + + self::assertNotNull($settlement); + self::assertInstanceOf(Settlement::class, $settlement); + self::assertEquals($currency, $settlement->getCurrency()); + self::assertEquals($status, $settlement->getStatus()); + } + + public function testGetReconciliationReport(): void + { + $status = 'processing'; + $dateStart = date('Y-m-d', strtotime("-365 day")); + $dateEnd = date("Y-m-d", strtotime("+1 day")); + $currency = 'USD'; + + $settlements = $this->client->getSettlements($currency, $dateStart, $dateEnd, $status); + $settlement = $this->client->getSettlement($settlements[0]->getId()); + $settlement = $this->client->getSettlementReconciliationReport($settlement); + + self::assertEquals('processing', $settlement->getStatus()); + self::assertNotNull($settlement); + self::assertEquals('USD', $settlement->getCurrency()); + self::assertEquals($status, $settlement->getStatus()); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/TokenClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/TokenClientTest.php new file mode 100644 index 0000000..5106a39 --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/TokenClientTest.php @@ -0,0 +1,19 @@ +client->getTokens(); + + self::assertNotEmpty($tokens); + } +} diff --git a/vendor/bitpay/sdk/test/functional/BitPaySDK/WalletClientTest.php b/vendor/bitpay/sdk/test/functional/BitPaySDK/WalletClientTest.php new file mode 100644 index 0000000..a938e1b --- /dev/null +++ b/vendor/bitpay/sdk/test/functional/BitPaySDK/WalletClientTest.php @@ -0,0 +1,18 @@ +client->getSupportedWallets(); + + self::assertNotNull($supportedWallets); + self::assertIsArray($supportedWallets); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.json new file mode 100644 index 0000000..d11f73b --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.json @@ -0,0 +1,25 @@ +{ + "BitPayConfiguration": { + "Environment": "Test", + "EnvConfig": { + "Test": { + "PrivateKeyPath": "test/unit/BitPaySDK/PrivateKeyNameUnit.key", + "PrivateKeySecret": "changedPassword", + "ApiTokens": { + "merchant": "testMerchantApiToken", + "payout": "testPayoutApiToken" + }, + "proxy": null + }, + "Prod": { + "PrivateKeyPath": null, + "PrivateKeySecret": null, + "ApiTokens": { + "merchant": null, + "payout": null + }, + "proxy": null + } + } + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.yml b/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.yml new file mode 100644 index 0000000..e377eb6 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.yml @@ -0,0 +1,17 @@ +BitPayConfiguration: + Environment: Test + EnvConfig: + Test: + PrivateKeyPath: test/unit/BitPaySDK/PrivateKeyNameUnit.key + PrivateKeySecret: changedPassword + ApiTokens: + merchant: HpNyt429yg8mVtWwRJJs7A3CgK6qYesMoPfXUJxWhkh7 + payout: 42dpWSzkv3EiJHcUUaLJ98JkhEJjrpCYzxuobCHo5DCZ + proxy: null + Prod: + PrivateKeyPath: null + PrivateKeySecret: null + ApiTokens: + merchant: null + payout: null + proxy: null diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/ClientTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/ClientTest.php new file mode 100644 index 0000000..ed5d71a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/ClientTest.php @@ -0,0 +1,3574 @@ +refreshResourceClients(); + } + + /** + * @throws BitPayException + */ + public function testWithData() + { + $tokens = $this->createMock(Tokens::class); + $result = $this->getTestedClassInstance()::createWithData( + Env::TEST, + __DIR__ . '/bitpay_private_test.key', + $tokens, + 'YourMasterPassword' + ); + + self::assertInstanceOf(Client::class, $result); + } + + public function testWithDataException() + { + $instance = $this->getTestedClassInstance(); + $tokens = $this->createMock(Tokens::class); + $this->expectException(BitPayException::class); + + $instance::createWithData( + Env::TEST, + __DIR__ . '/bitpay_private_test.key', + $tokens, + 'badPassword' + ); + } + + /** + * @throws BitPayException + */ + public function testWithFileJsonConfig(): Client + { + $instance = $this->getTestedClassInstance(); + $result = $instance::createWithFile(__DIR__ . '/BitPay.config-unit.json'); + self::assertInstanceOf(Client::class, $result); + return $result; + } + + /** + * @throws BitPayException + */ + public function testWithFileYmlConfig() + { + $instance = $this->getTestedClassInstance(); + $result = $instance::createWithFile(__DIR__ . '/BitPay.config-unit.yml'); + self::assertInstanceOf(Client::class, $result); + } + + public function testWithFileException() + { + $instance = $this->getTestedClassInstance(); + $this->expectException(BitPayException::class); + $instance::createWithFile('badpath'); + } + + public function testGetTokens(): void + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("tokens") + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/getTokensResponse.json')); + + $tokenClient = $this->getClient($restCliMock); + $tokens = $tokenClient->getTokens(); + + self::assertEquals('someMerchantToken', $tokens[0]['merchant']); + } + + public function testCreateBill() + { + $expectedId = 'X6KJbe9RxAGWNReCwd1xRw'; + $expectedStatus = 'draft'; + $expectedToken = 'qVVgRARN6fKtNZ7Tcq6qpoPBBE3NxdrmdMD883RyMK4Pf8EHENKVxCXhRwyynWveo'; + + $billMock = $this->createMock(Bill::class); + $billToArray = [ + 'id' => $expectedId, + 'status' => $expectedStatus, + 'token' => $expectedToken, + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills", $billMock->toArray(), true) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/createBillResponse.json')); + + $billClient = $this->getClient($restCliMock); + $createdBill = $billClient->createBill($billMock, Facade::MERCHANT); + + self::assertEquals($expectedId, $createdBill->getId()); + self::assertEquals($expectedStatus, $createdBill->getStatus()); + self::assertEquals($expectedToken, $createdBill->getToken()); + } + + public function testCreateBillException() + { + $billMock = $this->createMock(Bill::class); + $restCliMock = $this->getRestCliMock(); + $billToArray = [ + 'id' => 'testId', + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills", $billMock->toArray(), true) + ->willThrowException(new BitPayException()); + $billClient = $this->getClient($restCliMock); + + $this->expectException(BillCreationException::class); + + $billClient->createBill($billMock, Facade::MERCHANT); + } + + public function testCreateBillShouldCatchRestCliException() + { + $billMock = $this->createMock(Bill::class); + $billToArray = [ + 'id' => 'testId', + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills", $billMock->toArray(), true) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillCreationException::class); + $client->createBill($billMock, Facade::MERCHANT, true); + } + + public function testCreateBillShouldCatchJsonMapperException() + { + $billMock = $this->createMock(Bill::class); + $exampleBillId = 'testId'; + $exampleBadResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + $billToArray = [ + 'id' => $exampleBillId, + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills", $billMock->toArray(), true) + ->willReturn($exampleBadResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillCreationException::class); + $client->createBill($billMock, Facade::MERCHANT, true); + } + + public function testGetBill() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/getBill.json')); + + $client = $this->getClient($restCliMock); + + $result = $client->getBill($exampleBillId); + + self::assertEquals( + '6EBQR37MgDJPfEiLY3jtRq7eTP2aodR5V5wmXyyZhru5FM5yF4RCGKYQtnT7nhwHjA', + $result->getToken() + ); + self::assertInstanceOf(Bill::class, $result); + } + + public function testGetBillShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willThrowException(new BillQueryException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillQueryException::class); + $client->getBill($exampleBillId); + } + + public function testGetBillShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(Exception::class); + $client->getBill($exampleBillId); + } + + public function testGetBillShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleBadResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willReturn($exampleBadResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillQueryException::class); + $client->getBill($exampleBillId); + } + + public function testGetBills() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getBills.json'); + $status = 'draft'; + $params['status'] = $status; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills", $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getBills($status); + self::assertIsArray($result); + self::assertEquals( + '6EBQR37MgDJPfEiLY3jtRqBMYLg8XSDqhp2kp7VSDqCMHGHnsw4bqnnwQmtehzCvSo', + $result[0]->getToken() + ); + self::assertEquals( + '6EBQR37MgDJPfEiLY3jtRq7eTP2aodR5V5wmXyyZhru5FM5yF4RCGKYQtnT7nhwHjA', + $result[1]->getToken() + ); + self::assertInstanceOf(Bill::class, $result[0]); + self::assertInstanceOf(Bill::class, $result[1]); + } + + public function testGetBillsShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + $status = 'draft'; + $params['status'] = $status; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills", $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillQueryException::class); + $client->getBills($status); + } + + public function testGetBillsShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $status = 'draft'; + $params['status'] = $status; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills", $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillQueryException::class); + $client->getBills($status); + } + + /** + * @throws BitPayException + * @depends testWithFileJsonConfig + */ + public function testGetBillsShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $status = 'draft'; + $params['status'] = $status; + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills", $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillQueryException::class); + $client->getBills($status); + } + + public function testUpdateBill() + { + $billMock = $this->createMock(Bill::class); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getBill.json'); + + $params['token'] = self::MERCHANT_TOKEN; + + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $billMock->method('getId')->willReturn($exampleBillId); + $billToArray = [ + 'id' => $exampleBillId, + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("bills/" . $exampleBillId, $billMock->toArray()) + ->willReturn($exampleResponse); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->updateBill($billMock, $exampleBillId); + self::assertInstanceOf(Bill::class, $result); + } + + public function testUpdateBillShouldCatchRestCliBitPayException() + { + $billMock = $this->createMock(Bill::class); + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getBill.json', true); + $billMock->method('getId')->willReturn($exampleBillId); + $billToArray = [ + 'id' => $exampleBillId, + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("bills/" . $exampleBillId, $billMock->toArray()) + ->willThrowException(new BitPayException()); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillUpdateException::class); + $client->updateBill($billMock, $exampleBillId); + } + + public function testUpdateBillShouldCatchRestCliException() + { + $billMock = $this->createMock(Bill::class); + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getBill.json'); + $billMock->method('getId')->willReturn($exampleBillId); + $billToArray = [ + 'id' => $exampleBillId, + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("bills/" . $exampleBillId, $billMock->toArray()) + ->willThrowException(new Exception()); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillUpdateException::class); + $client->updateBill($billMock, $exampleBillId); + } + + public function testUpdateBillShouldCatchJsonMapperException() + { + $billMock = $this->createMock(Bill::class); + $params['token'] = self::MERCHANT_TOKEN; + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getBill.json'); + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $billMock->method('getId')->willReturn($exampleBillId); + $billToArray = [ + 'id' => $exampleBillId, + 'status' => 'status', + 'token' => 'token', + ]; + $billMock->method('toArray')->willReturn($billToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("bills/" . $exampleBillId, $billMock->toArray()) + ->willReturn($badResponse); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("bills/" . $exampleBillId, $params, true) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillUpdateException::class); + $client->updateBill($billMock, $exampleBillId); + } + + /** + * @throws BitPayException + */ + public function testDeliverBill() + { + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleBillToken = self::MERCHANT_TOKEN; + $exampleResponse = 'Success'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills/" . $exampleBillId . '/deliveries', ['token' => $exampleBillToken]) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->deliverBill($exampleBillId, $exampleBillToken); + self::assertTrue($result); + } + + public function testDeliverBillShouldCatchRestCliBitPayException() + { + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleBillToken = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills/" . $exampleBillId . '/deliveries', ['token' => $exampleBillToken]) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillDeliveryException::class); + $client->deliverBill($exampleBillId, $exampleBillToken); + } + + public function testDeliverBillShouldCatchRestCliException() + { + $exampleBillId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleBillToken = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("bills/" . $exampleBillId . '/deliveries', ['token' => $exampleBillToken]) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(BillDeliveryException::class); + $client->deliverBill($exampleBillId, $exampleBillToken); + } + + public function testGetLedger() + { + $exampleCurrency = Currency::BTC; + $exampleStartDate = '2021-5-10'; + $exampleEndDate = '2021-5-31'; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getLedgerBalances.json'); + + $params['token'] = 'kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb'; + $params["currency"] = $exampleCurrency; + $params["startDate"] = $exampleStartDate; + $params["endDate"] = $exampleEndDate; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("ledgers/" . $exampleCurrency, $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + $result = $client->getLedgerEntries($exampleCurrency, $exampleStartDate, $exampleEndDate); + + self::assertIsArray($result); + self::assertEquals('EUR', $result[0]->getCurrency()); + self::assertEquals('USD', $result[1]->getCurrency()); + self::assertEquals('BTC', $result[2]->getCurrency()); + self::assertInstanceOf(LedgerEntry::class, $result[0]); + } + + public function testGetLedgerShouldCatchRestCliException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->willThrowException(new \Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(LedgerQueryException::class); + $exampleCurrency = Currency::BTC; + $exampleStartDate = '2021-5-10'; + $exampleEndDate = '2021-5-31'; + $client->getLedgerEntries($exampleCurrency, $exampleStartDate, $exampleEndDate); + } + + public function testGetLedgerShouldCatchRestCliBitPayException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get')->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(LedgerQueryException::class); + $exampleCurrency = Currency::BTC; + $exampleStartDate = '2021-5-10'; + $exampleEndDate = '2021-5-31'; + $client->getLedgerEntries($exampleCurrency, $exampleStartDate, $exampleEndDate); + } + + public function testGetLedgerShouldCatchJsonMapperException() + { + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(LedgerQueryException::class); + $exampleCurrency = Currency::BTC; + $exampleStartDate = '2021-5-10'; + $exampleEndDate = '2021-5-31'; + $client->getLedgerEntries($exampleCurrency, $exampleStartDate, $exampleEndDate); + } + + public function testGetLedgers() + { + $restCliMock = $this->getRestCliMock(); + $params['token'] = 'kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getLedgers.json'); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("ledgers", $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getLedgers(); + + + self::assertIsArray($result); + self::assertInstanceOf(Ledger::class, $result[0]); + } + + public function testGetLedgersShouldCatchBitPayException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get')->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(LedgerQueryException::class); + $client->getLedgers(); + } + + public function testGetLedgersShouldCatchRestCliException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get')->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(LedgerQueryException::class); + $client->getLedgers(); + } + + public function testGetLedgersShouldCatchJsonMapperException() + { + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get')->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(LedgerQueryException::class); + $client->getLedgers(); + } + + public function testSubmitPayoutRecipients() + { + $payoutRecipientsMock = $this->createMock(PayoutRecipients::class); + $exampleRecipientId = 'X6KJbe9RxAGWNReCwd1xRw'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/submitPayoutRecipientsResponse.json'); + + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientsMock->method('toArray')->willReturn($payoutRecipientToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients", $payoutRecipientsMock->toArray()) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->submitPayoutRecipients($payoutRecipientsMock); + self::assertIsArray($result); + } + + public function testSubmitPayoutRecipientsShouldCatchRestCliBitPayException() + { + $payoutRecipientsMock = $this->createMock(PayoutRecipients::class); + $exampleRecipientId = 'X6KJbe9RxAGWNReCwd1xRw'; + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientsMock->method('toArray')->willReturn($payoutRecipientToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients", $payoutRecipientsMock->toArray()) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientCreationException::class); + $client->submitPayoutRecipients($payoutRecipientsMock); + } + + public function testSubmitPayoutRecipientsShouldCatchRestCliException() + { + $payoutRecipientsMock = $this->createMock(PayoutRecipients::class); + $exampleRecipientId = 'X6KJbe9RxAGWNReCwd1xRw'; + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientsMock->method('toArray')->willReturn($payoutRecipientToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients", $payoutRecipientsMock->toArray()) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(Exception::class); + $client->submitPayoutRecipients($payoutRecipientsMock); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testSubmitPayoutRecipientsShouldCatchJsonMapperException() + { + $payoutRecipientsMock = $this->createMock(PayoutRecipients::class); + $exampleRecipientId = 'X6KJbe9RxAGWNReCwd1xRw'; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientsMock->method('toArray')->willReturn($payoutRecipientToArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients", $payoutRecipientsMock->toArray()) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientCreationException::class); + $client->submitPayoutRecipients($payoutRecipientsMock); + } + + public function testGetPayoutRecipient() + { + $params['token'] = self::MERCHANT_TOKEN; + $recipientId = 'test'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayoutRecipient.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients/" . $recipientId, $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getPayoutRecipient($recipientId); + self::assertInstanceOf(PayoutRecipient::class, $result); + } + + public function testGetPayoutRecipientShouldHandleRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $recipientId = 'test'; + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients/" . $recipientId, $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientQueryException::class); + $client->getPayoutRecipient($recipientId); + } + + public function testGetPayoutRecipientShouldHandleRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $recipientId = 'test'; + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients/" . $recipientId, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientQueryException::class); + $client->getPayoutRecipient($recipientId); + } + + public function testGetPayoutRecipientShouldHandleJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + $recipientId = 'test'; + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients/" . $recipientId, $params) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutQueryException::class); + $client->getPayoutRecipient($recipientId); + } + + public function testGetPayoutRecipients() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayoutRecipients.json'); + + $status = 'status'; + $limit = 2; + $offset = 1; + + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients", $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getPayoutRecipients($status, $limit, $offset); + self::assertIsArray($result); + self::assertInstanceOf(PayoutRecipient::class, $result[0]); + } + + public function testGetPayoutRecipientsShouldHandleRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + + $status = 'status'; + $limit = 1; + $offset = 1; + + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients", $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientQueryException::class); + $client->getPayoutRecipients($status, $limit, $offset); + } + + public function testGetPayoutRecipientsShouldHandleRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + + $status = 'status'; + $limit = 1; + $offset = 1; + + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients", $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientQueryException::class); + $client->getPayoutRecipients($status, $limit, $offset); + } + + public function testGetPayoutRecipientsShouldHandleJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $status = 'status'; + $limit = 1; + $offset = 1; + + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("recipients", $params) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientQueryException::class); + $client->getPayoutRecipients($status, $limit, $offset); + } + + /** + * @throws PayoutRecipientUpdateException + */ + public function testUpdatePayoutRecipient() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayoutRecipient.json'); + $payoutRecipientMock = $this->createMock(PayoutRecipient::class); + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientMock->method('toArray')->willReturn($payoutRecipientToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("recipients/" . $exampleRecipientId, $payoutRecipientMock->toArray()) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->updatePayoutRecipient($exampleRecipientId, $payoutRecipientMock); + self::assertInstanceOf(PayoutRecipient::class, $result); + } + + public function testUpdatePayoutRecipientShouldCatchRestCliBitPayException() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $payoutRecipientMock = $this->createMock(PayoutRecipient::class); + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientMock->method('toArray')->willReturn($payoutRecipientToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("recipients/" . $exampleRecipientId, $payoutRecipientMock->toArray()) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientUpdateException::class); + $client->updatePayoutRecipient($exampleRecipientId, $payoutRecipientMock); + } + + public function testUpdatePayoutRecipientShouldCatchRestCliException() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $payoutRecipientMock = $this->createMock(PayoutRecipient::class); + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientMock->method('toArray')->willReturn($payoutRecipientToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("recipients/" . $exampleRecipientId, $payoutRecipientMock->toArray()) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientUpdateException::class); + $client->updatePayoutRecipient($exampleRecipientId, $payoutRecipientMock); + } + + public function testUpdatePayoutRecipientShouldCatchJsonMapperException() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $payoutRecipientMock = $this->createMock(PayoutRecipient::class); + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $payoutRecipientToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'id' => $exampleRecipientId + ]; + $payoutRecipientMock->method('toArray')->willReturn($payoutRecipientToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("recipients/" . $exampleRecipientId, $payoutRecipientMock->toArray()) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientUpdateException::class); + $client->updatePayoutRecipient($exampleRecipientId, $payoutRecipientMock); + } + + public function testDeletePayoutRecipient() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $params['token'] = self::MERCHANT_TOKEN; + $successResponse = file_get_contents(__DIR__ . '/jsonResponse/success.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("recipients/" . $exampleRecipientId, $params) + ->willReturn($successResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->deletePayoutRecipient($exampleRecipientId); + self::assertIsBool($result); + self::assertTrue($result); + } + + public function testDeletePayoutRecipientShouldCatchRestCliBitPayException() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("recipients/" . $exampleRecipientId, $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientCancellationException::class); + $client->deletePayoutRecipient($exampleRecipientId); + } + + public function testDeletePayoutRecipientShouldCatchRestCliException() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("recipients/" . $exampleRecipientId, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientCancellationException::class); + $client->deletePayoutRecipient($exampleRecipientId); + } + + public function testDeletePayoutRecipientShouldCatchJsonDecodeException() + { + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $params['token'] = self::MERCHANT_TOKEN; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/false.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("recipients/" . $exampleRecipientId, $params) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + self::assertFalse($client->deletePayoutRecipient($exampleRecipientId)); + } + + public function testRequestPayoutRecipientNotification() + { + $content['token'] = self::MERCHANT_TOKEN; + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $successResponse = file_get_contents(__DIR__ . '/jsonResponse/success.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients/" . $exampleRecipientId . '/notifications', $content) + ->willReturn($successResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->requestPayoutRecipientNotification($exampleRecipientId); + self::assertIsBool($result); + self::assertTrue($result); + } + + public function testRequestPayoutRecipientNotificationShouldCatchRestCliBitPayException() + { + $content['token'] = self::MERCHANT_TOKEN; + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients/" . $exampleRecipientId . '/notifications', $content) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientNotificationException::class); + $client->requestPayoutRecipientNotification($exampleRecipientId); + } + + public function testRequestPayoutRecipientNotificationShouldCatchRestCliException() + { + $content['token'] = self::MERCHANT_TOKEN; + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients/" . $exampleRecipientId . '/notifications', $content) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(PayoutRecipientNotificationException::class); + $client->requestPayoutRecipientNotification($exampleRecipientId); + } + + public function testRequestPayoutRecipientNotificationShouldCatchJsonDecodeException() + { + $content['token'] = self::MERCHANT_TOKEN; + $exampleRecipientId = 'X3icwc4tE8KJ5hEPNPpDXW'; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/false.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("recipients/" . $exampleRecipientId . '/notifications', $content) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + self::assertFalse($client->requestPayoutRecipientNotification($exampleRecipientId)); + } + + public function testGetRates() + { + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getRates.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates', null, false) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getRates(); + self::assertEquals('41248.11', $result->getRate('USD')); + self::assertIsArray($result->getRates()); + self::assertInstanceOf(Rates::class, $result); + } + + public function testGetRatesShouldHandleRestCliBitPayException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates', null, false) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getRates(); + } + + public function testGetRatesShouldHandleRestCliException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates', null, false) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getRates(); + } + + public function testGetRatesShouldHandleCorruptJson() + { + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates', null, false) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getRates(); + } + + public function testGetCurrencyRates() + { + $exampleCurrency = Currency::BTC; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getCurrencyRates.json'); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates/' . $exampleCurrency, null, false) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getCurrencyRates(Currency::BTC); + self::assertEquals('41248.11', $result->getRate(Currency::USD)); + self::assertIsArray($result->getRates()); + self::assertInstanceOf(Rates::class, $result); + } + + public function testGetCurrencyRatesShouldHandleRestCliBitPayException() + { + $exampleCurrency = Currency::USD; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates/' . $exampleCurrency, null, false) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getCurrencyRates(Currency::USD); + } + + public function testGetCurrencyRatesShouldHandleRestCliException() + { + $exampleCurrency = Currency::USD; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates/' . $exampleCurrency, null, false) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getCurrencyRates(Currency::USD); + } + + public function testGetCurrencyRatesShouldFailWhenDataInvalid() + { + $exampleCurrency = Currency::USD; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates/' . $exampleCurrency, null, false) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getCurrencyRates(Currency::USD); + } + + public function testGetCurrencyPairRate() + { + $baseCurrency = Currency::USD; + $currency = Currency::USD; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getCurrencyPairRate.json'); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with('rates/' . $baseCurrency . '/' . $currency, null, false) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getCurrencyPairRate($baseCurrency, $currency); + self::assertEquals('41154.05', $result->getRate()); + self::assertEquals('US Dollar', $result->getName()); + self::assertEquals('USD', $result->getCode()); + self::assertInstanceOf(Rate::class, $result); + } + + public function testGetCurrencyPairRateShouldCatchRestCliBitPayException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getCurrencyPairRate(Currency::BTC, Currency::USD); + } + + public function testGetCurrencyPairRateShouldThrowExceptionWhenResponseIsException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getCurrencyPairRate(Currency::BTC, Currency::USD); + } + + public function testGetCurrencyPairRateShouldReturnExceptionWhenNoDataInJson() + { + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + $restCliMock = $this->getRestCliMock(); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(RateQueryException::class); + $client->getCurrencyPairRate(Currency::BTC, Currency::USD); + } + + public function testGetSettlements() + { + $currency = Currency::USD; + $dateStart = 'dateStart'; + $dateEnd = 'dateEnd'; + $status = 'status'; + $limit = 1; + $offset = 1; + $restCliMock = $this->getRestCliMock(); + $params['token'] = self::MERCHANT_TOKEN; + $params['dateStart'] = $dateStart; + $params['dateEnd'] = $dateEnd; + $params['currency'] = $currency; + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getSettlementsResponse.json'); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements", $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getSettlements($currency, $dateStart, $dateEnd, $status, $limit, $offset); + self::assertIsArray($result); + self::assertEquals('KBkdURgmE3Lsy9VTnavZHX', $result[0]->getId()); + self::assertEquals('processing', $result[0]->getStatus()); + self::assertEquals('RPWTabW8urd3xWv2To989v', $result[1]->getId()); + self::assertEquals('processing', $result[1]->getStatus()); + self::assertInstanceOf(Settlement::class, $result[0]); + } + + public function testGetSettlementsShouldCatchRestCliBitPayException() + { + $currency = Currency::USD; + $dateStart = 'dateStart'; + $dateEnd = 'dateEnd'; + $status = 'status'; + $limit = 1; + $offset = 1; + $restCliMock = $this->getRestCliMock(); + $params['token'] = self::MERCHANT_TOKEN; + $params['dateStart'] = $dateStart; + $params['dateEnd'] = $dateEnd; + $params['currency'] = $currency; + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements", $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlements($currency, $dateStart, $dateEnd, $status, $limit, $offset); + } + + public function testGetSettlementsShouldCatchRestCliException() + { + $currency = Currency::USD; + $dateStart = 'dateStart'; + $dateEnd = 'dateEnd'; + $status = 'status'; + $limit = 1; + $offset = 1; + $restCliMock = $this->getRestCliMock(); + $params['token'] = self::MERCHANT_TOKEN; + $params['dateStart'] = $dateStart; + $params['dateEnd'] = $dateEnd; + $params['currency'] = $currency; + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements", $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlements($currency, $dateStart, $dateEnd, $status, $limit, $offset); + } + + public function testGetSettlementsShouldCatchJsonMapperException() + { + $currency = Currency::USD; + $dateStart = 'dateStart'; + $dateEnd = 'dateEnd'; + $status = 'status'; + $limit = 1; + $offset = 1; + $restCliMock = $this->getRestCliMock(); + $params['token'] = self::MERCHANT_TOKEN; + $params['dateStart'] = $dateStart; + $params['dateEnd'] = $dateEnd; + $params['currency'] = $currency; + $params['status'] = $status; + $params['limit'] = $limit; + $params['offset'] = $offset; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements", $params) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlements($currency, $dateStart, $dateEnd, $status, $limit, $offset); + } + + public function testGetSettlement() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $settlementId = 'RPWTabW8urd3xWv2To989v'; + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getSettlementResponse.json'); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $settlementId, $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getSettlement($settlementId); + self::assertEquals('RPWTabW8urd3xWv2To989v', $result->getId()); + self::assertEquals('EUR', $result->getCurrency()); + self::assertEquals( + '2GrR6GDeYxUFYM9sDKViy6nFFTy4Rjvm1SYdLBjK46jkeJdgUTRccRfhtwkhNcuZky', + $result->getToken() + ); + self::assertEquals('processing', $result->getStatus()); + self::assertInstanceOf(Settlement::class, $result); + } + + public function testGetSettlementShouldHandleRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $settlementId = 'RPWTabW8urd3xWv2To989v'; + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $settlementId, $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlement($settlementId); + } + + public function testGetSettlementShouldHandleRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $settlementId = 'RPWTabW8urd3xWv2To989v'; + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $settlementId, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlement($settlementId); + } + + public function testGetSettlementShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $settlementId = 'RPWTabW8urd3xWv2To989v'; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $settlementId, $params) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlement($settlementId); + } + + public function testGetSettlementReconciliationReport() + { + $settlement = $this->createMock(Settlement::class); + $exampleToken = self::MERCHANT_TOKEN; + $exampleId = 'RPWTabW8urd3xWv2To989v'; + $settlement->method('getToken')->willReturn($exampleToken); + $settlement->method('getId')->willReturn($exampleId); + $params['token'] = $exampleToken; + $exampleResponse = file_get_contents( + __DIR__ . '/jsonResponse/getSettlementReconciliationReportResponse.json' + ); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $exampleId . '/reconciliationReport', $params) + ->willReturn($exampleResponse); + + $client = $this->getClient($restCliMock); + + $result = $client->getSettlementReconciliationReport($settlement); + + self::assertEquals('RvNuCTMAkURKimwgvSVEMP', $result->getId()); + self::assertEquals('processing', $result->getStatus()); + self::assertEquals('USD', $result->getCurrency()); + self::assertInstanceOf(Settlement::class, $result); + } + + public function testGetSettlementReconciliationReportShouldCatchRestCliBitPayException() + { + $settlement = $this->createMock(Settlement::class); + $exampleToken = self::MERCHANT_TOKEN; + $exampleId = 'RPWTabW8urd3xWv2To989v'; + $settlement->method('getToken')->willReturn($exampleToken); + $settlement->method('getId')->willReturn($exampleId); + $params['token'] = $exampleToken; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $exampleId . '/reconciliationReport', $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlementReconciliationReport($settlement); + } + + public function testGetSettlementReconciliationReportShouldCatchRestCliException() + { + $settlement = $this->createMock(Settlement::class); + $exampleToken = self::MERCHANT_TOKEN; + $exampleId = 'RPWTabW8urd3xWv2To989v'; + $settlement->method('getToken')->willReturn($exampleToken); + $settlement->method('getId')->willReturn($exampleId); + $params['token'] = $exampleToken; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $exampleId . '/reconciliationReport', $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlementReconciliationReport($settlement); + } + + public function testGetSettlementReconciliationReportShouldCatchJsonMapperException() + { + $settlement = $this->createMock(Settlement::class); + $exampleToken = self::MERCHANT_TOKEN; + $exampleId = 'RPWTabW8urd3xWv2To989v'; + $settlement->method('getToken')->willReturn($exampleToken); + $settlement->method('getId')->willReturn($exampleId); + $params['token'] = $exampleToken; + $badResponse = file_get_contents(__DIR__ . '/jsonResponse/badResponse.json'); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("settlements/" . $exampleId . '/reconciliationReport', $params) + ->willReturn($badResponse); + + $client = $this->getClient($restCliMock); + + $this->expectException(SettlementQueryException::class); + $client->getSettlementReconciliationReport($settlement); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetPayout() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayout.json'); + $exampleResponseArray = json_decode($exampleResponse, true); + $payoutId = $exampleResponseArray['id']; + $restCliMock->expects(self::once())->method('get') + ->with("payouts/" . $payoutId, $params) + ->willReturn($exampleResponse); + $client = $this->getClient($restCliMock); + $result = $client->getPayout($payoutId); + self::assertEquals(self::MERCHANT_TOKEN, $result->getToken()); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetPayoutShouldHandleRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayout.json'); + $exampleResponseArray = json_decode($exampleResponse, true); + $payoutId = $exampleResponseArray['id']; + $restCliMock->expects(self::once())->method('get') + ->with("payouts/" . $payoutId, $params) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutQueryException::class); + + $client->getPayout($payoutId); + } + + public function testGetPayoutShouldHandleJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayout.json'); + $exampleResponseArray = json_decode($exampleResponse, true); + $payoutId = $exampleResponseArray['id']; + $restCliMock->expects(self::once())->method('get') + ->with("payouts/" . $payoutId, $params) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutQueryException::class); + + $client->getPayout($payoutId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetPayoutShouldHandleRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayout.json'); + $exampleResponseArray = json_decode($exampleResponse, true); + $payoutId = $exampleResponseArray['id']; + $restCliMock->expects(self::once())->method('get') + ->with("payouts/" . $payoutId, $params) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutQueryException::class); + + $client->getPayout($payoutId); + } + + public function testGetPayouts() + { + $params = $this->getPayoutParams(); + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $exampleResponse = file_get_contents(__DIR__ . '/jsonResponse/getPayouts.json'); + $restCliMock->expects(self::once())->method('get') + ->with("payouts", $params) + ->willReturn($exampleResponse); + $client = $this->getClient($restCliMock); + $result = $client->getPayouts( + $params['startDate'], + $params['endDate'], + $params['status'], + $params['reference'], + $params['limit'], + $params['offset'] + ); + self::assertIsArray($result); + self::assertEquals('JMwv8wQCXANoU2ZZQ9a9GH', $result[0]->getId()); + self::assertEquals(10, $result[0]->getAmount()); + self::assertEquals('USD', $result[0]->getCurrency()); + self::assertInstanceOf(Payout::class, $result[0]); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetPayoutsShouldHandleRestCliBitPayException() + { + $params = $this->getPayoutParams(); + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("payouts", $params) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutQueryException::class); + + $client->getPayouts( + $params['startDate'], + $params['endDate'], + $params['status'], + $params['reference'], + $params['limit'], + $params['offset'] + ); + } + + public function testGetPayoutsShouldHandleRestCliException() + { + $params = $this->getPayoutParams(); + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("payouts", $params) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutQueryException::class); + + $client->getPayouts( + $params['startDate'], + $params['endDate'], + $params['status'], + $params['reference'], + $params['limit'], + $params['offset'] + ); + } + + public function testGetPayoutsShouldHandleJsonMapperException() + { + $params = $this->getPayoutParams(); + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("payouts", $params) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutQueryException::class); + + $client->getPayouts( + $params['startDate'], + $params['endDate'], + $params['status'], + $params['reference'], + $params['limit'], + $params['offset'] + ); + } + + public function testCancelPayout() + { + $params['token'] = self::MERCHANT_TOKEN; + $examplePayoutId = 'test'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("payouts/" . $examplePayoutId, $params) + ->willReturn('{"status":"success"}'); + $client = $this->getClient($restCliMock); + $result = $client->cancelPayout($examplePayoutId); + + self::assertIsBool($result); + } + + public function testCancelPayoutShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $examplePayoutId = 'test'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("payouts/" . $examplePayoutId, $params) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutCancellationException::class); + + $client->cancelPayout($examplePayoutId); + } + + public function testCancelPayoutShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $examplePayoutId = 'testId'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("payouts/" . $examplePayoutId, $params) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutCancellationException::class); + + $client->cancelPayout($examplePayoutId); + } + + public function testCancelPayoutShouldCatchUnexistentPropertyError() + { + $params['token'] = self::MERCHANT_TOKEN; + $examplePayoutId = 'testId'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("payouts/" . $examplePayoutId, $params) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/false.json', true)); + $client = $this->getClient($restCliMock); + + self::assertFalse($client->cancelPayout($examplePayoutId)); + } + + public function testSubmitPayout() + { + $payoutMock = $this->createMock(Payout::class); + $exampleCurrency = Currency::USD; + $payoutBatchToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'currency' => $exampleCurrency + ]; + $payoutMock->method('getCurrency')->willReturn($exampleCurrency); + $payoutMock->method('toArray')->willReturn($payoutBatchToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts", $payoutMock->toArray()) + ->willReturn('{ "currency": "EUR", "balance": 0 }'); + $client = $this->getClient($restCliMock); + $result = $client->submitPayout($payoutMock); + + self::assertEquals('EUR', $result->getCurrency()); + self::assertInstanceOf(Payout::class, $result); + } + + public function testSubmitPayoutShouldCatchRestCliBitPayException() + { + $payoutMock = $this->createMock(Payout::class); + $exampleCurrency = Currency::USD; + $payoutBatchToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'currency' => $exampleCurrency + ]; + $payoutMock->method('getCurrency')->willReturn($exampleCurrency); + $payoutMock->method('toArray')->willReturn($payoutBatchToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts", $payoutMock->toArray()) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutCreationException::class); + + $client->submitPayout($payoutMock); + } + + public function testSubmitPayoutShouldCatchRestCliException() + { + $payoutMock = $this->createMock(Payout::class); + $exampleCurrency = Currency::USD; + $payoutBatchToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'currency' => $exampleCurrency + ]; + $payoutMock->method('getCurrency')->willReturn($exampleCurrency); + $payoutMock->method('toArray')->willReturn($payoutBatchToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts", $payoutMock->toArray()) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutCreationException::class); + + $client->submitPayout($payoutMock); + } + + public function testSubmitPayoutShouldCatchJsonMapperException() + { + $payoutMock = $this->createMock(Payout::class); + $exampleCurrency = Currency::USD; + $payoutBatchToArray = [ + 'token' => self::MERCHANT_TOKEN, + 'currency' => $exampleCurrency + ]; + $payoutMock->method('getCurrency')->willReturn($exampleCurrency); + $payoutMock->method('toArray')->willReturn($payoutBatchToArray); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts", $payoutMock->toArray()) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutCreationException::class); + + $client->submitPayout($payoutMock); + } + + public function testRequestNotification() + { + $content = ['token' => self::MERCHANT_TOKEN]; + $payoutId = 'JMwv8wQCXANoU2ZZQ9a9GH'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts/{$payoutId}/notifications", $content) + ->willReturn('{ "status": "success", "data": {}, "message": null }'); + $client = $this->getClient($restCliMock); + $result = $client->requestPayoutNotification($payoutId); + + self::assertTrue($result); + } + + public function testRequestNotificationShouldCatchRestCliBitPayException() + { + $content = ['token' => self::MERCHANT_TOKEN]; + $payoutId = 'JMwv8wQCXANoU2ZZQ9a9GH'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts/{$payoutId}/notifications", $content) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutNotificationException::class); + + $client->requestPayoutNotification($payoutId); + } + + public function testRequestNotificationShouldCatchRestCliException() + { + $content = ['token' => self::MERCHANT_TOKEN]; + $payoutId = 'JMwv8wQCXANoU2ZZQ9a9GH'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts/{$payoutId}/notifications", $content) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(PayoutNotificationException::class); + + $client->requestPayoutNotification($payoutId); + } + + public function testRequestNotificationShouldCatchJsonException() + { + $content = ['token' => self::MERCHANT_TOKEN]; + $payoutId = 'JMwv8wQCXANoU2ZZQ9a9GH'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts/{$payoutId}/notifications", $content) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/false.json', true)); + $client = $this->getClient($restCliMock); + + self::assertFalse($client->requestPayoutNotification($payoutId)); + } + + public function testCreatePayoutGroup(): void + { + $expectedRequest = json_decode( + file_get_contents(__DIR__ . '/jsonResponse/createPayoutGroupRequest.json', true), + true, + 512, + JSON_THROW_ON_ERROR + ); + $notificationURL = 'https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx'; + $shopperId = '7qohDf2zZnQK5Qanj8oyC2'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("payouts/group", $expectedRequest) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/createPayoutGroupResponse.json', true)); + + $client = $this->getClient($restCliMock); + + $payout = new Payout(); + $payout->setAmount(10); + $payout->setCurrency(Currency::USD); + $payout->setLedgerCurrency(Currency::USD); + $payout->setReference('payout_20210527'); + $payout->setNotificationEmail('merchant@email.com'); + $payout->setNotificationURL($notificationURL); + $payout->setEmail('john@doe.com'); + $payout->setRecipientId('LDxRZCGq174SF8AnQpdBPB'); + $payout->setShopperId($shopperId); + + $result = $client->createPayoutGroup([$payout]); + $firstPayout = $result->getPayouts()[0]; + $firstFailed = $result->getFailed()[0]; + + self::assertCount(1, $result->getPayouts()); + self::assertEquals($notificationURL, $firstPayout->getNotificationURL()); + self::assertEquals($shopperId, $firstPayout->getShopperId()); + self::assertEquals('Ledger currency is required', $firstFailed->getErrorMessage()); + self::assertEquals('john@doe.com', $firstFailed->getPayee()); + } + + public function testCancelPayoutGroup(): void + { + $groupId = '12345'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("payouts/group/" . $groupId, ['token' => self::PAYOUT_TOKEN]) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/cancelPayoutGroupResponse.json', true)); + + $client = $this->getClient($restCliMock); + + $result = $client->cancelPayoutGroup($groupId); + $firstPayout = $result->getPayouts()[0]; + $firstFailed = $result->getFailed()[0]; + + self::assertCount(2, $result->getPayouts()); + self::assertEquals( + 'https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx', + $firstPayout->getNotificationURL() + ); + self::assertEquals('7qohDf2zZnQK5Qanj8oyC2', $firstPayout->getShopperId()); + self::assertEquals('PayoutId is missing or invalid', $firstFailed->getErrorMessage()); + self::assertEquals('D8tgWzn1psUua4NYWW1vYo', $firstFailed->getPayoutId()); + } + + public function testCreateRefund() + { + $params = $this->getInvoiceRefundParams(); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once()) + ->method('post') + ->with("refunds/", $params, true) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/createRefundResponse.json', true)); + + $client = $this->getClient($restCliMock); + /** @var Refund $result */ + $result = $client->createRefund( + $params['invoiceId'], + $params['amount'], + $params['currency'], + $params['preview'], + $params['immediate'], + $params['buyerPaysRefundFee'], + $params['guid'] + ); + + self::assertEquals('Eso8srxKJR5U71ahCspAAA', $result->getId()); + self::assertEquals($params['invoiceId'], $result->getInvoice()); + } + + public function testCreateRefundShouldCatchRestCliBitPayException() + { + $params = $this->getInvoiceRefundParams(); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("refunds/", $params, true) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundCreationException::class); + + $client->createRefund( + $params['invoiceId'], + $params['amount'], + $params['currency'], + $params['preview'], + $params['immediate'], + $params['buyerPaysRefundFee'], + $params['guid'] + ); + } + + public function testCreateRefundShouldCatchRestCliException() + { + $params = $this->getInvoiceRefundParams(); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("refunds/", $params, true) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundCreationException::class); + + $client->createRefund( + $params['invoiceId'], + $params['amount'], + $params['currency'], + $params['preview'], + $params['immediate'], + $params['buyerPaysRefundFee'], + $params['guid'] + ); + } + + public function testCreateRefundShouldCatchJsonMapperException() + { + $params = $this->getInvoiceRefundParams(); + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post')->with("refunds/", $params, true)->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(RefundCreationException::class); + + $client->createRefund( + $params['invoiceId'], + $params['amount'], + $params['currency'], + $params['preview'], + $params['immediate'], + $params['buyerPaysRefundFee'], + $params['guid'] + ); + } + + public function testCancelRefund() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/" . $exampleRefundId, $params) + ->willReturn(self::CANCEL_REFUND_JSON_STRING); + + $client = $this->getClient($restCliMock); + + $result = $client->cancelRefund($exampleRefundId); + self::assertEquals('USD', $result->getCurrency()); + self::assertEquals(10, $result->getAmount()); + self::assertEquals('cancelled', $result->getStatus()); + self::assertInstanceOf(Refund::class, $result); + } + + public function testCancelRefundShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/" . $exampleRefundId, $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + $this->expectException(RefundCancellationException::class); + + $client->cancelRefund($exampleRefundId); + } + + public function testCancelRefundShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/" . $exampleRefundId, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RefundCancellationException::class); + $client->cancelRefund($exampleRefundId); + } + + public function testCancelRefundShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/" . $exampleRefundId, $params) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(RefundCancellationException::class); + + $client->cancelRefund($exampleRefundId); + } + + public function testCancelRefundByGuid() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/guid/" . $guid, $params) + ->willReturn(self::CANCEL_REFUND_JSON_STRING); + + $client = $this->getClient($restCliMock); + + $result = $client->cancelRefundByGuid($guid); + self::assertEquals('USD', $result->getCurrency()); + self::assertEquals(10, $result->getAmount()); + self::assertEquals('cancelled', $result->getStatus()); + self::assertInstanceOf(Refund::class, $result); + } + + public function testCancelRefundByGuidShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/guid/" . $guid, $params) + ->willThrowException(new BitPayException()); + + $client = $this->getClient($restCliMock); + $this->expectException(RefundCancellationException::class); + + $client->cancelRefundByGuid($guid); + } + + public function testCancelRefundByGuidShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/guid/" . $guid, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + + $this->expectException(RefundCancellationException::class); + $client->cancelRefundByGuid($guid); + } + + public function testCancelRefundByGuidShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('delete') + ->with("refunds/guid/" . $guid, $params) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(RefundCancellationException::class); + + $client->cancelRefundByGuid($guid); + } + + public function testUpdateRefund() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $refundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/" . $refundId, $params) + ->willReturn(self::UPDATE_REFUND_JSON_STRING); + + $client = $this->getClient($restCliMock); + $result = $client->updateRefund($refundId, $params['status']); + + self::assertInstanceOf(Refund::class, $result); + } + + public function testUpdateRefundShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $refundId = 'testId'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/" . $refundId, $params) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundUpdateException::class); + + $client->updateRefund($refundId, $params['status']); + } + + public function testUpdateRefundShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $refundId = 'testId'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/" . $refundId, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + $this->expectException(RefundUpdateException::class); + $client->updateRefund($refundId, $params['status']); + } + + public function testUpdateRefundShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $refundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/" . $refundId, $params) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(RefundUpdateException::class); + + $client->updateRefund($refundId, $params['status']); + } + + public function testUpdateRefundByGuid() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/guid/" . $guid, $params) + ->willReturn(self::UPDATE_REFUND_JSON_STRING); + + $client = $this->getClient($restCliMock); + $result = $client->updateRefundByGuid($guid, $params['status']); + + self::assertInstanceOf(Refund::class, $result); + self::assertEquals('created', $result->getStatus()); + self::assertEquals(10, $result->getAmount()); + } + + public function testUpdateRefundBuGuidShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $guid = 'testGuid'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/guid/" . $guid, $params) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundUpdateException::class); + + $client->updateRefundByGuid($guid, $params['status']); + } + + public function testUpdateRefundBuGuidShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $guid = 'testGuid'; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/guid/" . $guid, $params) + ->willThrowException(new Exception()); + + $client = $this->getClient($restCliMock); + $this->expectException(RefundUpdateException::class); + $client->updateRefundByGuid($guid, $params['status']); + } + + public function testUpdateRefundByGuidShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $params['status'] = 'status'; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update') + ->with("refunds/guid/" . $guid, $params) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(RefundUpdateException::class); + + $client->updateRefundByGuid($guid, $params['status']); + } + + public function testGetRefunds() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleInvoiceId = 'testId'; + $params['invoiceId'] = $exampleInvoiceId; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/", $params, true) + ->willReturn(self::CORRECT_JSON_STRING); + $client = $this->getClient($restCliMock); + $result = $client->getRefunds($exampleInvoiceId); + + self::assertIsArray($result); + self::assertInstanceOf(Refund::class, $result[0]); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundsShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleInvoiceId = 'testId'; + $params['invoiceId'] = $exampleInvoiceId; + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/", $params, true) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundQueryException::class); + + $client->getRefunds($exampleInvoiceId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundsShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleInvoiceId = 'testId'; + $params['invoiceId'] = $exampleInvoiceId; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/", $params, true) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundQueryException::class); + + $client->getRefunds($exampleInvoiceId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundsShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleInvoiceId = 'testId'; + $params['invoiceId'] = $exampleInvoiceId; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/", $params, true) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + $this->expectException(RefundQueryException::class); + + $client->getRefunds($exampleInvoiceId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefund() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/" . $exampleRefundId, $params, true) + ->willReturn(self::UPDATE_REFUND_JSON_STRING); + + $client = $this->getClient($restCliMock); + $result = $client->getRefund($exampleRefundId); + + self::assertEquals('USD', $result->getCurrency()); + self::assertEquals(10, $result->getAmount()); + self::assertEquals('created', $result->getStatus()); + self::assertEquals('WoE46gSLkJQS48RJEiNw3L', $result->getId()); + self::assertInstanceOf(Refund::class, $result); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/" . $exampleRefundId, $params, true) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + + $this->expectException(RefundQueryException::class); + $client->getRefund($exampleRefundId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/" . $exampleRefundId, $params, true) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + + $this->expectException(RefundQueryException::class); + $client->getRefund($exampleRefundId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundShouldCatchRestCliJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $exampleRefundId = 'testId'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/" . $exampleRefundId, $params, true) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + + $this->expectException(RefundQueryException::class); + $client->getRefund($exampleRefundId); + } + + public function testGetRefundByGuid() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/guid/" . $guid, $params, true) + ->willReturn(self::UPDATE_REFUND_JSON_STRING); + + $client = $this->getClient($restCliMock); + $result = $client->getRefundByGuid($guid); + + self::assertEquals('USD', $result->getCurrency()); + self::assertEquals(10, $result->getAmount()); + self::assertEquals('created', $result->getStatus()); + self::assertEquals('WoE46gSLkJQS48RJEiNw3L', $result->getId()); + self::assertInstanceOf(Refund::class, $result); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundByGuidShouldCatchRestCliBitPayException() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/guid/" . $guid, $params, true) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + + $this->expectException(RefundQueryException::class); + $client->getRefundByGuid($guid); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundByGuidShouldCatchRestCliException() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/guid/" . $guid, $params, true) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + + $this->expectException(RefundQueryException::class); + $client->getRefundByGuid($guid); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testGetRefundByGuidShouldCatchRestCliJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $guid = 'testGuid'; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('get') + ->with("refunds/guid/" . $guid, $params, true) + ->willReturn(self::CORRUPT_JSON_STRING); + $client = $this->getClient($restCliMock); + + $this->expectException(RefundQueryException::class); + $client->getRefundByGuid($guid); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testSendRefundNotification() + { + $exampleRefundId = 'testId'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("refunds/" . $exampleRefundId . "/notifications", $params, true) + ->willReturn('{"status":"success"}'); + $client = $this->getClient($restCliMock); + $result = $client->sendRefundNotification($exampleRefundId); + + self::assertIsBool($result); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testSendRefundNotificationShouldCatchRestCliBitPayException() + { + $exampleRefundId = 'testId'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("refunds/" . $exampleRefundId . "/notifications", $params, true) + ->willThrowException(new BitPayException()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundNotificationException::class); + + $client->sendRefundNotification($exampleRefundId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testSendRefundNotificationShouldCatchRestCliException() + { + $exampleRefundId = 'testId'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("refunds/" . $exampleRefundId . "/notifications", $params, true) + ->willThrowException(new Exception()); + $client = $this->getClient($restCliMock); + $this->expectException(RefundNotificationException::class); + + $client->sendRefundNotification($exampleRefundId); + } + + /** + * @depends testWithFileJsonConfig + */ + public function testSendRefundNotificationShouldCatchJsonMapperException() + { + $exampleRefundId = 'testId'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post') + ->with("refunds/" . $exampleRefundId . "/notifications", $params, true) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/false.json', true)); + $client = $this->getClient($restCliMock); + + self::assertFalse($client->sendRefundNotification($exampleRefundId)); + } + + public function testGetInvoice() + { + $exampleInvoiceObject = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices/' . $exampleInvoiceObject->id, ['token' => self::MERCHANT_TOKEN], true) + ->willReturn(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + + $testedObject = $this->getClient($restCliMock); + $result = $testedObject->getInvoice($exampleInvoiceObject->id, Facade::MERCHANT, true); + + self::assertEquals($exampleInvoiceObject->id, $result->getId()); + self::assertEquals($exampleInvoiceObject->amountPaid, $result->getAmountPaid()); + self::assertEquals($exampleInvoiceObject->currency, $result->getCurrency()); + } + + public function testGetInvoiceByGuid() + { + $exampleInvoiceObject = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices/guid/' . $exampleInvoiceObject->guid, ['token' => self::MERCHANT_TOKEN], true) + ->willReturn(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + + $testedObject = $this->getClient($restCliMock); + $result = $testedObject->getInvoiceByGuid($exampleInvoiceObject->guid, Facade::MERCHANT, true); + + self::assertEquals($exampleInvoiceObject->id, $result->getId()); + self::assertEquals($exampleInvoiceObject->amountPaid, $result->getAmountPaid()); + self::assertEquals($exampleInvoiceObject->currency, $result->getCurrency()); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testGetInvoiceShouldCatchRestCliExceptions(string $exceptionClass) + { + $exampleInvoiceObject = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices/' . $exampleInvoiceObject->id, ['token' => $exampleInvoiceObject->token], true) + ->willThrowException(new $exceptionClass); + + $testedObject = $this->getClient($restCliMock); + $this->expectException(InvoiceQueryException::class); + + $testedObject->getInvoice($exampleInvoiceObject->id, Facade::MERCHANT, true); + } + + public function testGetInvoiceShouldCatchJsonMapperException() + { + $exampleInvoiceObject = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices/' . $exampleInvoiceObject->id, ['token' => $exampleInvoiceObject->token], true) + ->willReturn('badString'); + + $testedObject = $this->getClient($restCliMock); + $this->expectException(InvoiceQueryException::class); + + $testedObject->getInvoice($exampleInvoiceObject->id, Facade::MERCHANT, true); + } + + public function testGetInvoices() + { + $params = [ + 'status' => 'status', + 'dateStart' => 'dateStart', + 'dateEnd' => 'dateEnd', + 'limit' => 1, + 'offset' => 1, + 'orderId' => 'orderId', + 'token' => self::MERCHANT_TOKEN + ]; + + $successResponse = file_get_contents(__DIR__ . '/jsonResponse/getInvoices.json'); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices', $params) + ->willReturn($successResponse); + + $testedObject = $this->getClient($restCliMock); + $result = $testedObject->getInvoices( + $params['dateStart'], + $params['dateEnd'], + $params['status'], + $params['orderId'], + $params['limit'], + $params['offset']); + + $responseToCompare = json_decode($successResponse, true); + + self::assertInstanceOf(Invoice::class, $result[0]); + self::assertEquals($responseToCompare[0]['id'], $result[0]->getId()); + self::assertEquals($responseToCompare[0]['guid'], $result[0]->getGuid()); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testGetInvoicesShouldCatchRestCliExceptions(string $exceptionClass) + { + $params = [ + 'status' => 'status', + 'dateStart' => 'dateStart', + 'dateEnd' => 'dateEnd', + 'limit' => 1, + 'offset' => 1, + 'orderId' => 'orderId', + 'token' => self::MERCHANT_TOKEN + ]; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices', $params) + ->willThrowException(new $exceptionClass); + + $testedObject = $this->getClient($restCliMock); + $this->expectException(InvoiceQueryException::class); + + $testedObject->getInvoices( + $params['dateStart'], + $params['dateEnd'], + $params['status'], + $params['orderId'], + $params['limit'], + $params['offset']); + } + + public function testGetInvoicesShouldCatchJsonMapperException() + { + $params = [ + 'status' => 'status', + 'dateStart' => 'dateStart', + 'dateEnd' => 'dateEnd', + 'limit' => 1, + 'offset' => 1, + 'orderId' => 'orderId', + 'token' => self::MERCHANT_TOKEN + ]; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method("get") + ->with('invoices', $params) + ->willReturn('badString'); + + $testedObject = $this->getClient($restCliMock); + $this->expectException(InvoiceQueryException::class); + + $testedObject->getInvoices( + $params['dateStart'], + $params['dateEnd'], + $params['status'], + $params['orderId'], + $params['limit'], + $params['offset']); + } + + public function testRequestInvoiceNotificationShouldReturnTrueOnSuccess() + { + $invoiceId = self::TEST_INVOICE_ID; + $params['token'] = self::MERCHANT_TOKEN; + $expectedSuccessResponse = 'success'; + $restCliMock = $this->getRestCliMock(); + + $restCliMock + ->expects(self::once()) + ->method('post') + ->with('invoices/' . $invoiceId . '/notifications', $params) + ->willReturn($expectedSuccessResponse); + + $testedObject = $this->getClient($restCliMock); + + $result = $testedObject->requestInvoiceNotification($invoiceId); + self::assertTrue($result); + } + + public function testRequestInvoiceNotificationShouldReturnFalseOnFailure() + { + $params['token'] = self::MERCHANT_TOKEN; + $expectedFailResponse = 'fail'; + $restCliMock = $this->getRestCliMock(); + + $restCliMock + ->expects(self::once()) + ->method('post') + ->with('invoices/' . self::TEST_INVOICE_ID . '/notifications', $params) + ->willReturn($expectedFailResponse); + $testedObject = $this->getClient($restCliMock); + + $result = $testedObject->requestInvoiceNotification(self::TEST_INVOICE_ID); + self::assertFalse($result); + } + + public function testRequestInvoiceNotificationShouldCatchJsonMapperException() + { + $params['token'] = self::MERCHANT_TOKEN; + $restCliMock = $this->getRestCliMock(); + + $restCliMock + ->expects(self::once()) + ->method('post') + ->with("invoices/" . self::TEST_INVOICE_ID . '/notifications', $params, true) + ->willThrowException(new InvoiceQueryException()); + + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoiceQueryException::class); + $testedObject->requestInvoiceNotification(self::TEST_INVOICE_ID); + } + + public function testCancelInvoice() + { + $restCliMock = $this->getRestCliMock(); + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'forceCancel' => true + ]; + $invoice = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + $invoice->isCancelled = true; + $restCliMock->expects(self::once())->method('delete')->with("invoices/" . self::TEST_INVOICE_ID, $params)->willReturn(json_encode($invoice)); + $testedObject = $this->getClient($restCliMock); + + $result = $testedObject->cancelInvoice(self::TEST_INVOICE_ID, $params['forceCancel']); + self::assertEquals(self::TEST_INVOICE_ID, $result->getId()); + self::assertEquals(true, $result->getIsCancelled()); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testCancelInvoiceShouldCatchRestCliExceptions(string $exceptionClass) + { + $restCliMock = $this->getRestCliMock(); + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'forceCancel' => true + ]; + $restCliMock->expects(self::once())->method('delete')->with("invoices/" . self::TEST_INVOICE_ID, $params)->willThrowException(new $exceptionClass()); + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoiceCancellationException::class); + $testedObject->cancelInvoice(self::TEST_INVOICE_ID, $params['forceCancel']); + } + + public function testCancelInvoiceShouldCatchJsonMapperException() + { + $restCliMock = $this->getRestCliMock(); + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'forceCancel' => true + ]; + $restCliMock->expects(self::once())->method('delete')->with("invoices/" . self::TEST_INVOICE_ID, $params)->willReturn('corruptJson'); + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoiceCancellationException::class); + $testedObject->cancelInvoice(self::TEST_INVOICE_ID, $params['forceCancel']); + } + + public function testCancelInvoiceByGuid() + { + $restCliMock = $this->getRestCliMock(); + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'forceCancel' => true + ]; + $invoice = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json')); + $invoice->isCancelled = true; + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("invoices/guid/" . self::TEST_INVOICE_GUID, $params) + ->willReturn(json_encode($invoice)); + + $testedObject = $this->getClient($restCliMock); + + $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()); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testCancelInvoiceByGuidShouldCatchRestCliExceptions(string $exceptionClass) + { + $restCliMock = $this->getRestCliMock(); + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'forceCancel' => true + ]; + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("invoices/guid/" . self::TEST_INVOICE_GUID, $params) + ->willThrowException(new $exceptionClass()); + + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoiceCancellationException::class); + $testedObject->cancelInvoiceByGuid(self::TEST_INVOICE_GUID, $params['forceCancel']); + } + + public function testCancelInvoiceByGuidShouldCatchJsonMapperException() + { + $restCliMock = $this->getRestCliMock(); + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'forceCancel' => true + ]; + $restCliMock + ->expects(self::once()) + ->method('delete') + ->with("invoices/guid/" . self::TEST_INVOICE_GUID, $params) + ->willReturn('corruptJson'); + + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoiceCancellationException::class); + $testedObject->cancelInvoiceByGuid(self::TEST_INVOICE_GUID, $params['forceCancel']); + } + + public function testPayInvoice() + { + $params['status'] = 'confirmed'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with("invoices/pay/" . self::TEST_INVOICE_ID, $params) + ->willReturn(file_get_contents(__DIR__ . '/jsonResponse/payInvoiceResponse.json')); + $testedObject = $this->getClient($restCliMock); + + $result = $testedObject->payInvoice(self::TEST_INVOICE_ID, $params['status']); + self::assertEquals("7f3b1a02-d6ee-4185-bcd5-838276a598b5", $result->getGuid()); + self::assertEquals('complete', $result->getStatus()); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testPayInvoiceShouldCatchRestCliExceptions(string $exceptionClass) + { + $params['status'] = 'confirmed'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update')->with("invoices/pay/" . self::TEST_INVOICE_ID, $params)->willThrowException(new $exceptionClass()); + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoicePaymentException::class); + $testedObject->payInvoice(self::TEST_INVOICE_ID, $params['status']); + } + + public function testPayInvoiceShouldCatchJsonMapperException() + { + $params['status'] = 'confirmed'; + $params['token'] = self::MERCHANT_TOKEN; + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('update')->with("invoices/pay/" . self::TEST_INVOICE_ID, $params)->willReturn('corruptJson'); + $testedObject = $this->getClient($restCliMock); + + $this->expectException(InvoicePaymentException::class); + $testedObject->payInvoice(self::TEST_INVOICE_ID, $params['status']); + } + + /** + * @throws BitPayException + */ + public function testCreateInvoice() + { + $invoiceArray = json_decode(file_get_contents(__DIR__.'/jsonResponse/createInvoiceResponse.json'), true); + $invoiceMock = $this->createMock(Invoice::class); + $invoiceMock->expects(self::once())->method('toArray')->willReturn($invoiceArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('post') + ->with('invoices', $invoiceArray, true) + ->willReturn(file_get_contents(__DIR__.'/jsonResponse/createInvoiceResponse.json')); + + $testedObject = $this->getClient($restCliMock); + $result = $testedObject->createInvoice($invoiceMock); + self::assertEquals($invoiceArray['id'], $result->getId()); + self::assertEquals($invoiceArray['status'], $result->getStatus()); + self::assertEquals($invoiceArray['guid'], $result->getGuid()); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testCreateInvoiceShouldCatchRestCliExceptions(string $exceptionClass) + { + $invoiceArray = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json'), true); + $invoiceMock = $this->createMock(Invoice::class); + $invoiceMock->expects(self::once())->method('toArray')->willReturn($invoiceArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post')->with('invoices', $invoiceArray, true)->willThrowException(new $exceptionClass()); + + $testedObject = $this->getClient($restCliMock); + $this->expectException(InvoiceCreationException::class); + $testedObject->createInvoice($invoiceMock); + } + + public function testCreateInvoiceShouldCatchJsonMapperException() + { + $invoiceArray = json_decode(file_get_contents(__DIR__.'/jsonResponse/getInvoice.json'), true); + $invoiceMock = $this->createMock(Invoice::class); + $invoiceMock->expects(self::once())->method('toArray')->willReturn($invoiceArray); + + $restCliMock = $this->getRestCliMock(); + $restCliMock->expects(self::once())->method('post')->with('invoices', $invoiceArray, true)->willReturn('corruptJson'); + + $testedObject = $this->getClient($restCliMock); + $this->expectException(InvoiceCreationException::class); + $testedObject->createInvoice($invoiceMock); + } + + /** + * @dataProvider exceptionClassProvider + */ + public function testUpdateInvoiceShouldCatchRestCliExceptions(string $exceptionClass) + { + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'buyerEmail' => '', + 'buyerSms' => 'buyerSms', + 'smsCode' => 'smsCode', + 'autoVerify' => false + ]; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with('invoices/'. self::TEST_INVOICE_ID, $params) + ->willThrowException(new $exceptionClass()); + + $this->expectException(InvoiceUpdateException::class); + $testedObject = $this->getClient($restCliMock); + $testedObject->updateInvoice( + self::TEST_INVOICE_ID, + $params['buyerSms'], + $params['smsCode'], + $params['buyerEmail'], + $params['autoVerify'] + ); + } + + public function testUpdateInvoiceShouldCatchJsonMapperException() + { + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'buyerEmail' => '', + 'buyerSms' => 'buyerSms', + 'smsCode' => 'smsCode', + 'autoVerify' => false + ]; + + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with('invoices/'. self::TEST_INVOICE_ID, $params) + ->willReturn('corruptJson'); + + $this->expectException(InvoiceUpdateException::class); + $testedObject = $this->getClient($restCliMock); + $testedObject->updateInvoice( + self::TEST_INVOICE_ID, + $params['buyerSms'], + $params['smsCode'], + $params['buyerEmail'], + $params['autoVerify'] + ); + } + + public function testUpdateInvoiceShouldThrowExceptionWhenBothBuyerEmailAndSmsProvided() + { + $params = [ + 'buyerEmail' => 'test', + 'buyerSms' => 'buyerSms', + 'smsCode' => 'smsCode', + 'autoVerify' => false + ]; + + $this->expectExceptionMessage('Updating the invoice requires buyerSms or buyerEmail, but not both.'); + $testedObject = $this->getClient($this->getRestCliMock()); + $testedObject->updateInvoice( + self::TEST_INVOICE_ID, + $params['buyerSms'], + $params['smsCode'], + $params['buyerEmail'], + $params['autoVerify'] + ); + } + + public function testUpdateInvoiceShouldThrowExceptionWhenNoSmsCodeProvided() + { + $params = [ + 'buyerEmail' => '', + 'buyerSms' => 'buyerSms', + 'smsCode' => '', + 'autoVerify' => false + ]; + + $this->expectExceptionMessage('Updating the invoice requires both buyerSms and smsCode when verifying SMS.'); + $testedObject = $this->getClient($this->getRestCliMock()); + $testedObject->updateInvoice( + self::TEST_INVOICE_ID, + $params['buyerSms'], + $params['smsCode'], + $params['buyerEmail'], + $params['autoVerify'] + ); + } + + public function testUpdateInvoice() + { + $params = [ + 'token' => self::MERCHANT_TOKEN, + 'buyerEmail' => null, + 'buyerSms' => 'buyerSms', + 'smsCode' => 'smsCode', + 'autoVerify' => false + ]; + + $successResponse = file_get_contents(__DIR__.'/jsonResponse/getInvoice.json'); + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('update') + ->with('invoices/'. self::TEST_INVOICE_ID, $params) + ->willReturn($successResponse); + + $testedObject = $this->getClient($restCliMock); + $result = $testedObject->updateInvoice( + self::TEST_INVOICE_ID, + $params['buyerSms'], + $params['smsCode'], + $params['buyerEmail'], + $params['autoVerify'] + ); + + $invoiceArray = json_decode($successResponse, true); + self::assertEquals($invoiceArray['id'], $result->getId()); + self::assertEquals($invoiceArray['status'], $result->getStatus()); + self::assertEquals($invoiceArray['guid'], $result->getGuid()); + } + + public function testGetSupportedWallets() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("supportedWallets/", null, false) + ->willReturn(file_get_contents(__DIR__.'/jsonResponse/getSupportedWalletsResponse.json')); + + $client = $this->getClient($restCliMock); + + $result = $client->getSupportedWallets(); + self::assertIsArray($result); + self::assertInstanceOf(Wallet::class, $result[0]); + self::assertEquals('bitpay-wallet.png', $result[0]->getAvatar()); + self::assertEquals('copay-wallet.svg', $result[1]->getAvatar()); + self::assertEquals('BitPay', $result[0]->getDisplayName()); + self::assertEquals('Copay', $result[1]->getDisplayName()); + } + + public function testGetSupportedWalletsShouldCatchRestCliBitPayException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("supportedWallets/", null, false) + ->willThrowException(new BitPayException()); + + $testedObject = $this->getClient($restCliMock); + + $this->expectException(WalletQueryException::class); + $testedObject->getSupportedWallets(); + } + + public function testGetSupportedWalletsShouldCatchRestCliException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("supportedWallets/", null, false) + ->willThrowException(new Exception()); + + $testedObject = $this->getClient($restCliMock); + + $this->expectException(WalletQueryException::class); + $testedObject->getSupportedWallets(); + } + + public function testGetSupportedWalletsShouldCatchJsonMapperException() + { + $restCliMock = $this->getRestCliMock(); + $restCliMock + ->expects(self::once()) + ->method('get') + ->with("supportedWallets/", null, false) + ->willReturn(self::CORRUPT_JSON_STRING); + + $testedObject = $this->getClient($restCliMock); + + $this->expectException(WalletQueryException::class); + $testedObject->getSupportedWallets(); + } + + public function exceptionClassProvider(): array + { + return [ + [BitPayException::class], + [Exception::class], + ]; + } + + private function getClient(RESTcli $restCli) + { + $testToken = self::MERCHANT_TOKEN; + + $tokens = $this->getMockBuilder(Tokens::class)->getMock(); + $tokens->setMerchantToken($testToken); + $tokens->method('getTokenByFacade')->willReturn($testToken); + + return new Client($restCli, $tokens); + } + + private function getTestedClassInstance(): Client + { + $restCli = $this->getMockBuilder(RESTcli::class)->disableOriginalConstructor()->getMock(); + $tokens = $this->getMockBuilder(Tokens::class)->disableOriginalConstructor()->getMock(); + + return new Client($restCli, $tokens); + } + + private function getRestCliMock() + { + return $this->getMockBuilder(RESTcli::class)->disableOriginalConstructor()->getMock(); + } + + private function getPayoutParams(): array + { + return [ + 'status' => 'status', + 'startDate' => '2021-07-08 14:21:05', + 'endDate' => '2021-07-08 14:24:05', + 'limit' => 1, + 'offset' => 1, + 'reference' => 'reference', + ]; + } + + private function getInvoiceRefundParams(): array + { + return [ + 'token' => self::MERCHANT_TOKEN, + 'invoiceId' => 'UZjwcYkWAKfTMn9J1yyfs4', + 'amount' => 10.10, + 'currency' => Currency::BTC, + 'preview' => true, + 'immediate' => false, + 'buyerPaysRefundFee' => false, + 'guid' => '3df73895-2531-e26a-3caa-098a746389b7' + ]; + } + + /** + * @throws \ReflectionException + */ + private function refreshResourceClients(): void + { + $listOfClientsToClear = [ + BillClient::class, + InvoiceClient::class, + LedgerClient::class, + PayoutClient::class, + PayoutRecipientsClient::class, + RateClient::class, + RefundClient::class, + SettlementClient::class, + WalletClient::class + ]; + + foreach ($listOfClientsToClear as $className) { + $refProperty = new ReflectionProperty($className, 'instance'); + $refProperty->setAccessible(true); + $refProperty->setValue(null); + } + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillCreationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillCreationExceptionTest.php new file mode 100644 index 0000000..e8daf00 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillCreationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(BillCreationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-BILL-CREATE: Failed to create bill-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(112, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new BillCreationException( + 'My test message', + 112, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new BillCreationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillDeliveryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillDeliveryExceptionTest.php new file mode 100644 index 0000000..1ee55eb --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillDeliveryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(BillDeliveryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-BILL-DELIVERY: Failed to deliver bill-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(115, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new BillDeliveryException( + 'My test message', + 115, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new BillDeliveryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillExceptionTest.php new file mode 100644 index 0000000..cc52fb8 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(BillException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-BILL-GENERIC: An unexpected error occurred while trying to manage the bill-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(111, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new BillException( + 'My test message', + 111, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new BillException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillQueryExceptionTest.php new file mode 100644 index 0000000..728e1fc --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(BillQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-BILL-GET: Failed to retrieve bill-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(113, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new BillQueryException( + 'My test message', + 113, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new BillQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillUpdateExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillUpdateExceptionTest.php new file mode 100644 index 0000000..e80e549 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BillUpdateExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(BillUpdateException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-BILL-UPDATE: Failed to update bill-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(114, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new BillUpdateException( + 'My test message', + 114, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new BillUpdateException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php new file mode 100644 index 0000000..8dcd094 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php @@ -0,0 +1,60 @@ +createClassObject(); + self::assertInstanceOf(BitPayException::class, $exception); + } + + public function testDefaultApiCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(null, $exception->getApiCode()); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(100, $exception->getCode()); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-GENERIC: Unexpected Bitpay exeption.-> ', + $exception->getMessage() + ); + } + + public function testGetApiCode() + { + $exception = new BitPayException( + 'My test message', + 100, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new BitPayException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyExceptionTest.php new file mode 100644 index 0000000..22ae6a2 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(CurrencyException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-CURRENCY-GENERIC: An unexpected error occurred while trying to manage the currencies-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(181, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new CurrencyException( + 'My test message', + 181, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new CurrencyException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyQueryExceptionTest.php new file mode 100644 index 0000000..483a604 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/CurrencyQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(CurrencyQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-CURRENCY-GET: Failed to retrieve currencies-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(182, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new CurrencyQueryException( + 'My test message', + 182, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new CurrencyQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCancellationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCancellationExceptionTest.php new file mode 100644 index 0000000..7950bd2 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCancellationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(InvoiceCancellationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-INVOICE-CANCEL: Failed to cancel invoice object-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(105, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new InvoiceCancellationException( + 'My test message', + 105, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new InvoiceCancellationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCreationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCreationExceptionTest.php new file mode 100644 index 0000000..c93a23f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceCreationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(InvoiceCreationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-INVOICE-CREATE: Failed to create invoice-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(102, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new InvoiceCreationException( + 'My test message', + 102, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new InvoiceCreationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceExceptionTest.php new file mode 100644 index 0000000..cfd7586 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(InvoiceException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-INVOICE-GENERIC: An unexpected error occurred while trying to manage the invoice-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(101, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new InvoiceException( + 'My test message', + 101, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new InvoiceException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoicePaymentExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoicePaymentExceptionTest.php new file mode 100644 index 0000000..b9d6233 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoicePaymentExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(InvoicePaymentException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-INVOICE-PAY-UPDATE: Failed to pay invoice-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(107, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new InvoicePaymentException( + 'My test message', + 107, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new InvoicePaymentException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceQueryExceptionTest.php new file mode 100644 index 0000000..20241e3 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(InvoiceQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-INVOICE-GET: Failed to retrieve invoice-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(103, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new InvoiceQueryException( + 'My test message', + 103, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new InvoiceQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceUpdateExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceUpdateExceptionTest.php new file mode 100644 index 0000000..a587f25 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/InvoiceUpdateExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(InvoiceUpdateException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-INVOICE-UPDATE: Failed to update invoice-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(104, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new InvoiceUpdateException( + 'My test message', + 104, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new InvoiceUpdateException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerExceptionTest.php new file mode 100644 index 0000000..a8705b8 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(LedgerException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-LEDGER-GENERIC: An unexpected error occurred while trying to manage the ledger-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(131, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new LedgerException( + 'My test message', + 131, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new LedgerException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerQueryExceptionTest.php new file mode 100644 index 0000000..c4cf1d6 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/LedgerQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(LedgerQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-LEDGER-GET: Failed to retrieve ledger-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(132, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new LedgerQueryException( + 'My test message', + 132, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new LedgerQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCancellationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCancellationExceptionTest.php new file mode 100644 index 0000000..876863d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCancellationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutBatchCancellationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-CANCEL: Failed to cancel payout batch-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(204, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutBatchCancellationException( + 'My test message', + 204, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutBatchCancellationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCreationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCreationExceptionTest.php new file mode 100644 index 0000000..3abd2ec --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchCreationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutBatchCreationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-SUBMIT: Failed to create payout batch-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(202, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutBatchCreationException( + 'My test message', + 202, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutBatchCreationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchExceptionTest.php new file mode 100644 index 0000000..fcd969c --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutBatchException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-GENERIC: An unexpected error occurred while trying to manage the payout batch-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(201, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutBatchException( + 'My test message', + 201, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutBatchException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchNotificationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchNotificationExceptionTest.php new file mode 100644 index 0000000..ee5dd56 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchNotificationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutBatchNotificationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-NOTIFICATION: Failed to send payout batch notification-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(205, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutBatchNotificationException( + 'My test message', + 205, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutBatchNotificationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchQueryExceptionTest.php new file mode 100644 index 0000000..487a5ba --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutBatchQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutBatchQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-GET: Failed to retrieve payout batch-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(203, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutBatchQueryException( + 'My test message', + 203, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutBatchQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCancellationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCancellationExceptionTest.php new file mode 100644 index 0000000..79cbe94 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCancellationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutCancellationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-CANCEL: Failed to cancel payout-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(124, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutCancellationException( + 'My test message', + 124, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutCancellationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCreationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCreationExceptionTest.php new file mode 100644 index 0000000..fc98188 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutCreationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutCreationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-SUBMIT: Failed to create payout-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(122, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutCreationException( + 'My test message', + 122, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutCreationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutExceptionTest.php new file mode 100644 index 0000000..5e1d31a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-GENERIC: An unexpected error occurred while trying to manage the payout-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(121, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutException( + 'My test message', + 121, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutNotificationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutNotificationExceptionTest.php new file mode 100644 index 0000000..2a832af --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutNotificationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutNotificationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-NOTIFICATION: Failed to send payout notification-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(126, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutNotificationException( + 'My test message', + 126, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutNotificationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutQueryExceptionTest.php new file mode 100644 index 0000000..a63dae1 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-GET: Failed to retrieve payout batch-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(123, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutQueryException( + 'My test message', + 123, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCancellationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCancellationExceptionTest.php new file mode 100644 index 0000000..34432df --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCancellationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutRecipientCancellationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-RECIPIENT-CANCEL: Failed to cancel payout recipient-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(194, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutRecipientCancellationException( + 'My test message', + 194, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutRecipientCancellationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCreationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCreationExceptionTest.php new file mode 100644 index 0000000..75ef1dd --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientCreationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutRecipientCreationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-RECIPIENT-SUBMIT: Failed to create payout recipient-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(192, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutRecipientCreationException( + 'My test message', + 192, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutRecipientCreationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientExceptionTest.php new file mode 100644 index 0000000..b521f9f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutRecipientException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-RECIPIENT-GENERIC: An unexpected error occurred while trying to manage the payout recipient-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(191, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutRecipientException( + 'My test message', + 191, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutRecipientException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientNotificationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientNotificationExceptionTest.php new file mode 100644 index 0000000..5515d74 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientNotificationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutRecipientNotificationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-RECIPIENT-NOTIFICATION: Failed to send payout recipient notification-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(196, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutRecipientNotificationException( + 'My test message', + 196, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutRecipientNotificationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientQueryExceptionTest.php new file mode 100644 index 0000000..700407d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutRecipientQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-RECIPIENT-GET: Failed to retrieve payout recipient-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(193, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutRecipientQueryException( + 'My test message', + 193, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutRecipientQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientUpdateExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientUpdateExceptionTest.php new file mode 100644 index 0000000..197af2d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutRecipientUpdateExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutRecipientUpdateException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-RECIPIENT-UPDATE: Failed to update payout recipient-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(195, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutRecipientUpdateException( + 'My test message', + 195, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutRecipientUpdateException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutUpdateExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutUpdateExceptionTest.php new file mode 100644 index 0000000..445ba42 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/PayoutUpdateExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(PayoutUpdateException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-PAYOUT-BATCH-UPDATE: Failed to update payout batch-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(125, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new PayoutUpdateException( + 'My test message', + 125, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new PayoutUpdateException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateExceptionTest.php new file mode 100644 index 0000000..0022631 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RateException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-RATES-GENERIC: An unexpected error occurred while trying to manage the rates-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(141, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RateException( + 'My test message', + 141, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RateException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateQueryExceptionTest.php new file mode 100644 index 0000000..890d913 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RateQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RateQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-RATES-GET: Failed to retrieve rates-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(142, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RateQueryException( + 'My test message', + 142, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RateQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCancellationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCancellationExceptionTest.php new file mode 100644 index 0000000..56ab216 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCancellationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RefundCancellationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-REFUND-CANCEL: Failed to cancel refund object-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(165, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RefundCancellationException( + 'My test message', + 165, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RefundCancellationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCreationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCreationExceptionTest.php new file mode 100644 index 0000000..2bc35df --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundCreationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RefundCreationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-REFUND-CREATE: Failed to create refund-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(162, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RefundCreationException( + 'My test message', + 162, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RefundCreationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundExceptionTest.php new file mode 100644 index 0000000..81c202f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RefundException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-REFUND-GENERIC: An unexpected error occurred while trying to manage the refund-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(161, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RefundException( + 'My test message', + 161, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RefundException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundNotificationExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundNotificationExceptionTest.php new file mode 100644 index 0000000..d07cd2e --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundNotificationExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RefundNotificationException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-REFUND-NOTIFICATION: Failed to send refund notification-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(166, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RefundNotificationException( + 'My test message', + 166, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RefundNotificationException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundQueryExceptionTest.php new file mode 100644 index 0000000..d30d7f0 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RefundQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-REFUND-GET: Failed to retrieve refund-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(163, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RefundQueryException( + 'My test message', + 163, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RefundQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundUpdateExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundUpdateExceptionTest.php new file mode 100644 index 0000000..949f52a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/RefundUpdateExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(RefundUpdateException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-REFUND-UPDATE: Failed to update refund-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(164, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new RefundUpdateException( + 'My test message', + 164, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new RefundUpdateException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementExceptionTest.php new file mode 100644 index 0000000..0ae37f2 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(SettlementException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-SETTLEMENTS-GENERIC: An unexpected error occurred while trying to manage the settlements-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(151, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new SettlementException( + 'My test message', + 151, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new SettlementException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementQueryExceptionTest.php new file mode 100644 index 0000000..897bf46 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/SettlementQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(SettlementQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-SETTLEMENTS-GET: Failed to retrieve settlements-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(152, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new SettlementQueryException( + 'My test message', + 152, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new SettlementQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletExceptionTest.php new file mode 100644 index 0000000..499e73f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(WalletException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-WALLET-GENERIC: An unexpected error occurred while trying to manage the wallet-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(181, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new WalletException( + 'My test message', + 181, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new WalletException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletQueryExceptionTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletQueryExceptionTest.php new file mode 100644 index 0000000..ac75193 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/WalletQueryExceptionTest.php @@ -0,0 +1,61 @@ +createClassObject(); + + self::assertEquals('000000', $exception->getApiCode()); + } + + public function testInstanceOf() + { + $exception = $this->createClassObject(); + self::assertInstanceOf(WalletQueryException::class, $exception); + } + + public function testDefaultMessage() + { + $exception = $this->createClassObject(); + + self::assertEquals( + 'BITPAY-WALLET-GET: Failed to retrieve supported wallets-> ', + $exception->getMessage() + ); + } + + public function testDefaultCode() + { + $exception = $this->createClassObject(); + + self::assertEquals(183, $exception->getCode()); + } + + public function testGetApiCode() + { + $exception = new WalletQueryException( + 'My test message', + 183, + null, + 'CUSTOM-API-CODE' + ); + + self::assertEquals('CUSTOM-API-CODE', $exception->getApiCode()); + } + + private function createClassObject() + { + return new WalletQueryException(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/BillTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/BillTest.php new file mode 100644 index 0000000..f524a39 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/BillTest.php @@ -0,0 +1,302 @@ +createClassObject(); + self::assertInstanceOf(Bill::class, $bill); + } + + public function testGetToken() + { + $expectedToken = 'abcd123'; + + $bill = $this->createClassObject(); + $bill->setToken($expectedToken); + self::assertEquals($expectedToken, $bill->getToken()); + } + + /** + * @throws BitPayException + */ + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $bill = $this->createClassObject(); + $bill->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $bill->getCurrency()); + } + + public function testGetEmail() + { + $expectedEmail = 'test@test.com'; + + $bill = $this->createClassObject(); + $bill->setEmail($expectedEmail); + self::assertEquals($expectedEmail, $bill->getEmail()); + } + + public function testSetItems() + { + $bill = $this->createClassObject(); + $arrayWithoutObject = ['description' => 'gd']; + + $createdObject = Item::createFromArray($arrayWithoutObject); + $testArray = [new Item(), $createdObject]; + + $bill->setItems($testArray); + + self::assertEquals($testArray, $bill->getItems()); + } + + public function testGetNumber() + { + $expectedNumber = '12'; + + $bill = $this->createClassObject(); + $bill->setNumber($expectedNumber); + self::assertEquals($expectedNumber, $bill->getNumber()); + } + + public function testGetName() + { + $expectedName = 'TestName'; + + $bill = $this->createClassObject(); + $bill->setName($expectedName); + self::assertEquals($expectedName, $bill->getName()); + } + + public function testGetAddress1() + { + $expectedAddress = 'Address1'; + + $bill = $this->createClassObject(); + $bill->setAddress1($expectedAddress); + self::assertEquals($expectedAddress, $bill->getAddress1()); + } + + public function testGetAddress2() + { + $expectedAddress2 = 'Address2'; + + $bill = $this->createClassObject(); + $bill->setAddress2($expectedAddress2); + self::assertEquals($expectedAddress2, $bill->getAddress2()); + } + + public function testGetCity() + { + $expectedCity = 'Miami'; + + $bill = $this->createClassObject(); + $bill->setCity($expectedCity); + self::assertEquals($expectedCity, $bill->getCity()); + } + + public function testGetState() + { + $expectedState = 'Ab'; + + $bill = $this->createClassObject(); + $bill->setState($expectedState); + self::assertEquals($expectedState, $bill->getState()); + } + + public function testGetZip() + { + $expectedZip = '12345'; + + $bill = $this->createClassObject(); + $bill->setZip($expectedZip); + self::assertEquals($expectedZip, $bill->getZip()); + } + + public function testGetCountry() + { + $expectedCountry = 'Canada'; + + $bill = $this->createClassObject(); + $bill->setCountry($expectedCountry); + self::assertEquals($expectedCountry, $bill->getCountry()); + } + + public function testGetCc() + { + $expectedCc = ['']; + + $bill = $this->createClassObject(); + $bill->setCc($expectedCc); + self::assertEquals($expectedCc, $bill->getCc()); + } + + public function testGetPhone() + { + $expectedPhone = '123456789'; + + $bill = $this->createClassObject(); + $bill->setPhone($expectedPhone); + self::assertEquals($expectedPhone, $bill->getPhone()); + } + + public function testGetDueDate() + { + $expectedDueDate = '2022-01-01'; + + $bill = $this->createClassObject(); + $bill->setDueDate($expectedDueDate); + self::assertEquals($expectedDueDate, $bill->getDueDate()); + } + + public function testGetPassProcessingFee() + { + $bill = $this->createClassObject(); + $bill->setPassProcessingFee(true); + self::assertTrue($bill->getPassProcessingFee()); + } + + public function testGetStatus() + { + $expectedStatus = 'status'; + + $bill = $this->createClassObject(); + $bill->setStatus($expectedStatus); + self::assertEquals($expectedStatus, $bill->getStatus()); + } + + public function testGetUrl() + { + $expectedUrl = 'http://test.com'; + + $bill = $this->createClassObject(); + $bill->setUrl($expectedUrl); + self::assertEquals($expectedUrl, $bill->getUrl()); + } + + public function testGetCreateDate() + { + $expectedCreateDate = '2022-01-01'; + + $bill = $this->createClassObject(); + $bill->setCreateDate($expectedCreateDate); + self::assertEquals($expectedCreateDate, $bill->getCreateDate()); + } + + public function testGetId() + { + $expectedId = '1'; + + $bill = $this->createClassObject(); + $bill->setId($expectedId); + self::assertEquals($expectedId, $bill->getId()); + } + + public function testGetMerchant() + { + $expectedMerchant = 'TestUser'; + + $bill = $this->createClassObject(); + $bill->setMerchant($expectedMerchant); + self::assertEquals($expectedMerchant, $bill->getMerchant()); + } + + /** + * @throws BitPayException + */ + public function testToArray() + { + $bill = $this->createClassObject(); + $this->objectSetters($bill); + + $billArray = $bill->toArray(); + + self::assertNotNull($billArray); + self::assertIsArray($billArray); + + self::assertArrayHasKey('currency', $billArray); + self::assertArrayHasKey('token', $billArray); + self::assertArrayHasKey('email', $billArray); + self::assertArrayHasKey('items', $billArray); + self::assertArrayHasKey('number', $billArray); + self::assertArrayHasKey('name', $billArray); + self::assertArrayHasKey('address1', $billArray); + self::assertArrayHasKey('address2', $billArray); + self::assertArrayHasKey('city', $billArray); + self::assertArrayHasKey('state', $billArray); + self::assertArrayHasKey('zip', $billArray); + self::assertArrayHasKey('country', $billArray); + self::assertArrayHasKey('cc', $billArray); + self::assertArrayHasKey('phone', $billArray); + self::assertArrayHasKey('dueDate', $billArray); + self::assertArrayHasKey('passProcessingFee', $billArray); + self::assertArrayHasKey('status', $billArray); + self::assertArrayHasKey('url', $billArray); + self::assertArrayHasKey('createDate', $billArray); + self::assertArrayHasKey('id', $billArray); + self::assertArrayHasKey('merchant', $billArray); + + self::assertEquals('BTC', $billArray['currency']); + self::assertEquals('abcd123', $billArray['token']); + self::assertEquals('test@test.com', $billArray['email']); + self::assertEquals([[]], $billArray['items']); + self::assertEquals('12', $billArray['number']); + self::assertEquals('TestName', $billArray['name']); + self::assertEquals('Address1', $billArray['address1']); + self::assertEquals('Address2', $billArray['address2']); + self::assertEquals('Miami', $billArray['city']); + self::assertEquals('AB', $billArray['state']); + self::assertEquals('12345', $billArray['zip']); + self::assertEquals('Canada', $billArray['country']); + self::assertEquals([''], $billArray['cc']); + self::assertEquals('123456789', $billArray['phone']); + self::assertEquals('2022-01-01', $billArray['dueDate']); + self::assertEquals(true, $billArray['passProcessingFee']); + self::assertEquals('status', $billArray['status']); + self::assertEquals('http://test.com', $billArray['url']); + self::assertEquals('2022-01-01', $billArray['createDate']); + self::assertEquals('1', $billArray['id']); + self::assertEquals('TestUser', $billArray['merchant']); + } + + private function createClassObject(): Bill + { + return new Bill(); + } + + /** + * @throws BitPayException + */ + private function objectSetters(Bill $bill): void + { + $bill->setCurrency('BTC'); + $bill->setToken('abcd123'); + $bill->setEmail('test@test.com'); + $bill->setItems([new Item()]); + $bill->setNumber('12'); + $bill->setName('TestName'); + $bill->setAddress1('Address1'); + $bill->setAddress2('Address2'); + $bill->setCity('Miami'); + $bill->setState('AB'); + $bill->setZip('12345'); + $bill->setCountry('Canada'); + $bill->setCc(['']); + $bill->setPhone('123456789'); + $bill->setDueDate('2022-01-01'); + $bill->setPassProcessingFee(true); + $bill->setStatus('status'); + $bill->setUrl('http://test.com'); + $bill->setCreateDate('2022-01-01'); + $bill->setId('1'); + $bill->setMerchant('TestUser'); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/ItemTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/ItemTest.php new file mode 100644 index 0000000..71aa05e --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Bill/ItemTest.php @@ -0,0 +1,99 @@ +createClassObject(); + self::assertInstanceOf(Item::class, $item); + } + + public function testGetId() + { + $expectedId = 5; + + $item = $this->createClassObject(); + $item->setId($expectedId); + self::assertEquals($expectedId, $item->getId()); + } + + public function testGetDescription() + { + $expectedDescription = 'test description'; + + $item = $this->createClassObject(); + $item->setDescription($expectedDescription); + self::assertEquals($expectedDescription, $item->getDescription()); + } + + public function testGetPrice() + { + $expectedPrice = 10.0; + + $item = $this->createClassObject(); + $item->setPrice($expectedPrice); + self::assertEquals($expectedPrice, $item->getPrice()); + } + + public function testGetQuantity() + { + $expectedQuantity = 5; + + $item = $this->createClassObject(); + $item->setQuantity($expectedQuantity); + self::assertEquals($expectedQuantity, $item->getQuantity()); + } + + public function testCreateFromArray() + { + $testArrayItem = [ + 'description' => 'test', + 'price' => 12 + ]; + + $item = $this->createClassObject(); + $item = $item::createFromArray($testArrayItem); + + self::assertEquals('test', $item->getDescription()); + self::assertEquals(12, $item->getPrice()); + } + + public function testToArray() + { + $item = $this->createClassObject(); + $this->objectSetters($item); + + $itemArray = $item->toArray(); + + self::assertNotNull($itemArray); + self::assertIsArray($itemArray); + + self::assertArrayHasKey('id', $itemArray); + self::assertArrayHasKey('description', $itemArray); + self::assertArrayHasKey('price', $itemArray); + self::assertArrayHasKey('quantity', $itemArray); + + self::assertEquals(1, $itemArray['id']); + self::assertEquals('description', $itemArray['description']); + self::assertEquals(1.2, $itemArray['price']); + self::assertEquals(1, $itemArray['quantity']); + } + + private function createClassObject(): Item + { + return new Item(); + } + + private function objectSetters(Item $item) + { + $item->setId(1); + $item->setDescription('description'); + $item->setPrice(1.2); + $item->setQuantity(1); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/CurrencyTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/CurrencyTest.php new file mode 100644 index 0000000..6f7da42 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/CurrencyTest.php @@ -0,0 +1,171 @@ +createClassObject(); + self::assertInstanceOf(Currency::class, $currency); + } + + public function testIsValid() + { + $currencyObject = $this->createClassObject(); + $reflect = new ReflectionClass(Currency::class); + $allCurrencies = $reflect->getConstants(); + + foreach ($allCurrencies as $currency) { + $result = $currencyObject::isValid($currency); + + self::assertTrue($result); + } + + self::assertFalse($currencyObject::isValid('wrongValue')); + } + + public function testToArray() + { + $currency = $this->createClassObject(); + $this->setSetters($currency); + + $currencyArray = $currency->toArray(); + + self::assertNotNull($currencyArray); + self::assertIsArray($currencyArray); + self::assertArrayHasKey('code', $currencyArray); + self::assertArrayHasKey('symbol', $currencyArray); + self::assertArrayHasKey('precision', $currencyArray); + self::assertArrayHasKey('currentlySettled', $currencyArray); + self::assertArrayHasKey('name', $currencyArray); + self::assertArrayHasKey('plural', $currencyArray); + self::assertArrayHasKey('alts', $currencyArray); + self::assertArrayHasKey('minimum', $currencyArray); + self::assertArrayHasKey('sanctioned', $currencyArray); + self::assertArrayHasKey('decimals', $currencyArray); + self::assertArrayHasKey('payoutFields', $currencyArray); + self::assertArrayHasKey('settlementMinimum', $currencyArray); + self::assertEquals('BTC', $currencyArray['code']); + self::assertEquals('Symbol', $currencyArray['symbol']); + self::assertEquals(1, $currencyArray['precision']); + self::assertEquals(true, $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::assertEquals('decimals', $currencyArray['decimals']); + self::assertEquals(['test'], $currencyArray['payoutFields']); + self::assertEquals(['test'], $currencyArray['settlementMinimum']); + } + + public function testGetCode() + { + $currency = $this->createClassObject(); + $currency->setCode('testCode'); + self::assertEquals('testCode', $currency->getCode()); + } + + public function testGetSymbol() + { + $currency = $this->createClassObject(); + $currency->setSymbol('testSymbol'); + self::assertEquals('testSymbol', $currency->getSymbol()); + } + + public function testGetPrecision() + { + $currency = $this->createClassObject(); + $currency->setPrecision(1); + self::assertEquals(1, $currency->getPrecision()); + } + + public function testGetCurrentlySettled() + { + $currency = $this->createClassObject(); + $currency->setCurrentlySettled(true); + self::assertEquals(true, $currency->getCurrentlySettled()); + } + + public function testGetName() + { + $currency = $this->createClassObject(); + $currency->setName('testName'); + self::assertEquals('testName', $currency->getName()); + } + + public function testGetPlural() + { + $currency = $this->createClassObject(); + $currency->setPlural('testPlural'); + self::assertEquals('testPlural', $currency->getPlural()); + } + + public function testGetAlts() + { + $currency = $this->createClassObject(); + $currency->setAlts('testAlts'); + self::assertEquals('testAlts', $currency->getAlts()); + } + + public function testGetMinimum() + { + $currency = $this->createClassObject(); + $currency->setMinimum('testMinimum'); + self::assertEquals('testMinimum', $currency->getMinimum()); + } + + public function testGetSanctioned() + { + $currency = $this->createClassObject(); + $currency->setSanctioned(true); + self::assertEquals(true, $currency->getSanctioned()); + } + + public function testGetDecimals() + { + $currency = $this->createClassObject(); + $currency->setDecimals('testDecimals'); + self::assertEquals('testDecimals', $currency->getDecimals()); + } + + public function testGetPayoutFields() + { + $currency = $this->createClassObject(); + $currency->setPayoutFields(['test']); + self::assertEquals(['test'], $currency->getPayoutFields()); + } + + public function testGetSettlementMinimum() + { + $currency = $this->createClassObject(); + $currency->setSettlementMinimum(['test']); + self::assertEquals(['test'], $currency->getSettlementMinimum()); + } + + private function createClassObject(): Currency + { + return new Currency(); + } + + private function setSetters(Currency $currency) + { + $currency->setCode('BTC'); + $currency->setSymbol('Symbol'); + $currency->setPrecision(1); + $currency->setCurrentlySettled(true); + $currency->setName('Bitcoin'); + $currency->setPlural('plural'); + $currency->setAlts('alts'); + $currency->setMinimum('minimum'); + $currency->setSanctioned(true); + $currency->setDecimals('decimals'); + $currency->setPayoutFields(['test']); + $currency->setSettlementMinimum(['test']); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php new file mode 100644 index 0000000..605079d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php @@ -0,0 +1,146 @@ +createClassObject(); + self::assertInstanceOf(BuyerProvidedInfo::class, $buyerProvidedInfo); + } + + public function testGetName() + { + $expectedName = 'Test User'; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setName($expectedName); + self::assertEquals($expectedName, $buyerProvidedInfo->getName()); + } + + /** + * https://github.com/bitpay/php-bitpay-client-v2/issues/212 + * + * @return void + */ + public function testGetSelectedWalletAsNull() + { + $expectedSelectedWallet = null; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setSelectedWallet($expectedSelectedWallet); + + self::assertNull($buyerProvidedInfo->getSelectedWallet()); + } + + public function testGetPhoneNumber() + { + $expectedPhoneNumber = '1112223333'; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setPhoneNumber($expectedPhoneNumber); + self::assertEquals($expectedPhoneNumber, $buyerProvidedInfo->getPhoneNumber()); + } + + public function testGetSelectedWallet() + { + $expectedSelectedWallet = 'bitpay'; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setSelectedWallet($expectedSelectedWallet); + self::assertEquals($expectedSelectedWallet, $buyerProvidedInfo->getSelectedWallet()); + } + + public function testGetEmailAddress() + { + $expectedEmailAddress = 'example@bitpay.com'; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setEmailAddress($expectedEmailAddress); + self::assertEquals($expectedEmailAddress, $buyerProvidedInfo->getEmailAddress()); + } + + public function testGetSelectedTransactionCurrency() + { + $expectedSelectedTransactionCurrency = 'BTC'; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setSelectedTransactionCurrency($expectedSelectedTransactionCurrency); + self::assertEquals($expectedSelectedTransactionCurrency, $buyerProvidedInfo->getSelectedTransactionCurrency()); + } + + public function testGetSms() + { + $expectedSms = '4445556666'; + + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setSms($expectedSms); + self::assertEquals($expectedSms, $buyerProvidedInfo->getSms()); + } + + public function testGetSmsVerified() + { + $buyerProvidedInfo = $this->createClassObject(); + $buyerProvidedInfo->setSmsVerified(true); + self::assertTrue($buyerProvidedInfo->getSmsVerified()); + } + + public function testToArray() + { + $buyerProvidedInfo = $this->createClassObject(); + $this->objectSetters($buyerProvidedInfo); + + $buyerProvidedInfoArray = $buyerProvidedInfo->toArray(); + + self::assertNotNull($buyerProvidedInfoArray); + self::assertIsArray($buyerProvidedInfoArray); + + self::assertArrayHasKey('name', $buyerProvidedInfoArray); + self::assertArrayHasKey('phoneNumber', $buyerProvidedInfoArray); + self::assertArrayHasKey('selectedWallet', $buyerProvidedInfoArray); + self::assertArrayHasKey('emailAddress', $buyerProvidedInfoArray); + self::assertArrayHasKey('selectedTransactionCurrency', $buyerProvidedInfoArray); + self::assertArrayHasKey('sms', $buyerProvidedInfoArray); + self::assertArrayHasKey('smsVerified', $buyerProvidedInfoArray); + + self::assertEquals('Test User', $buyerProvidedInfoArray['name']); + self::assertEquals('1112223333', $buyerProvidedInfoArray['phoneNumber']); + self::assertEquals('bitpay', $buyerProvidedInfoArray['selectedWallet']); + self::assertEquals('example@bitpay.com', $buyerProvidedInfoArray['emailAddress']); + self::assertEquals('BTC', $buyerProvidedInfoArray['selectedTransactionCurrency']); + self::assertEquals('4445556666', $buyerProvidedInfoArray['sms']); + self::assertEquals(true, $buyerProvidedInfoArray['smsVerified']); + } + + public function testToArrayEmptyKey() + { + $buyerProvidedInfo = $this->createClassObject(); + + $buyerProvidedInfoArray = $buyerProvidedInfo->toArray(); + + self::assertNotNull($buyerProvidedInfoArray); + self::assertIsArray($buyerProvidedInfoArray); + + self::assertArrayNotHasKey('name', $buyerProvidedInfoArray); + } + + private function createClassObject(): BuyerProvidedInfo + { + return new BuyerProvidedInfo(); + } + + private function objectSetters(BuyerProvidedInfo $buyerProvidedInfo) + { + $buyerProvidedInfo->setName('Test User'); + $buyerProvidedInfo->setPhoneNumber('1112223333'); + $buyerProvidedInfo->setSelectedWallet('bitpay'); + $buyerProvidedInfo->setEmailAddress('example@bitpay.com'); + $buyerProvidedInfo->setSelectedTransactionCurrency('BTC'); + $buyerProvidedInfo->setSms('4445556666'); + $buyerProvidedInfo->setSmsVerified(true); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerTest.php new file mode 100644 index 0000000..c537581 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/BuyerTest.php @@ -0,0 +1,166 @@ +createClassObject(); + self::assertInstanceOf(Buyer::class, $buyer); + } + + public function testGetName() + { + $expectedName = 'Test name'; + + $buyer = $this->createClassObject(); + $buyer->setName($expectedName); + self::assertEquals($expectedName, $buyer->getName()); + } + + public function testGetAddress1() + { + $expectedAddress1 = 'Test address 1'; + + $buyer = $this->createClassObject(); + $buyer->setAddress1($expectedAddress1); + self::assertEquals($expectedAddress1, $buyer->getAddress1()); + } + + public function testGetAddress2() + { + $expectedAddress2 = 'Test address 2'; + + $buyer = $this->createClassObject(); + $buyer->setAddress2($expectedAddress2); + self::assertEquals($expectedAddress2, $buyer->getAddress2()); + } + + public function testGetLocality() + { + $expectedLocality = 'Tavares'; + + $buyer = $this->createClassObject(); + $buyer->setLocality($expectedLocality); + self::assertEquals($expectedLocality, $buyer->getLocality()); + } + + public function testGetRegion() + { + $expectedRegion = 'Test region'; + + $buyer = $this->createClassObject(); + $buyer->setRegion($expectedRegion); + self::assertEquals($expectedRegion, $buyer->getRegion()); + } + + public function testGetPostalCode() + { + $expectedPostalCode = '12345'; + + $buyer = $this->createClassObject(); + $buyer->setPostalCode($expectedPostalCode); + self::assertEquals($expectedPostalCode, $buyer->getPostalCode()); + } + + public function testGetCountry() + { + $expectedCountry = 'USA'; + + $buyer = $this->createClassObject(); + $buyer->setCountry($expectedCountry); + self::assertEquals($expectedCountry, $buyer->getCountry()); + } + + public function testGetEmail() + { + $expectedEmail = 'test@email.com'; + + $buyer = $this->createClassObject(); + $buyer->setEmail($expectedEmail); + self::assertEquals($expectedEmail, $buyer->getEmail()); + } + + public function testGetPhone() + { + $expectedPhone = '123456789'; + + $buyer = $this->createClassObject(); + $buyer->setPhone($expectedPhone); + self::assertEquals($expectedPhone, $buyer->getPhone()); + } + + public function testGetNotify() + { + $buyer = $this->createClassObject(); + $buyer->setNotify(false); + self::assertFalse($buyer->getNotify()); + } + + public function testToArray() + { + $buyer = $this->createClassObject(); + $this->setSetters($buyer); + $buyerArray = $buyer->toArray(); + + self::assertNotNull($buyerArray); + self::assertIsArray($buyerArray); + + self::assertArrayHasKey('name', $buyerArray); + self::assertArrayHasKey('address1', $buyerArray); + self::assertArrayHasKey('address2', $buyerArray); + self::assertArrayHasKey('locality', $buyerArray); + self::assertArrayHasKey('region', $buyerArray); + self::assertArrayHasKey('postalCode', $buyerArray); + self::assertArrayHasKey('country', $buyerArray); + self::assertArrayHasKey('email', $buyerArray); + self::assertArrayHasKey('phone', $buyerArray); + self::assertArrayHasKey('notify', $buyerArray); + + self::assertEquals('Test name', $buyerArray['name']); + self::assertEquals('Address 1', $buyerArray['address1']); + self::assertEquals('Address 2', $buyerArray['address2']); + self::assertEquals('Tavares', $buyerArray['locality']); + self::assertEquals('Test region', $buyerArray['region']); + self::assertEquals('12345', $buyerArray['postalCode']); + self::assertEquals('USA', $buyerArray['country']); + self::assertEquals('test@email.com', $buyerArray['email']); + self::assertEquals('123456789', $buyerArray['phone']); + self::assertTrue($buyerArray['notify']); + } + + public function testToArrayEmptyKey() + { + $buyer = $this->createClassObject(); + + $buyerArray = $buyer->toArray(); + + self::assertNotNull($buyerArray); + self::assertIsArray($buyerArray); + + self::assertArrayNotHasKey('name', $buyerArray); + } + + private function createClassObject(): Buyer + { + return new Buyer(); + } + + private function setSetters(Buyer $buyer) + { + $buyer->setName('Test name'); + $buyer->setAddress1('Address 1'); + $buyer->setAddress2('Address 2'); + $buyer->setLocality('Tavares'); + $buyer->setRegion('Test region'); + $buyer->setPostalCode('12345'); + $buyer->setCountry('USA'); + $buyer->setEmail('test@email.com'); + $buyer->setPhone('123456789'); + $buyer->setNotify(true); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/InvoiceTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/InvoiceTest.php new file mode 100644 index 0000000..dbe7dfd --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/InvoiceTest.php @@ -0,0 +1,991 @@ +createClassObject(); + self::assertInstanceOf(Invoice::class, $invoice); + } + + public function testGetCurrencyException() + { + $expectedCurrency = 'ELO'; + + $invoice = $this->createClassObject(); + $this->expectException(BitPayException::class); + $this->expectExceptionMessage('currency code must be a type of Model.Currency'); + $invoice->setCurrency($expectedCurrency); + } + + /** + * @throws BitPayException + */ + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $invoice = $this->createClassObject(); + $invoice->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $invoice->getCurrency()); + } + + public function testGetGuid() + { + $expectedGuid = 'Test guid'; + + $invoice = $this->createClassObject(); + $invoice->setGuid($expectedGuid); + self::assertEquals($expectedGuid, $invoice->getGuid()); + } + + public function testGetToken() + { + $expectedToken = 's7k3f9v2nnn3kb3'; + + $invoice = $this->createClassObject(); + $invoice->setToken($expectedToken); + self::assertEquals($expectedToken, $invoice->getToken()); + } + + public function testGetPrice() + { + $expectedPrice = 150.25; + + $invoice = $this->createClassObject(); + $invoice->setPrice($expectedPrice); + self::assertEquals($expectedPrice, $invoice->getPrice()); + } + + public function testGetPosData() + { + $expectedPostData = 'Test post data'; + + $invoice = $this->createClassObject(); + $invoice->setPosData($expectedPostData); + self::assertEquals($expectedPostData, $invoice->getPosData()); + } + + public function testGetNotificationURL() + { + $expectedNotificationURL = 'http://test.com'; + + $invoice = $this->createClassObject(); + $invoice->setNotificationURL($expectedNotificationURL); + self::assertEquals($expectedNotificationURL, $invoice->getNotificationURL()); + } + + public function testGetTransactionSpeed() + { + $expectedTransactionSpeed = 'Test transaction speed'; + + $invoice = $this->createClassObject(); + $invoice->setTransactionSpeed($expectedTransactionSpeed); + self::assertEquals($expectedTransactionSpeed, $invoice->getTransactionSpeed()); + } + + public function testGetFullNotifications() + { + $invoice = $this->createClassObject(); + $invoice->setFullNotifications(true); + self::assertTrue($invoice->getFullNotifications()); + } + + public function testGetNotificationEmail() + { + $expectedNotificationEmail = 'test@email.com'; + + $invoice = $this->createClassObject(); + $invoice->setNotificationEmail($expectedNotificationEmail); + self::assertEquals($expectedNotificationEmail, $invoice->getNotificationEmail()); + } + + public function testGetRedirectURL() + { + $expectedRedirectURL = 'http://test.com'; + + $invoice = $this->createClassObject(); + $invoice->setRedirectURL($expectedRedirectURL); + self::assertEquals($expectedRedirectURL, $invoice->getRedirectURL()); + } + + public function testGetOrderId() + { + $expectedOrderId = '15'; + + $invoice = $this->createClassObject(); + $invoice->setOrderId($expectedOrderId); + self::assertEquals($expectedOrderId, $invoice->getOrderId()); + } + + public function testGetItemDesc() + { + $expectedItemDesc = 'Test item desc'; + + $invoice = $this->createClassObject(); + $invoice->setItemDesc($expectedItemDesc); + self::assertEquals($expectedItemDesc, $invoice->getItemDesc()); + } + + public function testGetItemCode() + { + $expectedItemCode = 'X3NH'; + + $invoice = $this->createClassObject(); + $invoice->setItemCode($expectedItemCode); + self::assertEquals($expectedItemCode, $invoice->getItemCode()); + } + + public function testGetPhysical() + { + $invoice = $this->createClassObject(); + $invoice->setPhysical(false); + self::assertFalse($invoice->getPhysical()); + } + + public function testGetPaymentCurrencies() + { + $expectedPaymentCurrencies = ['BTC']; + + $invoice = $this->createClassObject(); + $invoice->setPaymentCurrencies($expectedPaymentCurrencies); + self::assertEquals($expectedPaymentCurrencies, $invoice->getPaymentCurrencies()); + } + + public function testGetAcceptanceWindow() + { + $expectedAcceptanceWindow = 15.0; + + $invoice = $this->createClassObject(); + $invoice->setAcceptanceWindow($expectedAcceptanceWindow); + self::assertEquals($expectedAcceptanceWindow, $invoice->getAcceptanceWindow()); + } + + public function testGetCloseURL() + { + $expectedCloseURL = 'http://test.com'; + + $invoice = $this->createClassObject(); + $invoice->setCloseURL($expectedCloseURL); + self::assertEquals($expectedCloseURL, $invoice->getCloseURL()); + } + + public function testGetAutoRedirect() + { + $invoice = $this->createClassObject(); + $invoice->setAutoRedirect(true); + self::assertTrue($invoice->getAutoRedirect()); + } + + public function testGetJsonPayProRequired() + { + $invoice = $this->createClassObject(); + $invoice->setJsonPayProRequired(false); + self::assertFalse($invoice->getJsonPayProRequired()); + } + + public function testGetBitpayIdRequired() + { + $invoice = $this->createClassObject(); + $invoice->setBitpayIdRequired(true); + self::assertTrue($invoice->getBitpayIdRequired()); + } + + public function testGetMerchantName() + { + $expectedMerchantName = 'Test merchant name'; + + $invoice = $this->createClassObject(); + $invoice->setMerchantName($expectedMerchantName); + self::assertEquals($expectedMerchantName, $invoice->getMerchantName()); + } + + public function testGetSelectedTransactionCurrency() + { + $expectedSelectedTransactionCurrency = 'BTC'; + + $invoice = $this->createClassObject(); + $invoice->setSelectedTransactionCurrency($expectedSelectedTransactionCurrency); + self::assertEquals($expectedSelectedTransactionCurrency, $invoice->getSelectedTransactionCurrency()); + } + + public function testGetForcedBuyerSelectedWallet() + { + $expectedForcedBuyerSelectedWallet = 'Test wallet'; + + $invoice = $this->createClassObject(); + $invoice->setForcedBuyerSelectedWallet($expectedForcedBuyerSelectedWallet); + self::assertEquals($expectedForcedBuyerSelectedWallet, $invoice->getForcedBuyerSelectedWallet()); + } + + public function testGetForcedBuyerSelectedTransactionCurrency() + { + $expectedForcedBuyerSelectedTransactionCurrency = 'BTC'; + + $invoice = $this->createClassObject(); + $invoice->setForcedBuyerSelectedTransactionCurrency($expectedForcedBuyerSelectedTransactionCurrency); + self::assertEquals($expectedForcedBuyerSelectedTransactionCurrency, $invoice->getForcedBuyerSelectedTransactionCurrency()); + } + + /** + * @throws BitPayException + */ + public function testGetItemizedDetailsAsArray(): void + { + $expectedDescription = 'testDescription'; + $itemizedDetails = new ItemizedDetails(); + $itemizedDetails->setAmount(1); + $itemizedDetails->setDescription($expectedDescription); + $itemizedDetails->setIsFee(true); + + $invoice = $this->createClassObject(); + $invoice->setItemizedDetails([$itemizedDetails]); + + self::assertSame([$itemizedDetails], $invoice->getItemizedDetails()); + self::assertSame($expectedDescription, $invoice->getItemizedDetails()[0]->getDescription()); + self::assertInstanceOf(ItemizedDetails::class, $invoice->getItemizedDetails()[0]); + } + + public function testGetBuyer() + { + $expectedBuyer = $this->getMockBuilder(Buyer::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setBuyer($expectedBuyer); + self::assertEquals($expectedBuyer, $invoice->getBuyer()); + } + + public function testGetBuyerEmail() + { + $expectedBuyerEmail = 'test@email.com'; + + $invoice = $this->createClassObject(); + $invoice->setBuyerEmail($expectedBuyerEmail); + self::assertEquals($expectedBuyerEmail, $invoice->getBuyerEmail()); + } + + public function testGetBuyerSms() + { + $expectedBuyerSms = 'Test buyer sms'; + + $invoice = $this->createClassObject(); + $invoice->setBuyerSms($expectedBuyerSms); + self::assertEquals($expectedBuyerSms, $invoice->getBuyerSms()); + } + + public function testGetRefundAddresses() + { + $expectedRefundAddresses = ['Test refund address']; + + $invoice = $this->createClassObject(); + $invoice->setRefundAddresses($expectedRefundAddresses); + self::assertEquals($expectedRefundAddresses, $invoice->getRefundAddresses()); + } + + public function testGetId() + { + $expectedId = '12'; + + $invoice = $this->createClassObject(); + $invoice->setId($expectedId); + self::assertEquals($expectedId, $invoice->getId()); + } + + public function testGetUrl() + { + $expectedUrl = 'http://test.com'; + + $invoice = $this->createClassObject(); + $invoice->setUrl($expectedUrl); + self::assertEquals($expectedUrl, $invoice->getUrl()); + } + + public function testGetStatus() + { + $expectedStatus = 'pending'; + + $invoice = $this->createClassObject(); + $invoice->setStatus($expectedStatus); + self::assertEquals($expectedStatus, $invoice->getStatus()); + } + + public function testGetFeeDetected() + { + $invoice = $this->createClassObject(); + $invoice->setLowFeeDetected(true); + self::assertTrue($invoice->getLowFeeDetected()); + } + + public function testGetInvoiceTime() + { + $expectedInvoiceTime = 1620669854224; + + $invoice = $this->createClassObject(); + $invoice->setInvoiceTime($expectedInvoiceTime); + self::assertEquals($expectedInvoiceTime, $invoice->getInvoiceTime()); + } + + public function testGetExpirationTime() + { + $expectedExpirationTime = '01:01:01'; + + $invoice = $this->createClassObject(); + $invoice->setExpirationTime($expectedExpirationTime); + self::assertEquals($expectedExpirationTime, $invoice->getExpirationTime()); + } + + public function testGetCurrentTime() + { + $expectedCurrencyTime = '01:01:01'; + + $invoice = $this->createClassObject(); + $invoice->setCurrentTime($expectedCurrencyTime); + self::assertEquals($expectedCurrencyTime, $invoice->getCurrentTime()); + } + + public function testGetTransactions() + { + $expectedTransaction = []; + + $invoice = $this->createClassObject(); + $invoice->setTransactions($expectedTransaction); + self::assertEquals($expectedTransaction, $invoice->getTransactions()); + } + + public function testGetExceptionStatus() + { + $expectedExceptionStatus = 'Test exception status'; + + $invoice = $this->createClassObject(); + $invoice->setExceptionStatus($expectedExceptionStatus); + self::assertEquals($expectedExceptionStatus, $invoice->getExceptionStatus()); + } + + public function testGetTargetConfirmations() + { + $expectedTargetConfirmation = 6; + + $invoice = $this->createClassObject(); + $invoice->setTargetConfirmations($expectedTargetConfirmation); + self::assertEquals($expectedTargetConfirmation, $invoice->getTargetConfirmations()); + } + + public function testGetRefundAddressRequestPending() + { + $invoice = $this->createClassObject(); + $invoice->setRefundAddressRequestPending(false); + self::assertFalse($invoice->getRefundAddressRequestPending()); + } + + public function testGetBuyerProvidedEmail() + { + $expectedBuyerProvidedEmail = 'test@email.com'; + + $invoice = $this->createClassObject(); + $invoice->setBuyerProvidedEmail($expectedBuyerProvidedEmail); + self::assertEquals($expectedBuyerProvidedEmail, $invoice->getBuyerProvidedEmail()); + } + + public function testGetBuyerProvidedInfo() + { + $expectedBuyerProvidedInfo = $this->getMockBuilder(BuyerProvidedInfo::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setBuyerProvidedInfo($expectedBuyerProvidedInfo); + self::assertEquals($expectedBuyerProvidedInfo, $invoice->getBuyerProvidedInfo()); + } + + public function testGetUniversalCodes() + { + $expectedUniversalCodes = $this->getMockBuilder(UniversalCodes::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setUniversalCodes($expectedUniversalCodes); + self::assertEquals($expectedUniversalCodes, $invoice->getUniversalCodes()); + } + + public function testGetSupportedTransactionCurrencies() + { + $expectedSupportedTransactionCurrencies = $this->getMockBuilder(SupportedTransactionCurrencies::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setSupportedTransactionCurrencies($expectedSupportedTransactionCurrencies); + self::assertEquals($expectedSupportedTransactionCurrencies, $invoice->getSupportedTransactionCurrencies()); + } + + public function testGetPaymentTotals() + { + $expectedPaymentTotals = [ + "BTC" => 70200, + "BCH" => 11495400, + "ETH" => 9327000000000000, + "GUSD" => 1200, + "PAX" => 12000000000000000000, + "BUSD" => 12000000000000000000, + "USDC" => 12000000, + "DOGE" => 13219659000, + "LTC" => 20332100, + "MATIC" => 12502605000000000000, + "USDC_m" => 12000000 + ]; + + $invoice = $this->createClassObject(); + $invoice->setPaymentTotals($expectedPaymentTotals); + self::assertEquals($expectedPaymentTotals, $invoice->getPaymentTotals()); + } + + public function testGetPaymentSubTotals() + { + $expectedPaymentSubTotals = [ + "BTC" => 70100, + "BCH" => 11495400, + "ETH" => 9327000000000000, + "GUSD" => 1200, + "PAX" => 12000000000000000000, + "BUSD" => 12000000000000000000, + "USDC" => 12000000, + "DOGE" => 13219659000, + "LTC" => 20332100, + "MATIC" => 12502605000000000000, + "USDC_m" => 12000000 + ]; + + $invoice = $this->createClassObject(); + $invoice->setPaymentSubtotals($expectedPaymentSubTotals); + self::assertEquals($expectedPaymentSubTotals, $invoice->getPaymentSubtotals()); + } + + public function testGetPaymentDisplaySubTotals() + { + $expectedPaymentDisplaySubTotals = [ + "BTC" => "0.000701", + "BCH" => "0.114954", + "ETH" => "0.009327", + "GUSD" => "12.00", + "PAX" => "12.00", + "BUSD" => "12.00", + "USDC" => "12.00", + "DOGE" => "132.196590", + "LTC" => "0.203321", + "MATIC" => "12.502605", + "USDC_m" => "12.00" + ]; + + $invoice = $this->createClassObject(); + $invoice->setPaymentDisplaySubTotals($expectedPaymentDisplaySubTotals); + self::assertEquals($expectedPaymentDisplaySubTotals, $invoice->getPaymentDisplaySubTotals()); + } + + public function testGetPaymentDisplayTotals() + { + $expectedPaymentDisplayTotals = [ + "BTC" => "0.000702", + "BCH" => "0.114954", + "ETH" => "0.009327", + "GUSD" => "12.00", + "PAX" => "12.00", + "BUSD" => "12.00", + "USDC" => "12.00", + "DOGE" => "132.196590", + "LTC" => "0.203321", + "MATIC" => "12.502605", + "USDC_m" => "12.00" + ]; + + $invoice = $this->createClassObject(); + $invoice->setPaymentDisplayTotals($expectedPaymentDisplayTotals); + self::assertEquals($expectedPaymentDisplayTotals, $invoice->getPaymentDisplayTotals()); + } + + public function testGetPaymentCodes() + { + $expectedPaymentCodes = [ + 'BTC' => [ + "BIP72b" => "bitcoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73"=> "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "BCH" => [ + "BIP72b" => "bitcoincash:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73" => "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "ETH" => [ + "EIP681" => "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "GUSD" => [ + "EIP681b" => "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "PAX" => [ + "EIP681b" => "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "BUSD" => [ + "EIP681b" => "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "USDC" => [ + "EIP681b" => "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "DOGE" => [ + "BIP72b" => "dogecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73" => "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "LTC" => [ + "BIP72b" => "litecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73" => "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "MATIC" => [ + "EIP681" => "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ], + "USDC_m" => [ + "EIP681b" => "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + ] + ]; + + $invoice = $this->createClassObject(); + $invoice->setPaymentCodes($expectedPaymentCodes); + self::assertEquals($expectedPaymentCodes, $invoice->getPaymentCodes()); + } + + public function testGetUnderpaidAmount() + { + $expectedUnderpaidAmount = 10; + + $invoice = $this->createClassObject(); + $invoice->setUnderpaidAmount($expectedUnderpaidAmount); + self::assertEquals($expectedUnderpaidAmount, $invoice->getUnderpaidAmount()); + } + + public function testGetOverpaidAmount() + { + $expectedOverpaidAmount = 10; + + $invoice = $this->createClassObject(); + $invoice->setOverpaidAmount($expectedOverpaidAmount); + self::assertEquals($expectedOverpaidAmount, $invoice->getOverpaidAmount()); + } + + public function testGetMinerFees() + { + $expectedMinerFees = $this->getMockBuilder(MinerFees::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setMinerFees($expectedMinerFees); + self::assertEquals($expectedMinerFees, $invoice->getMinerFees()); + } + + public function testGetNonPayProPaymentReceived() + { + $invoice = $this->createClassObject(); + $invoice->setNonPayProPaymentReceived(true); + self::assertTrue($invoice->getNonPayProPaymentReceived()); + } + + public function testGetShopper() + { + $expectedShopper = $this->getMockBuilder(Shopper::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setShopper($expectedShopper); + self::assertEquals($expectedShopper, $invoice->getShopper()); + } + + public function testGetBillId() + { + $expectedBillId = '123'; + + $invoice = $this->createClassObject(); + $invoice->setBillId($expectedBillId); + self::assertEquals($expectedBillId, $invoice->getBillId()); + } + + public function testGetRefundInfo() + { + $expectedRefundInfo = $this->getMockBuilder(RefundInfo::class)->getMock(); + + $invoice = $this->createClassObject(); + $invoice->setRefundInfo($expectedRefundInfo); + self::assertEquals($expectedRefundInfo, $invoice->getRefundInfo()); + } + + public function testGetExtendedNotifications() + { + $invoice = $this->createClassObject(); + $invoice->setExtendedNotifications(false); + self::assertFalse($invoice->getExtendedNotifications()); + } + + public function testgetTransactionCurrency() + { + $expectedTransactionCurrency = 'BTC'; + + $invoice = $this->createClassObject(); + $invoice->setTransactionCurrency($expectedTransactionCurrency); + self::assertEquals($expectedTransactionCurrency, $invoice->getTransactionCurrency()); + } + + public function testGetAmountPaid() + { + $expectedAmountPaid = 11; + + $invoice = $this->createClassObject(); + $invoice->setAmountPaid($expectedAmountPaid); + self::assertEquals($expectedAmountPaid, $invoice->getAmountPaid()); + } + + public function testGetDisplayAmountPaid() + { + $expectedDisplayAmountPaid = 'Test display amount paid'; + + $invoice = $this->createClassObject(); + $invoice->setDisplayAmountPaid($expectedDisplayAmountPaid); + self::assertEquals($expectedDisplayAmountPaid, $invoice->getDisplayAmountPaid()); + } + + public function testGetExchangeRates() + { + $expectedExchangeRates = $this->getExampleExchangeRates(); + + $invoice = $this->createClassObject(); + $invoice->setExchangeRates($expectedExchangeRates); + self::assertEquals($expectedExchangeRates, $invoice->getExchangeRates()); + } + + public function testGetIsCancelled() + { + $invoice = $this->createClassObject(); + $invoice->setIsCancelled(false); + self::assertFalse($invoice->getIsCancelled()); + } + + /** + * @throws BitPayException + */ + public function testToArray() + { + $invoice = $this->createClassObject(); + $this->setObjectSetters($invoice); + $invoiceArray = $invoice->toArray(); + + self::assertNotNull($invoiceArray); + self::assertIsArray($invoiceArray); + + self::assertArrayHasKey('currency', $invoiceArray); + self::assertArrayHasKey('guid', $invoiceArray); + self::assertArrayHasKey('token', $invoiceArray); + self::assertArrayHasKey('price', $invoiceArray); + self::assertArrayHasKey('posData', $invoiceArray); + self::assertArrayHasKey('notificationURL', $invoiceArray); + self::assertArrayHasKey('transactionSpeed', $invoiceArray); + self::assertArrayHasKey('fullNotifications', $invoiceArray); + self::assertArrayHasKey('notificationEmail', $invoiceArray); + self::assertArrayHasKey('redirectURL', $invoiceArray); + self::assertArrayHasKey('orderId', $invoiceArray); + self::assertArrayHasKey('itemDesc', $invoiceArray); + self::assertArrayHasKey('itemCode', $invoiceArray); + self::assertArrayHasKey('physical', $invoiceArray); + self::assertArrayHasKey('paymentCurrencies', $invoiceArray); + self::assertArrayHasKey('acceptanceWindow', $invoiceArray); + self::assertArrayHasKey('closeURL', $invoiceArray); + self::assertArrayHasKey('autoRedirect', $invoiceArray); + self::assertArrayHasKey('refundAddresses', $invoiceArray); + self::assertArrayHasKey('id', $invoiceArray); + self::assertArrayHasKey('url', $invoiceArray); + self::assertArrayHasKey('status', $invoiceArray); + self::assertArrayHasKey('lowFeeDetected', $invoiceArray); + self::assertArrayHasKey('invoiceTime', $invoiceArray); + self::assertArrayHasKey('expirationTime', $invoiceArray); + self::assertArrayHasKey('currentTime', $invoiceArray); + self::assertArrayHasKey('exceptionStatus', $invoiceArray); + self::assertArrayHasKey('targetConfirmations', $invoiceArray); +// self::assertArrayHasKey('refundAddressRequestPending', $invoiceArray); + self::assertArrayHasKey('buyerProvidedEmail', $invoiceArray); + self::assertArrayHasKey('billId', $invoiceArray); + self::assertArrayHasKey('extendedNotifications', $invoiceArray); + self::assertArrayHasKey('transactionCurrency', $invoiceArray); + self::assertArrayHasKey('amountPaid', $invoiceArray); + self::assertArrayHasKey('exchangeRates', $invoiceArray); + self::assertArrayHasKey('merchantName', $invoiceArray); + self::assertArrayHasKey('selectedTransactionCurrency', $invoiceArray); + self::assertArrayHasKey('bitpayIdRequired', $invoiceArray); + self::assertArrayHasKey('forcedBuyerSelectedWallet', $invoiceArray); + self::assertArrayHasKey('isCancelled', $invoiceArray); + self::assertArrayHasKey('buyerEmail', $invoiceArray); + self::assertArrayHasKey('buyerSms', $invoiceArray); + self::assertArrayHasKey('forcedBuyerSelectedTransactionCurrency', $invoiceArray); + + self::assertEquals('BTC', $invoiceArray['currency']); + self::assertEquals('Test guid', $invoiceArray['guid']); + self::assertEquals('4h2h7kee5eh2hh4', $invoiceArray['token']); + self::assertEquals(355.3, $invoiceArray['price']); + self::assertEquals('Test pos data', $invoiceArray['posData']); + self::assertEquals('http://test.com', $invoiceArray['notificationURL']); + self::assertEquals('Test transaction speed', $invoiceArray['transactionSpeed']); + self::assertTrue($invoiceArray['fullNotifications']); + self::assertEquals('test@email.com', $invoiceArray['notificationEmail']); + self::assertEquals('http://test.com', $invoiceArray['redirectURL']); + self::assertEquals('34', $invoiceArray['orderId']); + self::assertEquals('Test item desc', $invoiceArray['itemDesc']); + self::assertEquals('Test item code', $invoiceArray['itemCode']); + self::assertTrue($invoiceArray['physical']); + self::assertEquals(['BTC'], $invoiceArray['paymentCurrencies']); + self::assertEquals(1.1, $invoiceArray['acceptanceWindow']); + self::assertEquals('http://test.com', $invoiceArray['closeURL']); + self::assertTrue($invoiceArray['autoRedirect']); + self::assertEquals(['Test refund address'], $invoiceArray['refundAddresses']); + self::assertEquals('12', $invoiceArray['id']); + self::assertEquals('http://test.com', $invoiceArray['url']); + self::assertEquals('pending', $invoiceArray['status']); + self::assertEquals('Low fee detected', $invoiceArray['lowFeeDetected']); + self::assertEquals(1620734545366, $invoiceArray['invoiceTime']); + self::assertEquals('01:01:01', $invoiceArray['expirationTime']); + self::assertEquals('01:01:01', $invoiceArray['currentTime']); + self::assertEquals('Exception status', $invoiceArray['exceptionStatus']); + self::assertEquals(6, $invoiceArray['targetConfirmations']); + self::assertEquals('test@email.com', $invoiceArray['buyerProvidedEmail']); + self::assertEquals('34', $invoiceArray['billId']); + self::assertTrue($invoiceArray['extendedNotifications']); + self::assertEquals('BTC', $invoiceArray['transactionCurrency']); + self::assertEquals(12, $invoiceArray['amountPaid']); + self::assertEquals($this->getExampleExchangeRates(), $invoiceArray['exchangeRates']); + self::assertEquals('Merchant name', $invoiceArray['merchantName']); + self::assertEquals('BTC', $invoiceArray['selectedTransactionCurrency']); + self::assertTrue($invoiceArray['bitpayIdRequired']); + self::assertEquals('Forced Buyer Selected Wallet', $invoiceArray['forcedBuyerSelectedWallet']); + self::assertTrue($invoiceArray['isCancelled']); + self::assertEquals('test@email.com', $invoiceArray['buyerEmail']); + self::assertEquals('Buyer sms', $invoiceArray['buyerSms']); + self::assertEquals('BTC', $invoiceArray['forcedBuyerSelectedTransactionCurrency']); + } + + public function testToArrayEmptyKey() + { + $invoice = $this->createClassObject(); + $invoiceArray = $invoice->toArray(); + + self::assertNotNull($invoiceArray); + self::assertIsArray($invoiceArray); + + self::assertArrayNotHasKey('transactions', $invoiceArray); + self::assertArrayNotHasKey('refundAddressRequestPending', $invoiceArray); + } + + private function createClassObject(): Invoice + { + return new Invoice(); + } + + /** + * @throws BitPayException + */ + private function setObjectSetters(Invoice $invoice) + { + $invoice->setCurrency('BTC'); + $invoice->setGuid('Test guid'); + $invoice->setToken('4h2h7kee5eh2hh4'); + $invoice->setPrice(355.3); + $invoice->setPosData('Test pos data'); + $invoice->setNotificationURL('http://test.com'); + $invoice->setTransactionSpeed('Test transaction speed'); + $invoice->setFullNotifications(true); + $invoice->setNotificationEmail('test@email.com'); + $invoice->setRedirectURL('http://test.com'); + $invoice->setOrderId('34'); + $invoice->setItemDesc('Test item desc'); + $invoice->setItemCode('Test item code'); + $invoice->setPhysical(true); + $invoice->setPaymentCurrencies(['BTC']); + $invoice->setAcceptanceWindow(1.1); + $invoice->setCloseURL('http://test.com'); + $invoice->setAutoRedirect(true); + $invoice->setRefundAddresses(['Test refund address']); + $invoice->setId('12'); + $invoice->setUrl('http://test.com'); + $invoice->setStatus('pending'); + $invoice->setLowFeeDetected('Low fee detected'); + $invoice->setInvoiceTime(1620734545366); + $invoice->setExpirationTime('01:01:01'); + $invoice->setCurrentTime('01:01:01'); + $invoice->setTransactions([]); + $invoice->setExceptionStatus('Exception status'); + $invoice->setTargetConfirmations(6); + $invoice->setRefundAddressRequestPending(false); + $invoice->setBuyerProvidedEmail('test@email.com'); + $invoice->setBillId('34'); + $invoice->setExtendedNotifications(true); + $invoice->setTransactionCurrency('BTC'); + $invoice->setAmountPaid(12); + $invoice->setExchangeRates($this->getExampleExchangeRates()); + $invoice->setMerchantName('Merchant name'); + $invoice->setSelectedTransactionCurrency('BTC'); + $invoice->setBitpayIdRequired(true); + $invoice->setForcedBuyerSelectedWallet('Forced Buyer Selected Wallet'); + $invoice->setIsCancelled(true); + $invoice->setBuyerEmail('test@email.com'); + $invoice->setBuyerSms('Buyer sms'); + $invoice->setForcedBuyerSelectedTransactionCurrency('BTC'); + } + + /** + * @return array + */ + private function getExampleExchangeRates(): array + { + return [ + "BTC" => [ + "USD" => 17120.09, + "BCH" => 163.84429131974352, + "ETH" => 13.299739755292292, + "GUSD" => 17120.09, + "PAX" => 17120.09, + "BUSD" => 17120.09, + "USDC" => 17120.09, + "DOGE" => 188443.27083844703, + "LTC" => 289.92531752751904, + "MATIC" => 17878.1223893066, + "USDC_m" => 17120.09 + ], + "BCH" => [ + "USD" => 104.38999999999999, + "BTC" => 0.006097902914889888, + "ETH" => 0.08109535832200428, + "GUSD" => 104.38999999999999, + "PAX" => 104.38999999999999, + "BUSD" => 104.38999999999999, + "USDC" => 104.38999999999999, + "DOGE" => 1149.0356092068141, + "LTC" => 1.7678238780694326, + "MATIC" => 109.01211361737676, + "USDC_m" => 104.38999999999999 + ], + "ETH" => [ + "USD" => 1286.54, + "BTC" => 0.07515275424966411, + "BCH" => 12.312565795769931, + "GUSD" => 1286.54, + "PAX" => 1286.54, + "BUSD" => 1286.54, + "USDC" => 1286.54, + "DOGE" => 14161.129156709787, + "LTC" => 21.787298899237936, + "MATIC" => 1343.5045948203842, + "USDC_m" => 1286.54 + ], + "GUSD" => [ + "USD" => 1, + "BTC" => 5.8414627022606464E-5, + "BCH" => 0.009570293808019907, + "ETH" => 7.768498737618955E-4, + "PAX" => 1, + "BUSD" => 1, + "USDC" => 1, + "DOGE" => 11.007142534790825, + "LTC" => 0.01693480101608806, + "MATIC" => 1.0442773600668336, + "USDC_m" => 1 + ], + "PAX" => [ + "USD" => 1, + "BTC" => 5.8414627022606464E-5, + "BCH" => 0.009570293808019907, + "ETH" => 7.768498737618955E-4, + "GUSD" => 1, + "BUSD" => 1, + "USDC" => 1, + "DOGE" => 11.007142534790825, + "LTC" => 0.01693480101608806, + "MATIC" => 1.0442773600668336, + "USDC_m" => 1 + ], + "BUSD" => [ + "USD" => 1, + "BTC" => 5.8414627022606464E-5, + "BCH" => 0.009570293808019907, + "ETH" => 7.768498737618955E-4, + "GUSD" => 1, + "PAX" => 1, + "USDC" => 1, + "DOGE" => 11.007142534790825, + "LTC" => 0.01693480101608806, + "MATIC" => 1.0442773600668336, + "USDC_m" => 1 + ], + "USDC" => [ + "USD" => 1, + "BTC" => 5.8414627022606464E-5, + "BCH" => 0.009570293808019907, + "ETH" => 7.768498737618955E-4, + "GUSD" => 1, + "PAX" => 1, + "BUSD" => 1, + "DOGE" => 11.007142534790825, + "LTC" => 0.01693480101608806, + "MATIC" => 1.0442773600668336, + "USDC_m" => 1 + ], + "DOGE" => [ + "USD" => 0.09077389999999999, + "BTC" => 5.302523511887377E-6, + "BCH" => 8.687328930998182E-4, + "ETH" => 7.051769275587492E-5, + "GUSD" => 0.09077389999999999, + "PAX" => 0.09077389999999999, + "BUSD" => 0.09077389999999999, + "USDC" => 0.09077389999999999, + "LTC" => 0.0015372379339542762, + "MATIC" => 0.09479312865497075, + "USDC_m" => 0.09077389999999999 + ], + "LTC" => [ + "USD" => 59.02, + "BTC" => 0.0034476312868742336, + "BCH" => 0.5648387405493349, + "ETH" => 0.04584967954942708, + "GUSD" => 59.02, + "PAX" => 59.02, + "BUSD" => 59.02, + "USDC" => 59.02, + "DOGE" => 649.6415524033546, + "MATIC" => 61.63324979114453, + "USDC_m" => 59.02 + ], + "MATIC" => [ + "USD" => 0.9597999999999999, + "BTC" => 5.6066359016297676E-5, + "BCH" => 0.009185567996937507, + "ETH" => 7.456205088366673E-4, + "GUSD" => 0.9597999999999999, + "PAX" => 0.9597999999999999, + "BUSD" => 0.9597999999999999, + "USDC" => 0.9597999999999999, + "DOGE" => 10.564655404892232, + "LTC" => 0.016254022015241322, + "USDC_m" => 0.9597999999999999 + ], + "USDC_m" => [ + "USD" => 1, + "BTC" => 5.8414627022606464E-5, + "BCH" => 0.009570293808019907, + "ETH" => 7.768498737618955E-4, + "GUSD" => 1, + "PAX" => 1, + "BUSD" => 1, + "USDC" => 1, + "DOGE" => 11.007142534790825, + "LTC" => 0.01693480101608806, + "MATIC" => 1.0442773600668336 + ] + ]; + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php new file mode 100644 index 0000000..e2be088 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php @@ -0,0 +1,70 @@ +createClassObject(); + self::assertInstanceOf(ItemizedDetails::class, $itemizedDetails); + } + + public function testGetAmount() + { + $expectedAmount = 15.5; + + $itemizedDetails = $this->createClassObject(); + $itemizedDetails->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $itemizedDetails->getAmount()); + } + + public function testGetDescription() + { + $expectedDescription = 'Test description'; + + $itemizedDetails = $this->createClassObject(); + $itemizedDetails->setDescription($expectedDescription); + self::assertEquals($expectedDescription, $itemizedDetails->getDescription()); + } + + public function testGetIsFee() + { + $itemizedDetails = $this->createClassObject(); + $itemizedDetails->setIsFee(true); + self::assertTrue($itemizedDetails->getIsFee()); + } + + public function testToArray() + { + $itemizedDetails = $this->createClassObject(); + $this->setSetters($itemizedDetails); + $itemizedDetailsArray = $itemizedDetails->toArray(); + + self::assertNotNull($itemizedDetailsArray); + self::assertIsArray($itemizedDetailsArray); + + self::assertArrayHasKey('amount', $itemizedDetailsArray); + self::assertArrayHasKey('description', $itemizedDetailsArray); + self::assertArrayHasKey('isFee', $itemizedDetailsArray); + + self::assertEquals(15.5, $itemizedDetailsArray['amount']); + self::assertEquals('Test description', $itemizedDetailsArray['description']); + self::assertEquals(true, $itemizedDetailsArray['isFee']); + } + + private function createClassObject(): ItemizedDetails + { + return new ItemizedDetails(); + } + + private function setSetters(ItemizedDetails $itemizedDetails) + { + $itemizedDetails->setAmount(15.5); + $itemizedDetails->setDescription('Test description'); + $itemizedDetails->setIsFee(true); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesItemTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesItemTest.php new file mode 100644 index 0000000..eca5987 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesItemTest.php @@ -0,0 +1,67 @@ +createClassObject(); + self::assertInstanceOf(MinerFeesItem::class, $minerFeesItem); + } + + public function testGetSatoshisPerByte() + { + $expectedSatoshiPerByte = 1.1; + + $minerFeesItem = $this->createClassObject(); + $minerFeesItem->setSatoshisPerByte($expectedSatoshiPerByte); + self::assertEquals($expectedSatoshiPerByte, $minerFeesItem->getSatoshisPerByte()); + } + + public function testGetTotalFee() + { + $expectedTotalFee = 1.1; + + $minerFeesItem = $this->createClassObject(); + $minerFeesItem->setTotalFee($expectedTotalFee); + self::assertEquals($expectedTotalFee, $minerFeesItem->getTotalFee()); + } + + public function testGetFiatAmount() + { + $expectedFiatAmount = 1.1; + + $minerFeesItem = $this->createClassObject(); + $minerFeesItem->setFiatAmount($expectedFiatAmount); + self::assertEquals($expectedFiatAmount, $minerFeesItem->getFiatAmount()); + } + + public function testToArray() + { + $minerFeesItem = $this->createClassObject(); + $minerFeesItem->setSatoshisPerByte(1.1); + $minerFeesItem->setTotalFee(1.1); + $minerFeesItem->setFiatAmount(null); + + $minerFeesItemArray = $minerFeesItem->toArray(); + + self::assertNotNull($minerFeesItemArray); + self::assertIsArray($minerFeesItemArray); + + self::assertArrayHasKey('satoshisPerByte', $minerFeesItemArray); + self::assertArrayHasKey('totalFee', $minerFeesItemArray); + self::assertArrayNotHasKey('fiatAmount', $minerFeesItemArray); + + self::assertEquals(1.1, $minerFeesItemArray['satoshisPerByte']); + self::assertEquals(1.1, $minerFeesItemArray['totalFee']); + } + + private function createClassObject(): MinerFeesItem + { + return new MinerFeesItem(); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesTest.php new file mode 100644 index 0000000..26aa6d7 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/MinerFeesTest.php @@ -0,0 +1,139 @@ +createClassObject(); + self::assertInstanceOf(MinerFees::class, $minesFees); + } + + public function testGetBTC() + { + $expectedBTC = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setBTC($expectedBTC); + self::assertEquals($expectedBTC, $minesFees->getBTC()); + } + + public function testGetBCH() + { + $expectedBCH = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setBCH($expectedBCH); + self::assertEquals($expectedBCH, $minesFees->getBCH()); + } + + public function testGetETH() + { + $expectedETH = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setETH($expectedETH); + self::assertEquals($expectedETH, $minesFees->getETH()); + } + + public function testGetUSDC() + { + $expectedUSDC = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setUSDC($expectedUSDC); + self::assertEquals($expectedUSDC, $minesFees->getUSDC()); + } + + public function testGetGUSD() + { + $expectedGUSD = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setGUSD($expectedGUSD); + self::assertEquals($expectedGUSD, $minesFees->getGUSD()); + } + + public function testGetPAX() + { + $expectedPAX = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setPAX($expectedPAX); + self::assertEquals($expectedPAX, $minesFees->getPAX()); + } + + public function testGetBUSD() + { + $expectedBUSD = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setBUSD($expectedBUSD); + self::assertEquals($expectedBUSD, $minesFees->getBUSD()); + } + + public function testGetXRP() + { + $expectedXRP = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setXRP($expectedXRP); + self::assertEquals($expectedXRP, $minesFees->getXRP()); + } + + public function testGetDOGE() + { + $expectedDOGE = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setDOGE($expectedDOGE); + self::assertEquals($expectedDOGE, $minesFees->getDOGE()); + } + + public function testGetLTC() + { + $expectedLTC = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + + $minesFees = $this->createClassObject(); + $minesFees->setLTC($expectedLTC); + self::assertEquals($expectedLTC, $minesFees->getLTC()); + } + + public function testToArray() + { + $expectedMinerFeesItem = $this->getMockBuilder(MinerFeesItem::class)->getMock(); + $expectedMinerFeesItem->expects(self::once())->method('toArray')->willReturn(['satoshisPerByte' => 1.1, 'totalFee' => 1.1, 'fiatAmount' => 1.1]); + $minesFees = $this->createClassObject(); + $minesFees->setBTC($expectedMinerFeesItem); + $minesFeesArray = $minesFees->toArray(); + + self::assertNotNull($minesFeesArray); + self::assertIsArray($minesFeesArray); + + self::assertArrayHasKey('btc', $minesFeesArray); + self::assertArrayNotHasKey('bch', $minesFeesArray); + self::assertEquals(['btc' => ['satoshisPerByte' => 1.1, 'totalFee' => 1.1, 'fiatAmount' => 1.1]], $minesFeesArray); + } + + public function testToArrayEmptyKey() + { + $minesFees = $this->createClassObject(); + + $minesFeesArray = $minesFees->toArray(); + + self::assertNotNull($minesFeesArray); + self::assertIsArray($minesFeesArray); + + self::assertArrayNotHasKey('btc', $minesFeesArray); + } + + private function createClassObject(): MinerFees + { + return new MinerFees(); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundInfoTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundInfoTest.php new file mode 100644 index 0000000..2590248 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundInfoTest.php @@ -0,0 +1,71 @@ +createClassObject(); + self::assertInstanceOf(RefundInfo::class, $refundInfo); + } + + public function testGetSupportRequest() + { + $expectedSupportRequest = 'Test support request'; + + $refundInfo = $this->createClassObject(); + $refundInfo->setSupportRequest($expectedSupportRequest); + self::assertEquals($expectedSupportRequest, $refundInfo->getSupportRequest()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $refundInfo = $this->createClassObject(); + $refundInfo->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $refundInfo->getCurrency()); + } + + public function testGetAmounts() + { + $expectedAmount = ['test amount']; + + $refundInfo = $this->createClassObject(); + $refundInfo->setAmounts($expectedAmount); + self::assertEquals($expectedAmount, $refundInfo->getAmounts()); + } + + public function testToArray() + { + $refundInfo = $this->createClassObject(); + $this->setSetters($refundInfo); + $refundInfoArray = $refundInfo->toArray(); + + self::assertNotNull($refundInfoArray); + self::assertIsArray($refundInfoArray); + + self::assertArrayHasKey('supportRequest', $refundInfoArray); + self::assertArrayHasKey('currency', $refundInfoArray); + self::assertArrayNotHasKey('amounts', $refundInfoArray); + + self::assertEquals('Test support request', $refundInfoArray['supportRequest']); + self::assertEquals('BTC', $refundInfoArray['currency']); + } + + private function createClassObject(): RefundInfo + { + return new RefundInfo(); + } + + private function setSetters(RefundInfo $refundInfo) + { + $refundInfo->setSupportRequest('Test support request'); + $refundInfo->setCurrency('BTC'); + $refundInfo->setAmounts([]); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundTest.php new file mode 100644 index 0000000..9914a14 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundTest.php @@ -0,0 +1,210 @@ +createClassObject(); + self::assertInstanceOf(Refund::class, $refund); + } + + public function testGetGuid() + { + $expectedGuid = 'Test guid'; + + $refund = $this->createClassObject(); + $refund->setGuid($expectedGuid); + self::assertEquals($expectedGuid, $refund->getGuid()); + } + + public function testGetReference() + { + $expectedReference = 'Test reference'; + + $refund = $this->createClassObject(); + $refund->setReference($expectedReference); + self::assertEquals($expectedReference, $refund->getReference()); + } + + public function testGetAmount() + { + $expectedAmount = 15.0; + + $refund = $this->createClassObject(); + $refund->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $refund->getAmount()); + } + + public function testGetToken() + { + $expectedToken = 'Test token'; + + $refund = $this->createClassObject(); + $refund->setToken($expectedToken); + self::assertEquals($expectedToken, $refund->getToken()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $refund = $this->createClassObject(); + $refund->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $refund->getCurrency()); + } + + public function testGetPreview() + { + $refund = $this->createClassObject(); + $refund->setPreview(true); + self::assertTrue($refund->getPreview()); + } + + public function testGetInvoiceId() + { + $expectedInvoiceId = '15'; + + $refund = $this->createClassObject(); + $refund->setInvoiceId($expectedInvoiceId); + self::assertEquals($expectedInvoiceId, $refund->getInvoiceId()); + } + + public function testGetId() + { + $expectedId = '10'; + + $refund = $this->createClassObject(); + $refund->setId($expectedId); + self::assertEquals($expectedId, $refund->getId()); + } + + public function testGetRequestDate() + { + $expectedRequestDate = '2022-01-01'; + + $refund = $this->createClassObject(); + $refund->setRequestDate($expectedRequestDate); + self::assertEquals($expectedRequestDate, $refund->getRequestDate()); + } + + public function testGetStatus() + { + $expectedStatus = 'pending'; + + $refund = $this->createClassObject(); + $refund->setStatus($expectedStatus); + self::assertEquals($expectedStatus, $refund->getStatus()); + } + + public function testGetImmediate() + { + $refund = $this->createClassObject(); + $refund->setImmediate(true); + self::assertTrue($refund->getImmediate()); + } + + public function testGetRefundFee() + { + $expectedRefundFee = 1.0; + + $refund = $this->createClassObject(); + $refund->setRefundFee($expectedRefundFee); + self::assertEquals($expectedRefundFee, $refund->getRefundFee()); + } + + public function testGetLastRefundNotification() + { + $expectedLastRefundNotification = 'Test last refund notification'; + + $refund = $this->createClassObject(); + $refund->setLastRefundNotification($expectedLastRefundNotification); + self::assertEquals($expectedLastRefundNotification, $refund->getLastRefundNotification()); + } + + public function testGetInvoice() + { + $expectedInvoice = 'Test invoice'; + + $refund = $this->createClassObject(); + $refund->setInvoice($expectedInvoice); + self::assertEquals($expectedInvoice, $refund->getInvoice()); + } + + public function testGetBuyerPaysRefundFee() + { + $refund = $this->createClassObject(); + $refund->setBuyerPaysRefundFee(true); + self::assertTrue($refund->getBuyerPaysRefundFee()); + } + + public function testToArray() + { + $refund = $this->createClassObject(); + $this->prepareRefund($refund); + $refundArray = $refund->toArray(); + + self::assertNotNull($refundArray); + self::assertIsArray($refundArray); + + self::assertArrayHasKey('guid', $refundArray); + self::assertArrayHasKey('amount', $refundArray); + self::assertArrayHasKey('currency', $refundArray); + self::assertArrayHasKey('token', $refundArray); + self::assertArrayHasKey('id', $refundArray); + self::assertArrayHasKey('requestDate', $refundArray); + self::assertArrayHasKey('status', $refundArray); + self::assertArrayHasKey('invoiceId', $refundArray); + self::assertArrayHasKey('preview', $refundArray); + self::assertArrayHasKey('immediate', $refundArray); + self::assertArrayHasKey('refundFee', $refundArray); + self::assertArrayHasKey('invoice', $refundArray); + self::assertArrayHasKey('buyerPaysRefundFee', $refundArray); + self::assertArrayHasKey('reference', $refundArray); + self::assertArrayHasKey('lastRefundNotification', $refundArray); + + self::assertEquals('Guid', $refundArray['guid']); + self::assertEquals(11.1, $refundArray['amount']); + self::assertEquals('BTC', $refundArray['currency']); + self::assertEquals('Token', $refundArray['token']); + self::assertEquals('1', $refundArray['id']); + 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::assertEquals(1.0, $refundArray['refundFee']); + self::assertEquals('Invoice', $refundArray['invoice']); + self::assertEquals(true, $refundArray['buyerPaysRefundFee']); + self::assertEquals('Reference', $refundArray['reference']); + self::assertEquals('Last refunded notification', $refundArray['lastRefundNotification']); + } + + private function createClassObject(): Refund + { + return new Refund(); + } + + private function prepareRefund(Refund $refund): void + { + $refund->setGuid('Guid'); + $refund->setAmount(11.1); + $refund->setCurrency('BTC'); + $refund->setToken('Token'); + $refund->setId('1'); + $refund->setRequestDate('2022-01-01'); + $refund->setStatus('pending'); + $refund->setInvoiceId('11'); + $refund->setPreview(true); + $refund->setImmediate(true); + $refund->setRefundFee(1.0); + $refund->setInvoice('Invoice'); + $refund->setBuyerPaysRefundFee(true); + $refund->setReference('Reference'); + $refund->setLastRefundNotification('Last refunded notification'); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php new file mode 100644 index 0000000..81ddbc7 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php @@ -0,0 +1,165 @@ +createClassObject(); + self::assertInstanceOf(RefundWebhook::class, $refundWebhook); + } + + public function testGetId() + { + $expectedId = 'GZBBLcsgQamua3PN8GX92s'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setId($expectedId); + self::assertEquals($expectedId, $refundWebhook->getId()); + } + + public function testGetInvoice() + { + $expectedInvoice = 'Wp9cpGphCz7cSeFh6MSYpb'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setInvoice($expectedInvoice); + self::assertEquals($expectedInvoice, $refundWebhook->getInvoice()); + } + + public function testGetSupportRequest() + { + $expectedSupportRequest = 'XuuYtZfTw7G99Ws3z38kWZ'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setSupportRequest($expectedSupportRequest); + self::assertEquals($expectedSupportRequest, $refundWebhook->getSupportRequest()); + } + + public function testGetStatus() + { + $expectedStatus = 'pending'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setStatus($expectedStatus); + self::assertEquals($expectedStatus, $refundWebhook->getStatus()); + } + + public function testGetAmount() + { + $expectedAmount = 6; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $refundWebhook->getAmount()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'USD'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $refundWebhook->getCurrency()); + } + + public function testGetLastRefundNotification() + { + $expectedLastRefundNotification = '2022-01-11T16:58:23.967Z'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setLastRefundNotification($expectedLastRefundNotification); + self::assertEquals($expectedLastRefundNotification, $refundWebhook->getLastRefundNotification()); + } + + public function testGetRefundFee() + { + $expectedRefundFee = 2.31; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setRefundFee($expectedRefundFee); + self::assertEquals($expectedRefundFee, $refundWebhook->getRefundFee()); + } + + public function testImmediate() + { + $refundWebhook = $this->createClassObject(); + $refundWebhook->setImmediate(false); + self::assertFalse($refundWebhook->getImmediate()); + } + + public function testGetBuyerPaysRefundFee() + { + $refundWebhook = $this->createClassObject(); + $refundWebhook->setBuyerPaysRefundFee(true); + self::assertTrue($refundWebhook->getBuyerPaysRefundFee()); + } + + public function testGetRequestDate() + { + $expectedRequestDate = '2022-01-11T16:58:23.000Z'; + + $refundWebhook = $this->createClassObject(); + $refundWebhook->setRequestDate($expectedRequestDate); + self::assertEquals($expectedRequestDate, $refundWebhook->getRequestDate()); + } + + public function testToArray() + { + $refundWebhook = $this->createClassObject(); + $this->objectSetters($refundWebhook); + + $refundWebhookArray = $refundWebhook->toArray(); + + self::assertNotNull($refundWebhookArray); + self::assertIsArray($refundWebhookArray); + + self::assertArrayHasKey('id', $refundWebhookArray); + self::assertArrayHasKey('invoice', $refundWebhookArray); + self::assertArrayHasKey('supportRequest', $refundWebhookArray); + self::assertArrayHasKey('status', $refundWebhookArray); + self::assertArrayHasKey('amount', $refundWebhookArray); + self::assertArrayHasKey('currency', $refundWebhookArray); + self::assertArrayHasKey('lastRefundNotification', $refundWebhookArray); + self::assertArrayHasKey('refundFee', $refundWebhookArray); + self::assertArrayHasKey('immediate', $refundWebhookArray); + self::assertArrayHasKey('buyerPaysRefundFee', $refundWebhookArray); + self::assertArrayHasKey('requestDate', $refundWebhookArray); + + self::assertEquals('GZBBLcsgQamua3PN8GX92s', $refundWebhookArray['id']); + self::assertEquals('Wp9cpGphCz7cSeFh6MSYpb', $refundWebhookArray['invoice']); + self::assertEquals('XuuYtZfTw7G99Ws3z38kWZ', $refundWebhookArray['supportRequest']); + self::assertEquals('pending', $refundWebhookArray['status']); + self::assertEquals(6, $refundWebhookArray['amount']); + 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::assertEquals('2022-01-11T16:58:23.000Z', $refundWebhookArray['requestDate']); + } + + private function createClassObject(): RefundWebhook + { + return new RefundWebhook(); + } + + private function objectSetters(RefundWebhook $refundWebhook): void + { + $refundWebhook->setId('GZBBLcsgQamua3PN8GX92s'); + $refundWebhook->setInvoice('Wp9cpGphCz7cSeFh6MSYpb'); + $refundWebhook->setSupportRequest('XuuYtZfTw7G99Ws3z38kWZ'); + $refundWebhook->setStatus('pending'); + $refundWebhook->setAmount(6); + $refundWebhook->setCurrency('USD'); + $refundWebhook->setLastRefundNotification('2022-01-11T16:58:23.967Z'); + $refundWebhook->setRefundFee(2.31); + $refundWebhook->setImmediate(false); + $refundWebhook->setBuyerPaysRefundFee(true); + $refundWebhook->setRequestDate('2022-01-11T16:58:23.000Z'); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ShopperTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ShopperTest.php new file mode 100644 index 0000000..9fd259d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/ShopperTest.php @@ -0,0 +1,49 @@ +createClassObject(); + self::assertInstanceOf(Shopper::class, $shopper); + } + + public function testGetUser() + { + $expectedUser = 'Test user'; + + $shopper = $this->createClassObject(); + $shopper->setUser($expectedUser); + self::assertEquals($expectedUser, $shopper->getUser()); + } + + public function testToArray() + { + $shopper = $this->createClassObject(); + $shopper->setUser('Test user'); + $shopperArray = $shopper->toArray(); + + self::assertNotNull($shopperArray); + self::assertIsArray($shopperArray); + + self::assertArrayHasKey('user', $shopperArray); + self::assertEquals('Test user', $shopperArray['user']); + } + + public function testToArrayEmptyUser() + { + $shopper = $this->createClassObject(); + $shopperArray = $shopper->toArray(); + self::assertArrayNotHasKey('user', $shopperArray); + } + + private function createClassObject(): Shopper + { + return new Shopper(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrenciesTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrenciesTest.php new file mode 100644 index 0000000..d525c8f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrenciesTest.php @@ -0,0 +1,104 @@ +createClassObject(); + self::assertInstanceOf(SupportedTransactionCurrencies::class, $supportedTransactionCurrencies); + } + + public function testGetBTC() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setBTC($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getBTC()); + } + + public function testGetBCH() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setBCH($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getBCH()); + } + + public function testGetETH() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setETH($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getETH()); + } + + public function testGetUSDC() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setUSDC($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getUSDC()); + } + + public function testGetGUSD() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setGUSD($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getGUSD()); + } + + public function testGetPAX() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setPAX($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getPAX()); + } + + public function testGetXRP() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setXRP($expectedSupportedTransactionCurrency); + self::assertEquals($expectedSupportedTransactionCurrency, $supportedTransactionCurrencies->getXRP()); + } + + public function testToArray() + { + $expectedSupportedTransactionCurrency = $this->getMockBuilder(SupportedTransactionCurrency::class)->getMock(); + $expectedSupportedTransactionCurrency->expects(self::once())->method('toArray')->willReturn(['enabled' => true, 'reason' => 'test']); + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrencies->setBTC($expectedSupportedTransactionCurrency); + $supportedTransactionCurrenciesArray = $supportedTransactionCurrencies->toArray(); + + self::assertNotNull($supportedTransactionCurrenciesArray); + self::assertIsArray($supportedTransactionCurrenciesArray); + + self::assertArrayHasKey('btc', $supportedTransactionCurrenciesArray); + self::assertArrayNotHasKey('bch', $supportedTransactionCurrenciesArray); + self::assertEquals(['btc' => ['enabled' => true, 'reason' => 'test']], $supportedTransactionCurrenciesArray); + } + + public function testToArrayEmptyKey() + { + $supportedTransactionCurrencies = $this->createClassObject(); + $supportedTransactionCurrenciesArray = $supportedTransactionCurrencies->toArray(); + + self::assertNotNull($supportedTransactionCurrenciesArray); + self::assertIsArray($supportedTransactionCurrenciesArray); + + self::assertArrayNotHasKey('btc', $supportedTransactionCurrenciesArray); + } + + private function createClassObject(): SupportedTransactionCurrencies + { + return new SupportedTransactionCurrencies(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php new file mode 100644 index 0000000..70d9395 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php @@ -0,0 +1,71 @@ +createClassObject(); + self::assertInstanceOf(SupportedTransactionCurrency::class, $supportedTransactionCurrency); + } + + public function testGetEnabled() + { + $supportedTransactionCurrency = $this->createClassObject(); + $supportedTransactionCurrency->setEnabled(true); + self::assertTrue($supportedTransactionCurrency->getEnabled()); + } + + public function testGetReason() + { + $expectedReason = "My reason"; + + $supportedTransactionCurrency = $this->createClassObject(); + $supportedTransactionCurrency->setReason($expectedReason); + self::assertEquals($expectedReason, $supportedTransactionCurrency->getReason()); + } + + public function testToArray() + { + $supportedTransactionCurrency = $this->createClassObject(); + $this->objectSetters($supportedTransactionCurrency); + + $supportedTransactionCurrencyArray = $supportedTransactionCurrency->toArray(); + + self::assertNotNull($supportedTransactionCurrencyArray); + self::assertIsArray($supportedTransactionCurrencyArray); + + self::assertArrayHasKey('enabled', $supportedTransactionCurrencyArray); + self::assertArrayHasKey('reason', $supportedTransactionCurrencyArray); + + self::assertEquals(true, $supportedTransactionCurrencyArray['enabled']); + self::assertEquals("My reason", $supportedTransactionCurrencyArray['reason']); + } + + public function testToArrayEmptyKey() + { + $supportedTransactionCurrency = $this->createClassObject(); + + $supportedTransactionCurrencyArray = $supportedTransactionCurrency->toArray(); + + self::assertNotNull($supportedTransactionCurrencyArray); + self::assertIsArray($supportedTransactionCurrencyArray); + + self::assertArrayNotHasKey('enabled', $supportedTransactionCurrencyArray); + } + + private function createClassObject(): SupportedTransactionCurrency + { + return new SupportedTransactionCurrency(); + } + + private function objectSetters(SupportedTransactionCurrency $supportedTransactionCurrency): void + { + $supportedTransactionCurrency->setEnabled(true); + $supportedTransactionCurrency->setReason("My reason"); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/UniversalCodesTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/UniversalCodesTest.php new file mode 100644 index 0000000..ba3ac7f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Invoice/UniversalCodesTest.php @@ -0,0 +1,60 @@ +createClassObject(); + self::assertInstanceOf(UniversalCodes::class, $universalCodes); + } + + public function testGetPaymentString() + { + $expectedPaymentString = 'Test payment string'; + + $universalCodes = $this->createClassObject(); + $universalCodes->setPaymentString($expectedPaymentString); + self::assertEquals($expectedPaymentString, $universalCodes->getPaymentString()); + } + + public function testGetVerificationLink() + { + $expectedVerificationLink = 'http://test.com'; + + $universalCodes = $this->createClassObject(); + $universalCodes->setVerificationLink($expectedVerificationLink); + self::assertEquals($expectedVerificationLink, $universalCodes->getVerificationLink()); + } + + public function testToArray() + { + $universalCodes = $this->createClassObject(); + $this->setSetters($universalCodes); + $universalCodesArray = $universalCodes->toArray(); + + self::assertNotNull($universalCodesArray); + self::assertIsArray($universalCodesArray); + + self::assertArrayHasKey('paymentString', $universalCodesArray); + self::assertArrayHasKey('verificationLink', $universalCodesArray); + + self::assertEquals('Test payment string', $universalCodesArray['paymentString']); + self::assertEquals('http://test.com', $universalCodesArray['verificationLink']); + } + + private function createClassObject(): UniversalCodes + { + return new UniversalCodes(); + } + + private function setSetters(UniversalCodes $universalCodes) + { + $universalCodes->setPaymentString('Test payment string'); + $universalCodes->setVerificationLink('http://test.com'); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/BuyerTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/BuyerTest.php new file mode 100644 index 0000000..d3711f4 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/BuyerTest.php @@ -0,0 +1,158 @@ +createClassObject(); + self::assertInstanceOf(Buyer::class, $buyer); + } + + public function testGetName() + { + $expectedName = 'Test Name'; + + $buyer = $this->createClassObject(); + $buyer->setName($expectedName); + self::assertEquals($expectedName, $buyer->getName()); + } + + public function testGetAddress1() + { + $expectedAddress1 = 'Address 1'; + + $buyer = $this->createClassObject(); + $buyer->setAddress1($expectedAddress1); + self::assertEquals($expectedAddress1, $buyer->getAddress1()); + } + + public function testGetAddress2() + { + $expectedAddress2 = 'Address 2'; + + $buyer = $this->createClassObject(); + $buyer->setAddress2($expectedAddress2); + self::assertEquals($expectedAddress2, $buyer->getAddress2()); + } + + public function testGetCity() + { + $expectedCity = 'Miami'; + + $buyer = $this->createClassObject(); + $buyer->setCity($expectedCity); + self::assertEquals($expectedCity, $buyer->getCity()); + } + + public function testGetState() + { + $expectedState = 'AB'; + + $buyer = $this->createClassObject(); + $buyer->setState($expectedState); + self::assertEquals($expectedState, $buyer->getState()); + } + + public function testGetZip() + { + $expectedZip = '12345'; + + $buyer = $this->createClassObject(); + $buyer->setZip($expectedZip); + self::assertEquals($expectedZip, $buyer->getZip()); + } + + public function testGetCountry() + { + $expectedCountry = 'Canada'; + + $buyer = $this->createClassObject(); + $buyer->setCountry($expectedCountry); + self::assertEquals($expectedCountry, $buyer->getCountry()); + } + + public function testGetEmail() + { + $expectedEmail = 'test@email.com'; + + $buyer = $this->createClassObject(); + $buyer->setEmail($expectedEmail); + self::assertEquals($expectedEmail, $buyer->getEmail()); + } + + public function testGetPhone() + { + $expectedPhone = '123456789'; + + $buyer = $this->createClassObject(); + $buyer->setPhone($expectedPhone); + self::assertEquals($expectedPhone, $buyer->getPhone()); + } + + public function testGetNotify() + { + $buyer = $this->createClassObject(); + $buyer->setNotify(true); + self::assertTrue($buyer->getNotify()); + + $buyer->setNotify(false); + self::assertFalse($buyer->getNotify()); + } + + public function testToArray() + { + $buyer = $this->createClassObject(); + $this->setSetters($buyer); + + $buyerArray = $buyer->toArray(); + + self::assertNotNull($buyerArray); + self::assertIsArray($buyerArray); + + self::assertArrayHasKey('name', $buyerArray); + self::assertArrayHasKey('address1', $buyerArray); + self::assertArrayHasKey('address2', $buyerArray); + self::assertArrayHasKey('city', $buyerArray); + self::assertArrayHasKey('state', $buyerArray); + self::assertArrayHasKey('zip', $buyerArray); + self::assertArrayHasKey('country', $buyerArray); + self::assertArrayHasKey('phone', $buyerArray); + self::assertArrayHasKey('notify', $buyerArray); + self::assertArrayHasKey('email', $buyerArray); + + self::assertEquals('TestName', $buyerArray['name']); + self::assertEquals('Address1', $buyerArray['address1']); + self::assertEquals('Address2', $buyerArray['address2']); + self::assertEquals('Miami', $buyerArray['city']); + self::assertEquals('AB', $buyerArray['state']); + self::assertEquals('12345', $buyerArray['zip']); + self::assertEquals('USA', $buyerArray['country']); + self::assertEquals('123456789', $buyerArray['phone']); + self::assertTrue($buyerArray['notify']); + self::assertEquals('test@email.com', $buyerArray['email']); + } + + private function createClassObject(): Buyer + { + return new Buyer(); + } + + private function setSetters(Buyer $buyer) + { + $buyer->setName('TestName'); + $buyer->setAddress1('Address1'); + $buyer->setAddress2('Address2'); + $buyer->setCity('Miami'); + $buyer->setState('AB'); + $buyer->setZip('12345'); + $buyer->setCountry('USA'); + $buyer->setPhone('123456789'); + $buyer->setNotify(true); + $buyer->setEmail('test@email.com'); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerEntryTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerEntryTest.php new file mode 100644 index 0000000..4d3768e --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerEntryTest.php @@ -0,0 +1,215 @@ +createClassObject(); + self::assertInstanceOf(LedgerEntry::class, $ledgerEntry); + } + + public function testGetType() + { + $expectedType = 'TestType'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setType($expectedType); + self::assertEquals($expectedType, $ledgerEntry->getType()); + } + + public function testGetAmount() + { + $expectedAmount = '1'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $ledgerEntry->getAmount()); + } + + public function testGetCode() + { + $expectedCode = 'abc123'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setCode($expectedCode); + self::assertEquals($expectedCode, $ledgerEntry->getCode()); + } + + public function testGetTimestamp() + { + $expectedTimestamp = '2020-01-01 18:10:10'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setTimestamp($expectedTimestamp); + self::assertEquals($expectedTimestamp, $ledgerEntry->getTimestamp()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $ledgerEntry->getCurrency()); + } + + public function testGetTxType() + { + $expectedTxType = 'TxType'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setTxType($expectedTxType); + self::assertEquals($expectedTxType, $ledgerEntry->getTxType()); + } + + public function testGetScale() + { + $expectedScale = 'TestScale'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setScale($expectedScale); + self::assertEquals($expectedScale, $ledgerEntry->getScale()); + } + + public function testGetId() + { + $expectedId = '1'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setId($expectedId); + self::assertEquals($expectedId, $ledgerEntry->getId()); + } + + public function testGetSupportRequest() + { + $expectedSupportRequest = 'Test support request'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setSupportRequest($expectedSupportRequest); + self::assertEquals($expectedSupportRequest, $ledgerEntry->getSupportRequest()); + } + + public function testGetDescription() + { + $expectedDescription = 'Test description'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setDescription($expectedDescription); + self::assertEquals($expectedDescription, $ledgerEntry->getDescription()); + } + + public function testGetInvoiceId() + { + $expectedInvoiceId = '1'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setInvoiceId($expectedInvoiceId); + self::assertEquals($expectedInvoiceId, $ledgerEntry->getInvoiceId()); + } + + public function testGetBuyerFields() + { + $expectedBuyerField = new Buyer(); + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setBuyerFields($expectedBuyerField); + self::assertEquals($expectedBuyerField, $ledgerEntry->getBuyerFields()); + } + + public function testGetInvoiceAmount() + { + $expectedInvoiceAmount = 20.7; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setInvoiceAmount($expectedInvoiceAmount); + self::assertEquals($expectedInvoiceAmount, $ledgerEntry->getInvoiceAmount()); + } + + public function testGetInvoiceCurrency() + { + $expectedInvoiceCurrency = 'BTC'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setInvoiceCurrency($expectedInvoiceCurrency); + self::assertEquals($expectedInvoiceCurrency, $ledgerEntry->getInvoiceCurrency()); + } + + public function testGetTransactionCurrency() + { + $expectedTransactionCurrency = 'BTC'; + + $ledgerEntry = $this->createClassObject(); + $ledgerEntry->setTransactionCurrency($expectedTransactionCurrency); + self::assertEquals($expectedTransactionCurrency, $ledgerEntry->getTransactionCurrency()); + } + + public function testToArray() + { + $ledgerEntry = $this->createClassObject(); + $this->setSetters($ledgerEntry); + $ledgerEntryArray = $ledgerEntry->toArray(); + + self::assertNotNull($ledgerEntryArray); + self::assertIsArray($ledgerEntryArray); + + self::assertArrayHasKey('type', $ledgerEntryArray); + self::assertArrayHasKey('amount', $ledgerEntryArray); + self::assertArrayHasKey('code', $ledgerEntryArray); + self::assertArrayHasKey('timestamp', $ledgerEntryArray); + self::assertArrayHasKey('currency', $ledgerEntryArray); + self::assertArrayHasKey('txType', $ledgerEntryArray); + self::assertArrayHasKey('scale', $ledgerEntryArray); + self::assertArrayHasKey('id', $ledgerEntryArray); + self::assertArrayHasKey('supportRequest', $ledgerEntryArray); + self::assertArrayHasKey('description', $ledgerEntryArray); + self::assertArrayHasKey('invoiceId', $ledgerEntryArray); + self::assertArrayHasKey('invoiceAmount', $ledgerEntryArray); + self::assertArrayHasKey('invoiceCurrency', $ledgerEntryArray); + self::assertArrayHasKey('transactionCurrency', $ledgerEntryArray); + + self::assertEquals('TestType', $ledgerEntryArray['type']); + self::assertEquals('1', $ledgerEntryArray['amount']); + self::assertEquals('abc123', $ledgerEntryArray['code']); + self::assertEquals('2020-01-01 18:10:10', $ledgerEntryArray['timestamp']); + self::assertEquals('BTC', $ledgerEntryArray['currency']); + self::assertEquals('TxType', $ledgerEntryArray['txType']); + self::assertEquals('Test scale', $ledgerEntryArray['scale']); + self::assertEquals('1', $ledgerEntryArray['id']); + self::assertEquals('Test support request', $ledgerEntryArray['supportRequest']); + self::assertEquals('Test description', $ledgerEntryArray['description']); + self::assertEquals('1', $ledgerEntryArray['invoiceId']); + self::assertEquals(20.7, $ledgerEntryArray['invoiceAmount']); + self::assertEquals('BTC', $ledgerEntryArray['invoiceCurrency']); + self::assertEquals('BTC', $ledgerEntryArray['transactionCurrency']); + } + + private function createClassObject(): LedgerEntry + { + return new LedgerEntry(); + } + + private function setSetters(LedgerEntry $ledgerEntry) + { + $ledgerEntry->setType('TestType'); + $ledgerEntry->setAmount('1'); + $ledgerEntry->setCode('abc123'); + $ledgerEntry->setTimestamp('2020-01-01 18:10:10'); + $ledgerEntry->setCurrency('BTC'); + $ledgerEntry->setTxType('TxType'); + $ledgerEntry->setScale('Test scale'); + $ledgerEntry->setId('1'); + $ledgerEntry->setSupportRequest('Test support request'); + $ledgerEntry->setDescription('Test description'); + $ledgerEntry->setInvoiceId('1'); + $ledgerEntry->setBuyerFields(new Buyer()); + $ledgerEntry->setInvoiceAmount(20.7); + $ledgerEntry->setInvoiceCurrency('BTC'); + $ledgerEntry->setTransactionCurrency('BTC'); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerTest.php new file mode 100644 index 0000000..3898f84 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Ledger/LedgerTest.php @@ -0,0 +1,57 @@ +createClassObject(); + self::assertInstanceOf(Ledger::class, $ledger); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $ledger = $this->createClassObject(); + $ledger->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $ledger->getCurrency()); + } + + public function testGetBalance() + { + $expectedBalance = 1.1; + + $ledger = $this->createClassObject(); + $ledger->setBalance($expectedBalance); + self::assertEquals($expectedBalance, $ledger->getBalance()); + } + + public function testToArray() + { + $ledger = $this->createClassObject(); + + $ledger->setCurrency('BTC'); + $ledger->setBalance(1.1); + + $ledgerArray = $ledger->toArray(); + + self::assertNotNull($ledgerArray); + self::assertIsArray($ledgerArray); + + self::assertArrayHasKey('currency', $ledgerArray); + self::assertArrayHasKey('balance', $ledgerArray); + + self::assertEquals('BTC', $ledgerArray['currency']); + self::assertEquals(1.1, $ledgerArray['balance']); + } + + private function createClassObject(): Ledger + { + return new Ledger(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientTest.php new file mode 100644 index 0000000..f69b667 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientTest.php @@ -0,0 +1,130 @@ +createClassObject(); + self::assertInstanceOf(PayoutRecipient::class, $payoutRecipient); + } + + public function testGetEmail() + { + $expectedEmail = 'john@doe.com'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setEmail($expectedEmail); + + self::assertEquals($expectedEmail, $payoutRecipient->getEmail()); + } + + public function testGetLabel() + { + $expectedLabel = 'My Label'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setLabel($expectedLabel); + + self::assertEquals($expectedLabel, $payoutRecipient->getLabel()); + } + + public function testGetNotificationURL() + { + $expectedNotificationURL = 'https://www.example.com'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setNotificationURL($expectedNotificationURL); + + self::assertEquals($expectedNotificationURL, $payoutRecipient->getNotificationURL()); + } + + public function testGetStatus() + { + $expectedStatus = 'success'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setStatus($expectedStatus); + + self::assertEquals($expectedStatus, $payoutRecipient->getStatus()); + } + + public function testGetId() + { + $expectedId = 'abcd123'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setId($expectedId); + + self::assertEquals($expectedId, $payoutRecipient->getId()); + } + + public function testGetShopperId() + { + $expectedShopperId = 'efgh456'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setShopperId($expectedShopperId); + + self::assertEquals($expectedShopperId, $payoutRecipient->getShopperId()); + } + + public function testGetToken() + { + $expectedToken = '6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'; + + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setToken($expectedToken); + + self::assertEquals($expectedToken, $payoutRecipient->getToken()); + } + + public function testToArray() + { + $payoutRecipient = $this->createClassObject(); + $payoutRecipient->setEmail('john@doe.com'); + $payoutRecipient->setLabel('My Label'); + $payoutRecipient->setNotificationURL('https://www.example.com'); + $payoutRecipient->setStatus('success'); + $payoutRecipient->setId('abcd123'); + $payoutRecipient->setShopperId('efgh456'); + $payoutRecipient->setToken('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'); + $payoutRecipientArray = $payoutRecipient->toArray(); + + self::assertNotNull($payoutRecipientArray); + self::assertIsArray($payoutRecipientArray); + + self::assertArrayHasKey('email', $payoutRecipientArray); + self::assertArrayHasKey('label', $payoutRecipientArray); + self::assertArrayHasKey('notificationURL', $payoutRecipientArray); + self::assertArrayHasKey('status', $payoutRecipientArray); + self::assertArrayHasKey('id', $payoutRecipientArray); + self::assertArrayHasKey('shopperId', $payoutRecipientArray); + self::assertArrayHasKey('token', $payoutRecipientArray); + + self::assertEquals('john@doe.com', $payoutRecipientArray['email']); + self::assertEquals('My Label', $payoutRecipientArray['label']); + self::assertEquals('https://www.example.com', $payoutRecipientArray['notificationURL']); + self::assertEquals('success', $payoutRecipientArray['status']); + self::assertEquals('abcd123', $payoutRecipientArray['id']); + self::assertEquals('efgh456', $payoutRecipientArray['shopperId']); + self::assertEquals('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL', $payoutRecipientArray['token']); + } + + public function testToArrayEmptyKey() + { + $payoutRecipient = $this->createClassObject(); + $payoutRecipientArray = $payoutRecipient->toArray(); + + self::assertArrayNotHasKey('email', $payoutRecipientArray); + } + + private function createClassObject(): PayoutRecipient + { + return new PayoutRecipient(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientsTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientsTest.php new file mode 100644 index 0000000..d245f68 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutRecipientsTest.php @@ -0,0 +1,119 @@ +createClassObject(); + self::assertInstanceOf(PayoutRecipients::class, $payoutRecipients); + } + + public function testGetGuid() + { + $expectedGuid = 'cd47864e-374b-4a92-8592-4357fcbc6a89'; + + $payoutRecipients = $this->createClassObject(); + $payoutRecipients->setGuid($expectedGuid); + self::assertEquals($expectedGuid, $payoutRecipients->getGuid()); + } + + public function testGetRecipientsObject() + { + $expectedPayoutRecipients = []; + $payoutRecipient = new PayoutRecipient(); + $payoutRecipient->setEmail('john@doe.com'); + $payoutRecipient->setLabel('My Label'); + $payoutRecipient->setNotificationURL('https://www.example.com'); + $payoutRecipient->setStatus('success'); + $payoutRecipient->setId('abcd123'); + $payoutRecipient->setShopperId('efgh456'); + $payoutRecipient->setToken('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'); + $expectedPayoutRecipients[] = $payoutRecipient; + + $payoutRecipients = $this->createClassObject(); + $payoutRecipients->setRecipients($expectedPayoutRecipients); + self::assertEquals($expectedPayoutRecipients[0]->toArray(), $payoutRecipients->getRecipients()[0]->toArray()); + } + + /** + * @throws \BitPaySDK\Exceptions\PayoutRecipientException + */ + public function testGetRecipientsArray() + { + $payoutRecipient = new PayoutRecipient(); + $payoutRecipient->setNotificationURL('https://www.example.com'); + $payoutRecipient->setEmail('john@doe.com'); + $payoutRecipient->setLabel('My Label'); + $payoutRecipient->setStatus('success'); + $payoutRecipient->setId('abcd123'); + $payoutRecipient->setShopperId('efgh456'); + + $payoutRecipients = $this->createClassObject(); + $payoutRecipients->setRecipients([$payoutRecipient]); + self::assertEquals([$payoutRecipient], $payoutRecipients->getRecipients()); + } + + public function testGetToken() + { + $expectedToken = '6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'; + + $payoutRecipients = $this->createClassObject(); + $payoutRecipients->setToken($expectedToken); + self::assertEquals($expectedToken, $payoutRecipients->getToken()); + } + + public function testToArray() + { + $expectedPayoutRecipients = []; + $payoutRecipient = new PayoutRecipient(); + $payoutRecipient->setEmail('john@doe.com'); + $payoutRecipient->setLabel('My Label'); + $payoutRecipient->setNotificationURL('https://www.example.com'); + $payoutRecipient->setStatus('success'); + $payoutRecipient->setId('abcd123'); + $payoutRecipient->setShopperId('efgh456'); + $payoutRecipient->setToken('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'); + $expectedPayoutRecipients[] = $payoutRecipient; + + $payoutRecipients = $this->createClassObject(); + $payoutRecipients->setGuid('cd47864e-374b-4a92-8592-4357fcbc6a89'); + $payoutRecipients->setRecipients($expectedPayoutRecipients); + $payoutRecipients->setToken('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'); + $payoutRecipientsArray = $payoutRecipients->toArray(); + + self::assertNotNull($payoutRecipientsArray); + self::assertIsArray($payoutRecipientsArray); + + self::assertArrayHasKey('guid', $payoutRecipientsArray); + self::assertArrayHasKey('recipients', $payoutRecipientsArray); + self::assertArrayHasKey('token', $payoutRecipientsArray); + + self::assertEquals('cd47864e-374b-4a92-8592-4357fcbc6a89', $payoutRecipientsArray['guid']); + self::assertEquals('john@doe.com', $payoutRecipientsArray['recipients'][0]['email']); + self::assertEquals('My Label', $payoutRecipientsArray['recipients'][0]['label']); + self::assertEquals('https://www.example.com', $payoutRecipientsArray['recipients'][0]['notificationURL']); + self::assertEquals('success', $payoutRecipientsArray['recipients'][0]['status']); + self::assertEquals('abcd123', $payoutRecipientsArray['recipients'][0]['id']); + self::assertEquals('efgh456', $payoutRecipientsArray['recipients'][0]['shopperId']); + self::assertEquals('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL', $payoutRecipientsArray['recipients'][0]['token']); + self::assertEquals('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL', $payoutRecipientsArray['token']); + } + + public function testToArrayEmptyKey() + { + $payoutRecipients = $this->createClassObject(); + $payoutRecipientsArray = $payoutRecipients->toArray(); + self::assertArrayNotHasKey('guid', $payoutRecipientsArray); + } + + private function createClassObject(): PayoutRecipients + { + return new PayoutRecipients(); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutTest.php new file mode 100644 index 0000000..156ce4a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Payout/PayoutTest.php @@ -0,0 +1,357 @@ +createClassObject(); + self::assertInstanceOf(Payout::class, $payout); + } + + public function testGetToken() + { + $expectedToken = '6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'; + + $payout = $this->createClassObject(); + $payout->setToken($expectedToken); + self::assertEquals($expectedToken, $payout->getToken()); + } + + public function testGetAmount() + { + $expectedAmount = 10.0; + + $payout = $this->createClassObject(); + $payout->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $payout->getAmount()); + } + + /** + * @throws BitPayException + */ + public function testGetCurrency() + { + $expectedCurrency = Currency::USD; + + $payout = $this->createClassObject(); + $payout->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $payout->getCurrency()); + } + + public function testGetCurrencyException() + { + $expectedCurrency = 'ZZZ'; + + $payout = $this->createClassObject(); + $this->expectException(BitPayException::class); + $this->expectExceptionMessage('currency code must be a type of Model.Currency'); + $payout->setCurrency($expectedCurrency); + } + + public function testGetEffectiveDate() + { + $expectedEffectiveDate = '2021-05-27T09:00:00.000Z'; + + $payout = $this->createClassObject(); + $payout->setEffectiveDate($expectedEffectiveDate); + self::assertEquals($expectedEffectiveDate, $payout->getEffectiveDate()); + } + + /** + * @throws BitPayException + */ + public function testGetLedgerCurrency() + { + $expectedLedgerCurrency = 'GBP'; + + $payout = $this->createClassObject(); + $payout->setLedgerCurrency($expectedLedgerCurrency); + self::assertEquals($expectedLedgerCurrency, $payout->getLedgerCurrency()); + } + + public function testGetLedgerCurrencyException() + { + $expectedLedgerCurrency = 'ZZZ'; + + $payout = $this->createClassObject(); + $this->expectException(BitPayException::class); + $this->expectExceptionMessage('currency code must be a type of Model.Currency'); + $payout->setLedgerCurrency($expectedLedgerCurrency); + } + + public function testGetReference() + { + $expectedReference = 'payout_20210527'; + + $payout = $this->createClassObject(); + $payout->setReference($expectedReference); + self::assertEquals($expectedReference, $payout->getReference()); + } + + public function testGetNotificationUrl() + { + $expectedNotificationUrl = 'https://example.com'; + + $bill = $this->createClassObject(); + $bill->setNotificationUrl($expectedNotificationUrl); + self::assertEquals($expectedNotificationUrl, $bill->getNotificationUrl()); + } + + public function testGetNotificationEmail() + { + $expectedNotificationEmail = 'test@test.com'; + + $payout = $this->createClassObject(); + $payout->setNotificationEmail($expectedNotificationEmail); + self::assertEquals($expectedNotificationEmail, $payout->getNotificationEmail()); + } + + public function testGetEmail() + { + $expectedEmail = 'test@test.com'; + + $payout = $this->createClassObject(); + $payout->setEmail($expectedEmail); + self::assertEquals($expectedEmail, $payout->getEmail()); + } + + public function testGetRecipientId() + { + $expectedRecipientId = 'LDxRZCGq174SF8AnQpdBPB'; + + $payout = $this->createClassObject(); + $payout->setRecipientId($expectedRecipientId); + self::assertEquals($expectedRecipientId, $payout->getRecipientId()); + } + + public function testGetShopperId() + { + $expectedShopperId = '7qohDf2zZnQK5Qanj8oyC2'; + + $payout = $this->createClassObject(); + $payout->setShopperId($expectedShopperId); + self::assertEquals($expectedShopperId, $payout->getShopperId()); + } + + public function testGetLabel() + { + $expectedLabel = 'My label'; + + $payout = $this->createClassObject(); + $payout->setLabel($expectedLabel); + self::assertEquals($expectedLabel, $payout->getLabel()); + } + + public function testGetMessage() + { + $expectedMessage = 'My message'; + + $payout = $this->createClassObject(); + $payout->setMessage($expectedMessage); + self::assertEquals($expectedMessage, $payout->getMessage()); + } + + public function testGetId() + { + $expectedId = 'abcd123'; + + $payout = $this->createClassObject(); + $payout->setId($expectedId); + self::assertEquals($expectedId, $payout->getId()); + } + + public function testGetStatus() + { + $expectedStatus = 'success'; + + $payout = $this->createClassObject(); + $payout->setStatus($expectedStatus); + self::assertEquals($expectedStatus, $payout->getStatus()); + } + + public function testGetRequestDate() + { + $expectedRequestDate = '2021-05-27T10:47:37.834Z'; + + $payout = $this->createClassObject(); + $payout->setRequestDate($expectedRequestDate); + self::assertEquals($expectedRequestDate, $payout->getRequestDate()); + } + + public function testGetExchangeRates() + { + $expectedExchangeRates = [ + 'BTC' => [ + 'USD' => 39390.47, + 'GBP' => 27883.962246420004 + ] + ]; + + $payout = $this->createClassObject(); + $payout->setExchangeRates($expectedExchangeRates); + self::assertEquals($expectedExchangeRates, $payout->getExchangeRates()); + } + + public function testGetTransactions() + { + $expectedTransaction = new PayoutTransaction(); + $expectedTransaction->setTxid('db53d7e2bf3385a31257ce09396202d9c2823370a5ca186db315c45e24594057'); + $expectedTransaction->setAmount(0.000254); + $expectedTransaction->setDate('2021-05-27T11:04:23.155Z'); + + $expectedItemizedDetails = $this->getMockBuilder(PayoutTransaction::class) + ->disableOriginalConstructor() + ->getMock(); + $expectedItemizedDetails->method('toArray')->willReturn([$expectedTransaction]); + + $payout = $this->createClassObject(); + $payout->setTransactions([$expectedTransaction]); + self::assertIsArray($payout->getTransactions()); + self::assertNotNull($payout->getTransactions()); + self::assertInstanceOf(PayoutTransaction::class, $payout->getTransactions()[0]); + } + + public function testFormatAmount() + { + $amount = 12.3456789; + $expectedFormattedAmount = 12.35; + + $payout = $this->createClassObject(); + $payout->setAmount($amount); + $payout->formatAmount(2); + self::assertEquals($expectedFormattedAmount, $payout->getAmount()); + } + + /** + * @throws BitPayException + */ + public function testToArray() + { + $payout = $this->createClassObject(); + $this->objectSetters($payout); + $payoutArray = $payout->toArray(); + + $payoutTransaction = new PayoutTransaction(); + $payoutTransaction->setTxid('db53d7e2bf3385a31257ce09396202d9c2823370a5ca186db315c45e24594057'); + $payoutTransaction->setAmount(0.000254); + $payoutTransaction->setDate('2021-05-27T11:04:23.155Z'); + + self::assertNotNull($payoutArray); + self::assertIsArray($payoutArray); + + self::assertArrayHasKey('token', $payoutArray); + self::assertArrayHasKey('amount', $payoutArray); + self::assertArrayHasKey('currency', $payoutArray); + self::assertArrayHasKey('effectiveDate', $payoutArray); + self::assertArrayHasKey('ledgerCurrency', $payoutArray); + self::assertArrayHasKey('reference', $payoutArray); + self::assertArrayHasKey('notificationURL', $payoutArray); + self::assertArrayHasKey('notificationEmail', $payoutArray); + self::assertArrayHasKey('email', $payoutArray); + self::assertArrayHasKey('recipientId', $payoutArray); + self::assertArrayHasKey('shopperId', $payoutArray); + self::assertArrayHasKey('label', $payoutArray); + self::assertArrayHasKey('message', $payoutArray); + self::assertArrayHasKey('id', $payoutArray); + self::assertArrayHasKey('status', $payoutArray); + self::assertArrayHasKey('requestDate', $payoutArray); + self::assertArrayHasKey('exchangeRates', $payoutArray); + self::assertArrayHasKey('transactions', $payoutArray); + + self::assertEquals( + '6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL', + $payoutArray['token'] + ); + self::assertEquals(10.0, $payoutArray['amount']); + self::assertEquals(Currency::USD, $payoutArray['currency']); + self::assertEquals('2021-05-27T09:00:00.000Z', $payoutArray['effectiveDate']); + self::assertEquals(Currency::GBP, $payoutArray['ledgerCurrency']); + self::assertEquals('payout_20210527', $payoutArray['reference']); + self::assertEquals('https://example.com', $payoutArray['notificationURL']); + self::assertEquals('test@test.com', $payoutArray['notificationEmail']); + self::assertEquals('test@test.com', $payoutArray['email']); + self::assertEquals('LDxRZCGq174SF8AnQpdBPB', $payoutArray['recipientId']); + self::assertEquals('7qohDf2zZnQK5Qanj8oyC2', $payoutArray['shopperId']); + self::assertEquals('My label', $payoutArray['label']); + self::assertEquals('My message', $payoutArray['message']); + self::assertEquals('JMwv8wQCXANoU2ZZQ9a9GH', $payoutArray['id']); + self::assertEquals('success', $payoutArray['status']); + self::assertEquals('2021-05-27T10:47:37.834Z', $payoutArray['requestDate']); + self::assertEquals([ + 'BTC' => [ + 'USD' => 39390.47, + 'GBP' => 27883.962246420004 + ] + ], $payoutArray['exchangeRates']); + self::assertInstanceOf(PayoutTransaction::class, $payoutArray['transactions'][0]); + } + + /** + * @throws BitPayException + */ + public function testToArrayEmptyKey() + { + $payout = $this->createClassObject(); + $this->objectSetters($payout); + $payoutArray = $payout->toArray(); + + self::assertNotNull($payoutArray); + self::assertIsArray($payoutArray); + + self::assertArrayNotHasKey('supportPhone', $payoutArray); + } + + private function createClassObject(): Payout + { + return new Payout(); + } + + /** + * @throws BitPayException + */ + private function objectSetters(Payout $payout) + { + $payoutTransaction = new PayoutTransaction(); + $payoutTransaction->setTxid('db53d7e2bf3385a31257ce09396202d9c2823370a5ca186db315c45e24594057'); + $payoutTransaction->setAmount(0.000254); + $payoutTransaction->setDate('2021-05-27T11:04:23.155Z'); + + $transactions = []; + $transactions[] = $payoutTransaction; + + $payout->setToken('6RZSTPtnzEaroAe2X4YijenRiqteRDNvzbT8NjtcHjUVd9FUFwa7dsX8RFgRDDC5SL'); + $payout->setAmount(10.0); + $payout->setCurrency(Currency::USD); + $payout->setEffectiveDate('2021-05-27T09:00:00.000Z'); + try { + $payout->setLedgerCurrency(Currency::GBP); + } catch (BitPayException) { + } + $payout->setReference('payout_20210527'); + $payout->setNotificationURL('https://example.com'); + $payout->setNotificationEmail('test@test.com'); + $payout->setEmail('test@test.com'); + $payout->setRecipientId('LDxRZCGq174SF8AnQpdBPB'); + $payout->setShopperId('7qohDf2zZnQK5Qanj8oyC2'); + $payout->setLabel('My label'); + $payout->setMessage('My message'); + $payout->setId('JMwv8wQCXANoU2ZZQ9a9GH'); + $payout->setStatus('success'); + $payout->setRequestDate('2021-05-27T10:47:37.834Z'); + $payout->setExchangeRates([ + 'BTC' => [ + 'USD' => 39390.47, + 'GBP' => 27883.962246420004 + ] + ]); + $payout->setTransactions($transactions); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RateTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RateTest.php new file mode 100644 index 0000000..29d2e76 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RateTest.php @@ -0,0 +1,72 @@ +createClassObject(); + self::assertInstanceOf(Rate::class, $rate); + } + + public function testGetName() + { + $expectedName = 'Bitcoin'; + + $rate = $this->createClassObject(); + $rate->setName($expectedName); + self::assertEquals($expectedName, $rate->getName()); + } + + public function testGetCode() + { + $expectedCode = 'BTC'; + + $rate = $this->createClassObject(); + $rate->setCode($expectedCode); + self::assertEquals($expectedCode, $rate->getCode()); + } + + public function testGetRate() + { + $expectedRate = 1.0; + + $rate = $this->createClassObject(); + $rate->setRate($expectedRate); + self::assertEquals($expectedRate, $rate->getRate()); + } + + public function testToArray() + { + $rate = $this->createClassObject(); + $this->setSetters($rate); + $rateArray = $rate->toArray(); + + self::assertNotNull($rateArray); + self::assertIsArray($rateArray); + + self::assertArrayHasKey('name', $rateArray); + self::assertArrayHasKey('code', $rateArray); + self::assertArrayHasKey('rate', $rateArray); + + self::assertEquals('Bitcoin', $rateArray['name']); + self::assertEquals('BTC', $rateArray['code']); + self::assertEquals(1.0, $rateArray['rate']); + } + + private function createClassObject(): Rate + { + return new Rate(); + } + + private function setSetters(Rate $rate) + { + $rate->setName('Bitcoin'); + $rate->setCode('BTC'); + $rate->setRate(1.0); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RatesTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RatesTest.php new file mode 100644 index 0000000..9a86c98 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Rate/RatesTest.php @@ -0,0 +1,112 @@ +createClassObject(); + self::assertInstanceOf(Rates::class, $rates); + } + + public function testGetRates() + { + $rates = $this->createClassObject(); + + $ratesArray = $rates->getRates(); + self::assertIsArray($ratesArray); + } + + /** + * @throws BitPayException + */ + public function testUpdate(): void + { + $bch = new Rate(); + $bch->setName('Bitcoin Cash'); + $bch->setCode('BCH'); + $bch->setRate(229.19); + + $expectedRatesArray = [$bch]; + $expectedRates = new Rates($expectedRatesArray); + $bp = $this->getMockBuilder(Client::class)->disableOriginalConstructor()->getMock(); + $bp->method('getRates')->willReturn($expectedRates); + + $rates = new Rates([]); + self::assertEquals([], $rates->getRates()); + + $rates->update($bp); + + self::assertEquals($expectedRatesArray, $rates->getRates()); + } + + public function testUpdateShouldThrowsExceptionsForInvalidRateFormat(): void + { + $rates = $this->createClassObject(); + $this->expectException(BitPayException::class); + + $clientApiResponse = [ + [ + 'name' => 'Bitcoin Cash', + 'code' => 'BCH', + 'rate' => 229.19 + ] + ]; + $expectedRates = new Rates($clientApiResponse); + $bp = $this->getMockBuilder(Client::class)->disableOriginalConstructor()->getMock(); + $bp->method('getRates')->willReturn($expectedRates); + + $rates->update($bp); + } + + public function testGetRateException() + { + $rates = $this->createClassObject(); + $this->expectException(BitPayException::class); + $this->expectExceptionMessage('currency code must be a type of Model.Currency'); + $rates->getRate('ELO'); + } + + /** + * @throws BitPayException + */ + public function testGetRate() + { + $expectedValue = 12; + + $rateMock = $this->getMockBuilder(Rate::class)->disableOriginalConstructor()->getMock(); + $rateMock->method('getCode')->willReturn('BTC'); + $rateMock->method('getRate')->willReturn(12.0); + + $rates = [$rateMock]; + $rates = new Rates($rates); + + self::assertEquals($expectedValue, $rates->getRate('BTC')); + } + + public function testToArray() + { + $rates = $this->createClassObject(); + $ratesEmpty = new Rates([]); + $ratesArray = $rates->toArray(); + + $ratesEmptyArray = $ratesEmpty->toArray(); + + self::assertIsArray($ratesArray); + self::assertArrayNotHasKey('rates', $ratesEmptyArray); + } + + private function createClassObject(): Rates + { + $rates = [new Rate()]; + + return new Rates($rates); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/InvoiceDataTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/InvoiceDataTest.php new file mode 100644 index 0000000..0550c91 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/InvoiceDataTest.php @@ -0,0 +1,130 @@ +createClassObject(); + self::assertInstanceOf(InvoiceData::class, $invoiceData); + } + + public function testGetOrderId() + { + $expectedOrderId = '1'; + + $invoiceData = $this->createClassObject(); + $invoiceData->setOrderId($expectedOrderId); + self::assertEquals($expectedOrderId, $invoiceData->getOrderId()); + } + + public function testGetDate() + { + $expectedDate = '2022-01-01'; + + $invoiceData = $this->createClassObject(); + $invoiceData->setDate($expectedDate); + self::assertEquals($expectedDate, $invoiceData->getDate()); + } + + public function testGetPrice() + { + $expectedPrice = 12.9; + + $invoiceData = $this->createClassObject(); + $invoiceData->setPrice($expectedPrice); + self::assertEquals($expectedPrice, $invoiceData->getPrice()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $invoiceData = $this->createClassObject(); + $invoiceData->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $invoiceData->getCurrency()); + } + + public function testGetTransactionCurrency() + { + $expectedTransactionCurrency = 'BTC'; + + $invoiceData = $this->createClassObject(); + $invoiceData->setTransactionCurrency($expectedTransactionCurrency); + self::assertEquals($expectedTransactionCurrency, $invoiceData->getTransactionCurrency()); + } + + public function testGetOverPaidAmount() + { + $expectedOverPaidAmount = 11.1; + + $invoiceData = $this->createClassObject(); + $invoiceData->setOverPaidAmount($expectedOverPaidAmount); + self::assertEquals($expectedOverPaidAmount, $invoiceData->getOverPaidAmount()); + } + + public function testGetPayoutPercentage() + { + $expectedPayoutPercentage = 15; + + $invoiceData = $this->createClassObject(); + $invoiceData->setPayoutPercentage($expectedPayoutPercentage); + self::assertEquals($expectedPayoutPercentage, $invoiceData->getPayoutPercentage()); + } + + public function testGetRefundInfo() + { + $expectedRefundInfo = $this->getMockBuilder(RefundInfo::class)->getMock(); + + $invoiceData = $this->createClassObject(); + $invoiceData->setRefundInfo($expectedRefundInfo); + self::assertEquals($expectedRefundInfo, $invoiceData->getRefundInfo()); + } + + public function testToArray() + { + $invoiceData = $this->createClassObject(); + $this->setSetters($invoiceData); + $invoiceDataArray = $invoiceData->toArray(); + + self::assertNotNull($invoiceDataArray); + self::assertIsArray($invoiceDataArray); + + self::assertArrayHasKey('orderId', $invoiceDataArray); + self::assertArrayHasKey('date', $invoiceDataArray); + self::assertArrayHasKey('price', $invoiceDataArray); + self::assertArrayHasKey('currency', $invoiceDataArray); + self::assertArrayHasKey('transactionCurrency', $invoiceDataArray); + self::assertArrayHasKey('payoutPercentage', $invoiceDataArray); + self::assertArrayHasKey('refundInfo', $invoiceDataArray); + + self::assertEquals('1', $invoiceDataArray['orderId']); + self::assertEquals('2022-01-01', $invoiceDataArray['date']); + self::assertEquals(12.9, $invoiceDataArray['price']); + self::assertEquals('BTC', $invoiceDataArray['currency']); + self::assertEquals('BTC', $invoiceDataArray['transactionCurrency']); + self::assertEquals(15, $invoiceDataArray['payoutPercentage']); + self::assertEquals([], $invoiceDataArray['refundInfo']); + } + + private function createClassObject(): InvoiceData + { + return new InvoiceData(); + } + + private function setSetters(InvoiceData $invoiceData) + { + $invoiceData->setOrderId('1'); + $invoiceData->setDate('2022-01-01'); + $invoiceData->setPrice(12.9); + $invoiceData->setCurrency('BTC'); + $invoiceData->setTransactionCurrency('BTC'); + $invoiceData->setPayoutPercentage(15); + $invoiceData->setRefundInfo($this->getMockBuilder(RefundInfo::class)->getMock()); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/PayoutInfoTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/PayoutInfoTest.php new file mode 100644 index 0000000..96fc758 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/PayoutInfoTest.php @@ -0,0 +1,312 @@ +createClassObject(); + self::assertInstanceOf(PayoutInfo::class, $payoutInfo); + } + + public function testGetAccount() + { + $expectedAccount = 'Test account'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccount($expectedAccount); + self::assertEquals($expectedAccount, $payoutInfo->getAccount()); + } + + public function testGetRouting() + { + $expectedRouting = 'Test routing'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setRouting($expectedRouting); + self::assertEquals($expectedRouting, $payoutInfo->getRouting()); + } + + public function testGetMerchantEin() + { + $expectedMerchantEin = 'Test MerchantEin'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setMerchantEin($expectedMerchantEin); + self::assertEquals($expectedMerchantEin, $payoutInfo->getMerchantEin()); + } + + public function testGetLabel() + { + $expectedLabel = 'Test label'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setLabel($expectedLabel); + self::assertEquals($expectedLabel, $payoutInfo->getLabel()); + } + + public function testGetBankCountry() + { + $expectedBankCountry = 'USA'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setBankCountry($expectedBankCountry); + self::assertEquals($expectedBankCountry, $payoutInfo->getBankCountry()); + } + + public function testGetName() + { + $expectedName = 'Test Name'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setName($expectedName); + self::assertEquals($expectedName, $payoutInfo->getName()); + } + + public function testGetBank() + { + $expectedBank = 'Test bank'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setBank($expectedBank); + self::assertEquals($expectedBank, $payoutInfo->getBank()); + } + + public function testGetSwift() + { + $expectedSwift = 'Test swift'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setSwift($expectedSwift); + self::assertEquals($expectedSwift, $payoutInfo->getSwift()); + } + + public function testGetAddress() + { + $expectedAddress = 'Test address'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAddress($expectedAddress); + self::assertEquals($expectedAddress, $payoutInfo->getAddress()); + } + + public function testGetCity() + { + $expectedCity = 'Miami'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setCity($expectedCity); + self::assertEquals($expectedCity, $payoutInfo->getCity()); + } + + public function testGetPostal() + { + $expectedPostal = 'Test postal'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setPostal($expectedPostal); + self::assertEquals($expectedPostal, $payoutInfo->getPostal()); + } + + public function testGetSort() + { + $expectedSort = 'Test sort'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setSort($expectedSort); + self::assertEquals($expectedSort, $payoutInfo->getSort()); + } + + public function testGetWire() + { + $expectedWire = 'Test wire'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setWire($expectedWire); + self::assertEquals($expectedWire, $payoutInfo->getWire()); + } + + public function testGetBankName() + { + $expectedBankName = 'Test bank name'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setBankName($expectedBankName); + self::assertEquals($expectedBankName, $payoutInfo->getBankName()); + } + + public function testGetBankAddress() + { + $expectedBankAddress = 'Test bank address'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setBankAddress($expectedBankAddress); + self::assertEquals($expectedBankAddress, $payoutInfo->getBankAddress()); + } + + public function testGetBankAddress2() + { + $expectedBankAddress2 = 'Test bank address'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setBankAddress2($expectedBankAddress2); + self::assertEquals($expectedBankAddress2, $payoutInfo->getBankAddress2()); + } + + public function testGetIban() + { + $expectedIban = 'KW81CBKU00000000000012345601013'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setIban($expectedIban); + self::assertEquals($expectedIban, $payoutInfo->getIban()); + } + + public function testGetAdditionalInformation() + { + $expectedAdditionalInformation = 'Test additional information'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAdditionalInformation($expectedAdditionalInformation); + self::assertEquals($expectedAdditionalInformation, $payoutInfo->getAdditionalInformation()); + } + + public function testGetAccountHolderName() + { + $expectedAccountHolderName = 'Test account holder name'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccountHolderName($expectedAccountHolderName); + self::assertEquals($expectedAccountHolderName, $payoutInfo->getAccountHolderName()); + } + + public function testGetAccountHolderAddress() + { + $expectedAccountHolderAddress = 'Test account holder address'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccountHolderAddress($expectedAccountHolderAddress); + self::assertEquals($expectedAccountHolderAddress, $payoutInfo->getAccountHolderAddress()); + } + + public function testGetAccountHolderAddress2() + { + $expectedAccountHolderAddress2 = 'Test account holder address2'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccountHolderAddress2($expectedAccountHolderAddress2); + self::assertEquals($expectedAccountHolderAddress2, $payoutInfo->getAccountHolderAddress2()); + } + + public function testGetAccountHolderPostalCode() + { + $expectedAccountHolderPostalCode = '12345'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccountHolderPostalCode($expectedAccountHolderPostalCode); + self::assertEquals($expectedAccountHolderPostalCode, $payoutInfo->getAccountHolderPostalCode()); + } + + public function testGetAccountHolderCity() + { + $expectedAccountHolderCity = 'Miami'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccountHolderCity($expectedAccountHolderCity); + self::assertEquals($expectedAccountHolderCity, $payoutInfo->getAccountHolderCity()); + } + + public function testGetAccountHolderCountry() + { + $expectedAccountHolderCountry = 'USA'; + + $payoutInfo = $this->createClassObject(); + $payoutInfo->setAccountHolderCountry($expectedAccountHolderCountry); + self::assertEquals($expectedAccountHolderCountry, $payoutInfo->getAccountHolderCountry()); + } + + public function testToArray() + { + $payoutInfo = $this->createClassObject(); + $this->setSetters($payoutInfo); + $payoutInfoArray = $payoutInfo->toArray(); + + self::assertNotNull($payoutInfoArray); + self::assertIsArray($payoutInfoArray); + + self::assertArrayHasKey('label', $payoutInfoArray); + self::assertArrayHasKey('bankCountry', $payoutInfoArray); + self::assertArrayHasKey('name', $payoutInfoArray); + self::assertArrayHasKey('bank', $payoutInfoArray); + self::assertArrayHasKey('swift', $payoutInfoArray); + self::assertArrayHasKey('address', $payoutInfoArray); + self::assertArrayHasKey('city', $payoutInfoArray); + self::assertArrayHasKey('postal', $payoutInfoArray); + self::assertArrayHasKey('sort', $payoutInfoArray); + self::assertArrayHasKey('wire', $payoutInfoArray); + self::assertArrayHasKey('bankName', $payoutInfoArray); + self::assertArrayHasKey('bankAddress', $payoutInfoArray); + self::assertArrayHasKey('iban', $payoutInfoArray); + self::assertArrayHasKey('additionalInformation', $payoutInfoArray); + self::assertArrayHasKey('accountHolderName', $payoutInfoArray); + self::assertArrayHasKey('accountHolderAddress', $payoutInfoArray); + self::assertArrayHasKey('accountHolderAddress2', $payoutInfoArray); + self::assertArrayHasKey('accountHolderPostalCode', $payoutInfoArray); + self::assertArrayHasKey('accountHolderCity', $payoutInfoArray); + self::assertArrayHasKey('accountHolderCountry', $payoutInfoArray); + + self::assertEquals('Label', $payoutInfoArray['label']); + self::assertEquals('USA', $payoutInfoArray['bankCountry']); + self::assertEquals('Name', $payoutInfoArray['name']); + self::assertEquals('Bank', $payoutInfoArray['bank']); + self::assertEquals('Swift', $payoutInfoArray['swift']); + self::assertEquals('Address', $payoutInfoArray['address']); + self::assertEquals('Miami', $payoutInfoArray['city']); + self::assertEquals('12345', $payoutInfoArray['postal']); + self::assertEquals('Sort', $payoutInfoArray['sort']); + self::assertEquals('Wire', $payoutInfoArray['wire']); + self::assertEquals('Bank name', $payoutInfoArray['bankName']); + self::assertEquals('Bank address', $payoutInfoArray['bankAddress']); + self::assertEquals('KW81CBKU00000000000012345601013', $payoutInfoArray['iban']); + self::assertEquals('Additional information', $payoutInfoArray['additionalInformation']); + self::assertEquals('Account holder name', $payoutInfoArray['accountHolderName']); + self::assertEquals('Account holder address', $payoutInfoArray['accountHolderAddress']); + self::assertEquals('Account holder address2', $payoutInfoArray['accountHolderAddress2']); + self::assertEquals('Account holder postal code', $payoutInfoArray['accountHolderPostalCode']); + self::assertEquals('Account holder city', $payoutInfoArray['accountHolderCity']); + self::assertEquals('Account holder country', $payoutInfoArray['accountHolderCountry']); + } + + private function createClassObject(): PayoutInfo + { + return new PayoutInfo(); + } + + private function setSetters(PayoutInfo $payoutInfo) + { + $payoutInfo->setLabel('Label'); + $payoutInfo->setBankCountry('USA'); + $payoutInfo->setName('Name'); + $payoutInfo->setBank('Bank'); + $payoutInfo->setSwift('Swift'); + $payoutInfo->setAddress('Address'); + $payoutInfo->setCity('Miami'); + $payoutInfo->setPostal('12345'); + $payoutInfo->setSort('Sort'); + $payoutInfo->setWire('Wire'); + $payoutInfo->setBankName('Bank name'); + $payoutInfo->setBankAddress('Bank address'); + $payoutInfo->setIban('KW81CBKU00000000000012345601013'); + $payoutInfo->setAdditionalInformation('Additional information'); + $payoutInfo->setAccountHolderName('Account holder name'); + $payoutInfo->setAccountHolderAddress('Account holder address'); + $payoutInfo->setAccountHolderAddress2('Account holder address2'); + $payoutInfo->setAccountHolderPostalCode('Account holder postal code'); + $payoutInfo->setAccountHolderCity('Account holder city'); + $payoutInfo->setAccountHolderCountry('Account holder country'); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/RefundInfoTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/RefundInfoTest.php new file mode 100644 index 0000000..9046a76 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/RefundInfoTest.php @@ -0,0 +1,72 @@ +createClassObject(); + self::assertInstanceOf(RefundInfo::class, $refundInfo); + } + + public function testGetSupportRequest() + { + $expectedSupportRequest = 'Test support request'; + + $refundInfo = $this->createClassObject(); + $refundInfo->setSupportRequest($expectedSupportRequest); + self::assertEquals($expectedSupportRequest, $refundInfo->getSupportRequest()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $refundInfo = $this->createClassObject(); + $refundInfo->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $refundInfo->getCurrency()); + } + + public function testGetAmounts() + { + $expectedAmounts = [25]; + + $refundInfo = $this->createClassObject(); + $refundInfo->setAmounts($expectedAmounts); + self::assertEquals($expectedAmounts, $refundInfo->getAmounts()); + } + + public function testToArray() + { + $refundInfo = $this->createClassObject(); + $this->setSetters($refundInfo); + $refundInfoArray = $refundInfo->toArray(); + + self::assertNotNull($refundInfoArray); + self::assertIsArray($refundInfoArray); + + self::assertArrayHasKey('supportRequest', $refundInfoArray); + self::assertArrayHasKey('currency', $refundInfoArray); + self::assertArrayHasKey('amounts', $refundInfoArray); + + self::assertEquals('Test support request', $refundInfoArray['supportRequest']); + self::assertEquals('BTC', $refundInfoArray['currency']); + self::assertEquals([25], $refundInfoArray['amounts']); + } + + private function createClassObject(): RefundInfo + { + return new RefundInfo(); + } + + private function setSetters(RefundInfo $refundInfo) + { + $refundInfo->setSupportRequest('Test support request'); + $refundInfo->setCurrency('BTC'); + $refundInfo->setAmounts([25]); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementLedgerEntryTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementLedgerEntryTest.php new file mode 100644 index 0000000..5763e0e --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementLedgerEntryTest.php @@ -0,0 +1,120 @@ +createClassObject(); + self::assertInstanceOf(SettlementLedgerEntry::class, $settlementLedgerEntry); + } + + public function testGetCode() + { + $expectedCode = 583; + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setCode($expectedCode); + self::assertEquals($expectedCode, $settlementLedgerEntry->getCode()); + } + + public function testGetInvoiceId() + { + $expectedInvoiceId = '1'; + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setInvoiceId($expectedInvoiceId); + self::assertEquals($expectedInvoiceId, $settlementLedgerEntry->getInvoiceId()); + } + + public function testGetAmount() + { + $expectedAmount = 20.3; + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $settlementLedgerEntry->getAmount()); + } + + public function testGetTimestamp() + { + $expectedTimestamp = '2022-01-11 01:01:01'; + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setTimestamp($expectedTimestamp); + self::assertEquals($expectedTimestamp, $settlementLedgerEntry->getTimestamp()); + } + + public function testGetDescription() + { + $expectedDescription = 'Test description'; + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setDescription($expectedDescription); + self::assertEquals($expectedDescription, $settlementLedgerEntry->getDescription()); + } + + public function testGetReference() + { + $expectedReference = 'Test reference'; + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setReference($expectedReference); + self::assertEquals($expectedReference, $settlementLedgerEntry->getReference()); + } + + public function testGetInvoiceData() + { + $expectedInvoiceData = $this->getMockBuilder(InvoiceData::class)->getMock(); + + $settlementLedgerEntry = $this->createClassObject(); + $settlementLedgerEntry->setInvoiceData($expectedInvoiceData); + self::assertEquals($expectedInvoiceData, $settlementLedgerEntry->getInvoiceData()); + } + + public function testToArray() + { + $settlementLedgerEntry = $this->createClassObject(); + $this->setSetters($settlementLedgerEntry); + $settlementLedgerEntryArray = $settlementLedgerEntry->toArray(); + + self::assertNotNull($settlementLedgerEntryArray); + self::assertIsArray($settlementLedgerEntryArray); + + self::assertArrayHasKey('code', $settlementLedgerEntryArray); + self::assertArrayHasKey('invoiceId', $settlementLedgerEntryArray); + self::assertArrayHasKey('amount', $settlementLedgerEntryArray); + self::assertArrayHasKey('timestamp', $settlementLedgerEntryArray); + self::assertArrayHasKey('description', $settlementLedgerEntryArray); + self::assertArrayHasKey('reference', $settlementLedgerEntryArray); + self::assertArrayHasKey('invoiceData', $settlementLedgerEntryArray); + + self::assertEquals(567, $settlementLedgerEntryArray['code']); + self::assertEquals('14', $settlementLedgerEntryArray['invoiceId']); + self::assertEquals(55.5, $settlementLedgerEntryArray['amount']); + self::assertEquals('2022-01-11 01:01:01', $settlementLedgerEntryArray['timestamp']); + self::assertEquals('Description', $settlementLedgerEntryArray['description']); + self::assertEquals('Reference', $settlementLedgerEntryArray['reference']); + } + + private function createClassObject(): SettlementLedgerEntry + { + return new SettlementLedgerEntry(); + } + + private function setSetters(SettlementLedgerEntry $settlementLedgerEntry) + { + $settlementLedgerEntry->setCode(567); + $settlementLedgerEntry->setInvoiceId('14'); + $settlementLedgerEntry->setAmount(55.5); + $settlementLedgerEntry->setTimestamp('2022-01-11 01:01:01'); + $settlementLedgerEntry->setDescription('Description'); + $settlementLedgerEntry->setReference('Reference'); + $settlementLedgerEntry->setInvoiceData($this->getMockBuilder(InvoiceData::class)->getMock()); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementTest.php new file mode 100644 index 0000000..f9e2868 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/SettlementTest.php @@ -0,0 +1,262 @@ +createClassObject(); + self::assertInstanceOf(Settlement::class, $settlement); + } + + public function testGetId() + { + $expectedId = '22'; + + $settlement = $this->createClassObject(); + $settlement->setId($expectedId); + self::assertEquals($expectedId, $settlement->getId()); + } + + public function testGetAccountId() + { + $expectedAccountId = '15'; + + $settlement = $this->createClassObject(); + $settlement->setAccountId($expectedAccountId); + self::assertEquals($expectedAccountId, $settlement->getAccountId()); + } + + public function testGetCurrency() + { + $expectedCurrency = 'BTC'; + + $settlement = $this->createClassObject(); + $settlement->setCurrency($expectedCurrency); + self::assertEquals($expectedCurrency, $settlement->getCurrency()); + } + + public function testGetPayoutInfo() + { + $expectedPayoutInfo = $this->getMockBuilder(PayoutInfo::class)->getMock(); + + $settlement = $this->createClassObject(); + $settlement->setPayoutInfo($expectedPayoutInfo); + self::assertEquals($expectedPayoutInfo, $settlement->getPayoutInfo()); + } + + public function testGetStatus() + { + $expectedStatus = 'pending'; + + $settlement = $this->createClassObject(); + $settlement->setStatus($expectedStatus); + self::assertEquals($expectedStatus, $settlement->getStatus()); + } + + public function testGetDateCreated() + { + $expectedDateCreated = '2022-01-01'; + + $settlement = $this->createClassObject(); + $settlement->setDateCreated($expectedDateCreated); + self::assertEquals($expectedDateCreated, $settlement->getDateCreated()); + } + + public function testGetDateExecuted() + { + $expectedDateExecuted = '2022-01-01'; + + $settlement = $this->createClassObject(); + $settlement->setDateExecuted($expectedDateExecuted); + self::assertEquals($expectedDateExecuted, $settlement->getDateExecuted()); + } + + public function testGetDateCompleted() + { + $expectedDateCompleted = '2022-01-01'; + + $settlement = $this->createClassObject(); + $settlement->setDateCompleted($expectedDateCompleted); + self::assertEquals($expectedDateCompleted, $settlement->getDateCompleted()); + } + + public function testGetOpeningDate() + { + $expectedDateCompleted = '2022-01-01'; + + $settlement = $this->createClassObject(); + $settlement->setOpeningDate($expectedDateCompleted); + self::assertEquals($expectedDateCompleted, $settlement->getOpeningDate()); + } + + public function testGetClosingDate() + { + $expectedClosingDate = '2022-01-01'; + + $settlement = $this->createClassObject(); + $settlement->setClosingDate($expectedClosingDate); + self::assertEquals($expectedClosingDate, $settlement->getClosingDate()); + } + + public function testGetOpeningBalance() + { + $expectedOpeningBalance = 20.0; + + $settlement = $this->createClassObject(); + $settlement->setOpeningBalance($expectedOpeningBalance); + self::assertEquals($expectedOpeningBalance, $settlement->getOpeningBalance()); + } + + public function testGetLedgerEntriesSum() + { + $expectedLedgerEntriesSum = 20.0; + + $settlement = $this->createClassObject(); + $settlement->setLedgerEntriesSum($expectedLedgerEntriesSum); + self::assertEquals($expectedLedgerEntriesSum, $settlement->getLedgerEntriesSum()); + } + + public function testGetWithHoldings() + { + $settlement = $this->createClassObject(); + $withHolding = new WithHoldings(); + + $settlement->setWithHoldings([$withHolding]); + + self::assertSame([$withHolding], $settlement->getWithHoldings()); + } + + public function testGetWithHoldingsSum() + { + $expectedWithHoldingsSum = 15.2; + + $settlement = $this->createClassObject(); + $settlement->setWithHoldingsSum($expectedWithHoldingsSum); + self::assertEquals($expectedWithHoldingsSum, $settlement->getWithHoldingsSum()); + } + + public function testGetTotalAmount() + { + $expectedTotalAmount = 20.0; + + $settlement = $this->createClassObject(); + $settlement->setTotalAmount($expectedTotalAmount); + self::assertEquals($expectedTotalAmount, $settlement->getTotalAmount()); + } + + /** + * @throws \BitPaySDK\Exceptions\SettlementException + */ + public function testGetLedgerEntries() + { + $settlement = $this->createClassObject(); + $ledgerEntry = new SettlementLedgerEntry(); + + $settlement->setLedgerEntries([$ledgerEntry]); + + self::assertEquals([$ledgerEntry], $settlement->getLedgerEntries()); + } + + public function testGetToken() + { + $expectedToken = 'she73j92nv83'; + + $settlement = $this->createClassObject(); + $settlement->setToken($expectedToken); + self::assertEquals($expectedToken, $settlement->getToken()); + } + + /** + * @throws \BitPaySDK\Exceptions\SettlementException + */ + public function testToArray() + { + $settlement = $this->createClassObject(); + $this->prepareSettlementForTests($settlement); + $settlementArray = $settlement->toArray(); + + self::assertNotNull($settlementArray); + self::assertIsArray($settlementArray); + + self::assertArrayHasKey('id', $settlementArray); + self::assertArrayHasKey('accountId', $settlementArray); + self::assertArrayHasKey('currency', $settlementArray); + self::assertArrayHasKey('payoutInfo', $settlementArray); + self::assertArrayHasKey('status', $settlementArray); + self::assertArrayHasKey('dateCreated', $settlementArray); + self::assertArrayHasKey('dateExecuted', $settlementArray); + self::assertArrayHasKey('dateCompleted', $settlementArray); + self::assertArrayHasKey('openingDate', $settlementArray); + self::assertArrayHasKey('closingDate', $settlementArray); + self::assertArrayHasKey('openingBalance', $settlementArray); + self::assertArrayHasKey('ledgerEntriesSum', $settlementArray); + self::assertArrayHasKey('withHoldings', $settlementArray); + self::assertArrayHasKey('withHoldingsSum', $settlementArray); + self::assertArrayHasKey('totalAmount', $settlementArray); + self::assertArrayHasKey('ledgerEntries', $settlementArray); + self::assertArrayHasKey('token', $settlementArray); + + self::assertEquals('11', $settlementArray['id']); + self::assertEquals('12', $settlementArray['accountId']); + self::assertEquals('BTC', $settlementArray['currency']); + self::assertEquals($settlementArray['payoutInfo'], new PayoutInfo()); + self::assertEquals('pending', $settlementArray['status']); + self::assertEquals('2022-01-01', $settlementArray['dateCreated']); + self::assertEquals('2022-01-01', $settlementArray['dateExecuted']); + self::assertEquals('2022-01-01', $settlementArray['dateCompleted']); + self::assertEquals('2022-01-01', $settlementArray['openingDate']); + self::assertEquals('2022-01-01', $settlementArray['closingDate']); + self::assertEquals(15.0, $settlementArray['openingBalance']); + self::assertEquals(12.2, $settlementArray['ledgerEntriesSum']); + self::assertEquals(self::WITH_HOLDINGS_AMOUNT, $settlementArray['withHoldings'][0]['amount']); + self::assertEquals(15, $settlementArray['withHoldingsSum']); + self::assertEquals(30, $settlementArray['totalAmount']); + self::assertEquals(self::LEDGER_ENTRY_AMOUNT, $settlementArray['ledgerEntries'][0]['amount']); + self::assertEquals('5u3cc2c7b', $settlementArray['token']); + } + + private function createClassObject(): Settlement + { + return new Settlement(); + } + + /** + * @throws \BitPaySDK\Exceptions\SettlementException + */ + private function prepareSettlementForTests(Settlement $settlement) + { + $withHoldings = new WithHoldings(); + $withHoldings->setAmount(self::WITH_HOLDINGS_AMOUNT); + $settlementLedgerEntry = new SettlementLedgerEntry(); + $settlementLedgerEntry->setAmount(self::LEDGER_ENTRY_AMOUNT); + + $settlement->setId('11'); + $settlement->setAccountId('12'); + $settlement->setCurrency('BTC'); + $settlement->setPayoutInfo(new PayoutInfo()); + $settlement->setStatus('pending'); + $settlement->setDateCreated('2022-01-01'); + $settlement->setDateExecuted('2022-01-01'); + $settlement->setDateCompleted('2022-01-01'); + $settlement->setOpeningDate('2022-01-01'); + $settlement->setClosingDate('2022-01-01'); + $settlement->setOpeningBalance(15); + $settlement->setLedgerEntriesSum(12.2); + $settlement->setWithHoldings([$withHoldings]); + $settlement->setWithHoldingsSum(15); + $settlement->setTotalAmount(30.0); + $settlement->setLedgerEntries([$settlementLedgerEntry]); + $settlement->setToken('5u3cc2c7b'); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/WithHoldingsTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/WithHoldingsTest.php new file mode 100644 index 0000000..c543e9b --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Settlement/WithHoldingsTest.php @@ -0,0 +1,108 @@ +createClassObject(); + self::assertInstanceOf(WithHoldings::class, $withHoldings); + } + + public function testGetAmount() + { + $expectedAmount = 12.5; + + $withHoldings = $this->createClassObject(); + $withHoldings->setAmount($expectedAmount); + self::assertEquals($expectedAmount, $withHoldings->getAmount()); + } + + public function testGetCode() + { + $expectedCode = 'BTC'; + + $withHoldings = $this->createClassObject(); + $withHoldings->setCode($expectedCode); + self::assertEquals($expectedCode, $withHoldings->getCode()); + } + + public function testGetDescription() + { + $expectedDescription = 'Test description'; + + $withHoldings = $this->createClassObject(); + $withHoldings->setDescription($expectedDescription); + self::assertEquals($expectedDescription, $withHoldings->getDescription()); + } + + public function testGetNotes() + { + $expectedNotes = 'Test note'; + + $withHoldings = $this->createClassObject(); + $withHoldings->setNotes($expectedNotes); + self::assertEquals($expectedNotes, $withHoldings->getNotes()); + } + + public function testGetLabel() + { + $expectedLabel = 'Test label'; + + $withHoldings = $this->createClassObject(); + $withHoldings->setLabel($expectedLabel); + self::assertEquals($expectedLabel, $withHoldings->getLabel()); + } + + public function testGetBankCountry() + { + $expectedBankCountry = 'USA'; + + $withHoldings = $this->createClassObject(); + $withHoldings->setBankCountry($expectedBankCountry); + self::assertEquals($expectedBankCountry, $withHoldings->getBankCountry()); + } + + public function testToArray() + { + $withHoldings = $this->createClassObject(); + $this->setSetters($withHoldings); + $withHoldingsArray = $withHoldings->toArray(); + + self::assertNotNull($withHoldingsArray); + self::assertIsArray($withHoldingsArray); + + self::assertArrayHasKey('amount', $withHoldingsArray); + self::assertArrayHasKey('code', $withHoldingsArray); + self::assertArrayHasKey('description', $withHoldingsArray); + self::assertArrayHasKey('notes', $withHoldingsArray); + self::assertArrayHasKey('label', $withHoldingsArray); + self::assertArrayHasKey('bankCountry', $withHoldingsArray); + + self::assertEquals(10.5, $withHoldingsArray['amount']); + self::assertEquals('BTC', $withHoldingsArray['code']); + self::assertEquals('Description', $withHoldingsArray['description']); + self::assertEquals('Note', $withHoldingsArray['notes']); + self::assertEquals('Label', $withHoldingsArray['label']); + self::assertEquals('USA', $withHoldingsArray['bankCountry']); + } + + private function createClassObject(): WithHoldings + { + return new WithHoldings(); + } + + private function setSetters(WithHoldings $withHoldings) + { + $withHoldings->setAmount(10.5); + $withHoldings->setCode('BTC'); + $withHoldings->setDescription('Description'); + $withHoldings->setNotes('Note'); + $withHoldings->setLabel('Label'); + $withHoldings->setBankCountry('USA'); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php new file mode 100644 index 0000000..1503b8c --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php @@ -0,0 +1,133 @@ +createClassObject(); + self::assertInstanceOf(Currencies::class, $currencies); + } + + public function testGetCode() + { + $expectedCode = 'BTH'; + + $currencies = $this->createClassObject(); + $currencies->setCode($expectedCode); + self::assertEquals($expectedCode, $currencies->getCode()); + } + + public function testGetP2p() + { + $currencies = $this->createClassObject(); + $currencies->setP2p(true); + self::assertTrue($currencies->getP2p()); + } + + public function testGetDappBrowser() + { + $currencies = $this->createClassObject(); + $currencies->setDappBrowser(true); + self::assertTrue($currencies->getDappBrowser()); + } + + public function testGetImage() + { + $expectedImage = 'https://bitpay.com/api/images/logo-6fa5404d.svg'; + + $currencies = $this->createClassObject(); + $currencies->setImage($expectedImage); + self::assertEquals($expectedImage, $currencies->getImage()); + } + + public function testGetPayPro() + { + $currencies = $this->createClassObject(); + $currencies->setPayPro(true); + self::assertTrue($currencies->getPayPro()); + } + + public function testGetQr() + { + $expectedCurrencyQr = new CurrencyQr; + $expectedCurrencyQr->setType('BIP21'); + $expectedCurrencyQr->setCollapsed(false); + + $currencies = $this->createClassObject(); + $currencies->setQr($expectedCurrencyQr); + + self::assertEquals($expectedCurrencyQr, $currencies->getQr()); + } + + public function testGetWithdrawalFee() + { + $expectedWithdrawalFee = '1.23'; + + $currencies = $this->createClassObject(); + $currencies->setWithdrawalFee($expectedWithdrawalFee); + self::assertEquals($expectedWithdrawalFee, $currencies->getWithdrawalFee()); + } + + public function testGetWalletConnect() + { + $currencies = $this->createClassObject(); + $currencies->setWalletConnect(true); + self::assertTrue($currencies->getWalletConnect()); + } + + public function testToArray() + { + $currencies = $this->createClassObject(); + $this->objectSetters($currencies); + $currenciesArray = $currencies->toArray(); + + self::assertNotNull($currenciesArray); + self::assertIsArray($currenciesArray); + + self::assertArrayHasKey('code', $currenciesArray); + self::assertArrayHasKey('p2p', $currenciesArray); + self::assertArrayHasKey('dappBrowser', $currenciesArray); + self::assertArrayHasKey('image', $currenciesArray); + self::assertArrayHasKey('paypro', $currenciesArray); + self::assertArrayHasKey('qr', $currenciesArray); + self::assertArrayHasKey('withdrawalFee', $currenciesArray); + self::assertArrayHasKey('walletConnect', $currenciesArray); + + self::assertEquals('BTH', $currenciesArray['code']); + self::assertEquals(true, $currenciesArray['p2p']); + self::assertEquals(true, $currenciesArray['dappBrowser']); + self::assertEquals('https://bitpay.com/api/images/logo-6fa5404d.svg', $currenciesArray['image']); + self::assertEquals(true, $currenciesArray['paypro']); + self::assertEquals('BIP21', $currenciesArray['qr']['type']); + self::assertEquals(false, $currenciesArray['qr']['collapsed']); + self::assertEquals('1.23', $currenciesArray['withdrawalFee']); + self::assertEquals(true, $currenciesArray['walletConnect']); + } + + private function createClassObject(): Currencies + { + return new Currencies(); + } + + private function objectSetters(Currencies $currencies): void + { + $currencyQr = new CurrencyQr; + $currencyQr->setType('BIP21'); + $currencyQr->setCollapsed(false); + + $currencies->setCode('BTH'); + $currencies->setP2p(true); + $currencies->setDappBrowser(true); + $currencies->setImage('https://bitpay.com/api/images/logo-6fa5404d.svg'); + $currencies->setPayPro(true); + $currencies->setQr($currencyQr); + $currencies->setWithdrawalFee('1.23'); + $currencies->setWalletConnect(true); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php new file mode 100644 index 0000000..9d62b40 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php @@ -0,0 +1,58 @@ +createClassObject(); + self::assertInstanceOf(CurrencyQr::class, $currencyQr); + } + + public function testGetType() + { + $expectedType = 'BIP21'; + + $currencyQr = $this->createClassObject(); + $currencyQr->setType($expectedType); + self::assertEquals($expectedType, $currencyQr->getType()); + } + + public function testGetCollapsed() + { + $currencyQr = $this->createClassObject(); + $currencyQr->setCollapsed(false); + self::assertFalse($currencyQr->getCollapsed()); + } + + public function testToArray() + { + $currencyQr = $this->createClassObject(); + $this->objectSetters($currencyQr); + $currencyQrArray = $currencyQr->toArray(); + + self::assertNotNull($currencyQrArray); + self::assertIsArray($currencyQrArray); + + self::assertArrayHasKey('type', $currencyQrArray); + self::assertArrayHasKey('collapsed', $currencyQrArray); + + self::assertEquals('BIP21', $currencyQrArray['type']); + self::assertEquals(false, $currencyQrArray['collapsed']); + } + + private function createClassObject(): CurrencyQr + { + return new CurrencyQr(); + } + + private function objectSetters(CurrencyQr $currencyQr): void + { + $currencyQr->setType('BIP21'); + $currencyQr->setCollapsed(false); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/WalletTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/WalletTest.php new file mode 100644 index 0000000..066d030 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/Model/Wallet/WalletTest.php @@ -0,0 +1,142 @@ +createClassObject(); + self::assertInstanceOf(Wallet::class, $wallet); + } + + public function testGetKey() + { + $expectedKey = 'abcd123'; + + $wallet = $this->createClassObject(); + $wallet->setKey($expectedKey); + self::assertEquals($expectedKey, $wallet->getKey()); + } + + public function testGetDisplayName() + { + $expectedDisplayName = 'My Wallet'; + + $wallet = $this->createClassObject(); + $wallet->setDisplayName($expectedDisplayName); + self::assertEquals($expectedDisplayName, $wallet->getDisplayName()); + } + + public function testGetAvatar() + { + $expectedAvatar = 'image.png'; + + $wallet = $this->createClassObject(); + $wallet->setAvatar($expectedAvatar); + self::assertEquals($expectedAvatar, $wallet->getAvatar()); + } + + public function testGetPayPro() + { + $wallet = $this->createClassObject(); + $wallet->setPayPro(true); + self::assertTrue($wallet->getPayPro()); + } + + public function testGetCurrencies() + { + $currencyQr = new CurrencyQr; + $currencyQr->setType('BIP21'); + $currencyQr->setCollapsed(false); + + $expectedCurrencies = new Currencies(); + $expectedCurrencies->setCode('BTH'); + $expectedCurrencies->setP2p(true); + $expectedCurrencies->setDappBrowser(true); + $expectedCurrencies->setImage('https://bitpay.com/api/images/logo-6fa5404d.svg'); + $expectedCurrencies->setPayPro(true); + $expectedCurrencies->setQr($currencyQr); + $expectedCurrencies->setWithdrawalFee('1.23'); + $expectedCurrencies->setWalletConnect(true); + + $wallet = $this->createClassObject(); + $wallet->setCurrencies($expectedCurrencies); + self::assertEquals($expectedCurrencies, $wallet->getCurrencies()); + } + + public function testGetImage() + { + $expectedImage = 'https://bitpay.com/api/images/logo-6fa5404d.svg'; + + $wallet = $this->createClassObject(); + $wallet->setImage($expectedImage); + self::assertEquals($expectedImage, $wallet->getImage()); + } + + public function testToArray() + { + $wallet = $this->createClassObject(); + $this->objectSetters($wallet); + $walletArray = $wallet->toArray(); + + self::assertNotNull($walletArray); + self::assertIsArray($walletArray); + + self::assertArrayHasKey('key', $walletArray); + self::assertArrayHasKey('displayName', $walletArray); + self::assertArrayHasKey('avatar', $walletArray); + self::assertArrayHasKey('paypro', $walletArray); + self::assertArrayHasKey('currencies', $walletArray); + self::assertArrayHasKey('image', $walletArray); + + self::assertEquals('abcd123', $walletArray['key']); + self::assertEquals('My Wallet', $walletArray['displayName']); + self::assertEquals('image.png', $walletArray['avatar']); + self::assertTrue($walletArray['paypro']); + self::assertEquals('BTH', $walletArray['currencies']['code']); + self::assertTrue($walletArray['currencies']['p2p']); + self::assertTrue($walletArray['currencies']['dappBrowser']); + self::assertEquals('https://bitpay.com/api/images/logo-6fa5404d.svg', $walletArray['currencies']['image']); + self::assertTrue($walletArray['currencies']['paypro']); + self::assertEquals('BIP21', $walletArray['currencies']['qr']['type']); + self::assertFalse($walletArray['currencies']['qr']['collapsed']); + self::assertEquals('1.23', $walletArray['currencies']['withdrawalFee']); + self::assertTrue($walletArray['currencies']['walletConnect']); + self::assertEquals('https://bitpay.com/api/images/logo-6fa5404d.svg', $walletArray['image']); + } + + private function createClassObject(): Wallet + { + return new Wallet(); + } + + private function objectSetters(Wallet $wallet): void + { + $currencyQr = new CurrencyQr; + $currencyQr->setType('BIP21'); + $currencyQr->setCollapsed(false); + + $currencies = new Currencies(); + $currencies->setCode('BTH'); + $currencies->setP2p(true); + $currencies->setDappBrowser(true); + $currencies->setImage('https://bitpay.com/api/images/logo-6fa5404d.svg'); + $currencies->setPayPro(true); + $currencies->setQr($currencyQr); + $currencies->setWithdrawalFee('1.23'); + $currencies->setWalletConnect(true); + + $wallet->setKey('abcd123'); + $wallet->setDisplayName('My Wallet'); + $wallet->setAvatar('image.png'); + $wallet->setPayPro(true); + $wallet->setCurrencies($currencies); + $wallet->setImage('https://bitpay.com/api/images/logo-6fa5404d.svg'); + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/PrivateKeyNameUnit.key b/vendor/bitpay/sdk/test/unit/BitPaySDK/PrivateKeyNameUnit.key new file mode 100644 index 0000000..5ea3954 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/PrivateKeyNameUnit.key @@ -0,0 +1 @@ +8f8645c755bc39033f56c3940f4455a3adf348ff8cea3e14298b4c2d40b3cb8a2a1ab5f0b4740a33d3a35f71bf2de621bb648777911e3365391efa0b46eee341e035c68b0b0d00074e22b5c3aa533c29922ca8c1d14ab1f1426f81f1bde38e7f5a89915a747092ce04e969fd5e12522ce8e30f2e0aef9e271423679f7395b83c5830c53fd2996945afe8ce59b2d409d285c8e9738eeab0f7251de3f550d4723c9b65f56750445b979d9ef36c8f90e82db410c34ed10bb32c127fce955ab8293d7991864c3bccecc0b1005f8eb94a0b598e8f8b287226d738729991216f4aadf22aa656576d5c5936e33e1d737fd869d40ddde16afd6b417312d068989f40f84c0c42d2a7036753b18cae9bec2c88580f7a4b09dd34c776d44ecaa0bff980b5371fb43512d1f53125f88c9b8279eba709 \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/TokensTest.php b/vendor/bitpay/sdk/test/unit/BitPaySDK/TokensTest.php new file mode 100644 index 0000000..3a91214 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/TokensTest.php @@ -0,0 +1,59 @@ + 'test1', 'payout' => 'test2']); + self::assertEquals('test1', $tokens->getTokenByFacade(Facade::MERCHANT)); + self::assertEquals('test2', $tokens->getTokenByFacade(Facade::PAYOUT)); + self::assertEquals('test2', $tokens->getPayoutToken()); + } + + public function testGetTokenByFacadeException() + { + $instance = new Tokens(); + $this->expectException(Exception::class); + $this->expectExceptionMessage("given facade does not exist or no token defined for the given facade"); + $instance->getTokenByFacade(null); + } + + /** + * @throws ReflectionException + * @throws Exception + */ + public function testGetTokenByFacade() + { + $instance = new Tokens(Facade::MERCHANT, Facade::PAYOUT); + self::assertEquals( + $this->accessProtected($instance, 'merchant'), + $instance->getTokenByFacade(Facade::MERCHANT) + ); + + self::assertEquals($instance->getPayoutToken(), $instance->getTokenByFacade(Facade::PAYOUT)); + } + + /** + * @throws ReflectionException + */ + private function accessProtected($obj, $prop) + { + $reflection = new ReflectionClass($obj); + $property = $reflection->getProperty($prop); + $property->setAccessible(true); + + return $property->getValue($obj); + } +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/bitpay_private_test.key b/vendor/bitpay/sdk/test/unit/BitPaySDK/bitpay_private_test.key new file mode 100644 index 0000000..0596a7a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/bitpay_private_test.key @@ -0,0 +1 @@ +447a06764339c7746ba6f549f708b38a6fd7c3e489c3c39027d6d2b7ae6ac4d2de9ed6ff88badfe2963fbf8b9138e1f8f4dd96b5267e0bb04b0eb8c21323bcae6dc4106dc308c85c947d67c8c06c1062efccd91947378377593948abc84023e7b68687edc9472af44dad206ccb3e0f8aa7c4f9ad85739d920f3b8bd59bd78cc528c0428c0b7796f72b218a789a2a78f2af716d550f96a37f56011d0c2e065423569f6e50d93ef6b88b0e2ab181d7e6e69fc3bf24e32a8cdd4485a8fd64959ebcbcb8d5313bffe704c3922d3a2337086fdd7448b30e7c4653e03b900f62a0ae3ce4ceb88f92ab4b585a618bcdd9dedffaf199dc706b0ac3905d4803740934d25648595eacd5e491913cf2299f6558dbca13a91e756bc66a027f44c1a12a8415b82e87c64f0cb8a6f58ed56f362bf12818d2e5092d3d9e44f7299acc8295650550a8aeb56b19fe58951e60da5027a977cd232c88d6a8fa5e5c6209460795b6dd0c \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/badResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/badResponse.json new file mode 100644 index 0000000..fe3a073 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/badResponse.json @@ -0,0 +1 @@ +NULL \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/cancelPayoutGroupResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/cancelPayoutGroupResponse.json new file mode 100644 index 0000000..846e941 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/cancelPayoutGroupResponse.json @@ -0,0 +1,46 @@ +{ + "cancelled": [ + { + "id": "JMwv8wQCXANoU2ZZQ9a9GH", + "recipientId": "LDxRZCGq174SF8AnQpdBPB", + "accountId": "2tRxwvX5JkVbhqBLGyanmF", + "shopperId": "7qohDf2zZnQK5Qanj8oyC2", + "amount": 10, + "currency": "USD", + "ledgerCurrency": "GBP", + "email": "john@doe.com", + "reference": "payout_20210527", + "label": "John Doe", + "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", + "notificationEmail": "merchant@email.com", + "effectiveDate": "2021-05-27T09:00:00.000Z", + "requestDate": "2021-05-27T10:47:37.834Z", + "status": "cancelled", + "transactions": [] + }, + { + "id": "JMwv8wQCXANoU2ZZQ9a9GH", + "recipientId": "LDxRZCGq174SF8AnQpdBPB", + "accountId": "2tRxwvX5JkVbhqBLGyanmF", + "shopperId": "7qohDf2zZnQK5Qanj8oyC2", + "amount": 20, + "currency": "USD", + "ledgerCurrency": "GBP", + "email": "john@doe.com", + "reference": "payout_20210527", + "label": "John Doe 2", + "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", + "notificationEmail": "merchant@email.com", + "effectiveDate": "2021-05-27T09:00:00.000Z", + "requestDate": "2021-05-27T10:47:37.834Z", + "status": "cancelled", + "transactions": [] + } + ], + "failed": [ + { + "errMessage": "PayoutId is missing or invalid", + "payoutId": "D8tgWzn1psUua4NYWW1vYo" + } + ] +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createBillResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createBillResponse.json new file mode 100644 index 0000000..306136e --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createBillResponse.json @@ -0,0 +1,29 @@ +{ + "status": "draft", + "url": "https://bitpay.com/bill?id=X6KJbe9RxAGWNReCwd1xRw&resource=bills", + "number": "bill1234-ABCD", + "createdDate": "2021-05-21T09:48:02.373Z", + "dueDate": "2021-05-31T00:00:00.000Z", + "currency": "USD", + "email": "john@doe.com", + "cc": [ + "jane@doe.com" + ], + "passProcessingFee": true, + "id": "X6KJbe9RxAGWNReCwd1xRw", + "items": [ + { + "id": "EL4vx41Nxc5RYhbqDthjE", + "description": "Test Item 1", + "price": 6, + "quantity": 1 + }, + { + "id": "6spPADZ2h6MfADvnhfsuBt", + "description": "Test Item 2", + "price": 4, + "quantity": 1 + } + ], + "token": "qVVgRARN6fKtNZ7Tcq6qpoPBBE3NxdrmdMD883RyMK4Pf8EHENKVxCXhRwyynWveo" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createInvoiceResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createInvoiceResponse.json new file mode 100644 index 0000000..7eca834 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createInvoiceResponse.json @@ -0,0 +1,418 @@ +{ + "url": "https://test.bitpay.com/invoice?id=UZjwcYkWAKfTMn9J1yyfs4", + "status": "new", + "price": 12, + "currency": "USD", + "itemDesc": "Example", + "orderId": "084a86b6-68aa-47bc-b435-e64d122391d1", + "invoiceTime": 1668432675975, + "rateRefreshTime": 1668432675975, + "expirationTime": 1668433575975, + "currentTime": 1668432734661, + "guid": "chc9kj52-04g0-4b6f-941d-3a844e352758", + "id": "UZjwcYkWAKfTMn9J1yyfs4", + "lowFeeDetected": false, + "amountPaid": 0, + "displayAmountPaid": "0", + "exceptionStatus": false, + "targetConfirmations": 6, + "guaranteedPaymentTargetConfirmations": 6, + "transactions": [], + "transactionSpeed": "medium", + "buyer": { + "name": "Marcin", + "address1": "street", + "address2": "911", + "locality": "Washington", + "region": "District of Columbia", + "postalCode": "20000", + "country": "USA", + "email": "satoshi@buyeremaildomain.com", + "notify": true + }, + "autoRedirect": true, + "refundAddresses": [], + "refundAddressRequestPending": false, + "buyerProvidedEmail": "satoshi@buyeremaildomain.com", + "buyerProvidedInfo": { + "name": "Marcin", + "selectedWallet": "bitpay", + "emailAddress": "satoshi@buyeremaildomain.com" + }, + "paymentSubtotals": { + "BTC": 70100, + "BCH": 11495400, + "ETH": 9327000000000000, + "GUSD": 1200, + "PAX": 12000000000000000000, + "BUSD": 12000000000000000000, + "USDC": 12000000, + "DOGE": 13219659000, + "LTC": 20332100, + "MATIC": 12502605000000000000, + "USDC_m": 12000000 + }, + "paymentTotals": { + "BTC": 70200, + "BCH": 11495400, + "ETH": 9327000000000000, + "GUSD": 1200, + "PAX": 12000000000000000000, + "BUSD": 12000000000000000000, + "USDC": 12000000, + "DOGE": 13219659000, + "LTC": 20332100, + "MATIC": 12502605000000000000, + "USDC_m": 12000000 + }, + "paymentDisplayTotals": { + "BTC": "0.000702", + "BCH": "0.114954", + "ETH": "0.009327", + "GUSD": "12.00", + "PAX": "12.00", + "BUSD": "12.00", + "USDC": "12.00", + "DOGE": "132.196590", + "LTC": "0.203321", + "MATIC": "12.502605", + "USDC_m": "12.00" + }, + "paymentDisplaySubTotals": { + "BTC": "0.000701", + "BCH": "0.114954", + "ETH": "0.009327", + "GUSD": "12.00", + "PAX": "12.00", + "BUSD": "12.00", + "USDC": "12.00", + "DOGE": "132.196590", + "LTC": "0.203321", + "MATIC": "12.502605", + "USDC_m": "12.00" + }, + "exchangeRates": { + "BTC": { + "USD": 17120.09, + "BCH": 163.84429131974352, + "ETH": 13.299739755292292, + "GUSD": 17120.09, + "PAX": 17120.09, + "BUSD": 17120.09, + "USDC": 17120.09, + "DOGE": 188443.27083844703, + "LTC": 289.92531752751904, + "MATIC": 17878.1223893066, + "USDC_m": 17120.09 + }, + "BCH": { + "USD": 104.38999999999999, + "BTC": 0.006097902914889888, + "ETH": 0.08109535832200428, + "GUSD": 104.38999999999999, + "PAX": 104.38999999999999, + "BUSD": 104.38999999999999, + "USDC": 104.38999999999999, + "DOGE": 1149.0356092068141, + "LTC": 1.7678238780694326, + "MATIC": 109.01211361737676, + "USDC_m": 104.38999999999999 + }, + "ETH": { + "USD": 1286.54, + "BTC": 0.07515275424966411, + "BCH": 12.312565795769931, + "GUSD": 1286.54, + "PAX": 1286.54, + "BUSD": 1286.54, + "USDC": 1286.54, + "DOGE": 14161.129156709787, + "LTC": 21.787298899237936, + "MATIC": 1343.5045948203842, + "USDC_m": 1286.54 + }, + "GUSD": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "PAX": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "PAX": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "BUSD": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "USDC": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "BUSD": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "DOGE": { + "USD": 0.09077389999999999, + "BTC": 5.302523511887377E-6, + "BCH": 8.687328930998182E-4, + "ETH": 7.051769275587492E-5, + "GUSD": 0.09077389999999999, + "PAX": 0.09077389999999999, + "BUSD": 0.09077389999999999, + "USDC": 0.09077389999999999, + "LTC": 0.0015372379339542762, + "MATIC": 0.09479312865497075, + "USDC_m": 0.09077389999999999 + }, + "LTC": { + "USD": 59.02, + "BTC": 0.0034476312868742336, + "BCH": 0.5648387405493349, + "ETH": 0.04584967954942708, + "GUSD": 59.02, + "PAX": 59.02, + "BUSD": 59.02, + "USDC": 59.02, + "DOGE": 649.6415524033546, + "MATIC": 61.63324979114453, + "USDC_m": 59.02 + }, + "MATIC": { + "USD": 0.9597999999999999, + "BTC": 5.6066359016297676E-5, + "BCH": 0.009185567996937507, + "ETH": 7.456205088366673E-4, + "GUSD": 0.9597999999999999, + "PAX": 0.9597999999999999, + "BUSD": 0.9597999999999999, + "USDC": 0.9597999999999999, + "DOGE": 10.564655404892232, + "LTC": 0.016254022015241322, + "USDC_m": 0.9597999999999999 + }, + "USDC_m": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336 + } + }, + "minerFees": { + "BTC": { + "satoshisPerByte": 1, + "totalFee": 100, + "fiatAmount": 0.02 + }, + "BCH": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "ETH": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "GUSD": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "PAX": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "BUSD": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "USDC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "DOGE": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "LTC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "MATIC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "USDC_m": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + } + }, + "shopper": {}, + "jsonPayProRequired": false, + "merchantName": "SUMO Heavy Industries LLC", + "bitpayIdRequired": false, + "itemizedDetails": [ + { + "amount": 5, + "description": "Item 1", + "isFee": false + }, + { + "amount": 15, + "description": "Item 2", + "isFee": false + } + ], + "shopify": {}, + "supportedTransactionCurrencies": { + "BTC": { + "enabled": true + }, + "BCH": { + "enabled": true + }, + "ETH": { + "enabled": true + }, + "GUSD": { + "enabled": true + }, + "PAX": { + "enabled": true + }, + "BUSD": { + "enabled": true + }, + "USDC": { + "enabled": true + }, + "XRP": { + "enabled": false + }, + "DOGE": { + "enabled": true + }, + "LTC": { + "enabled": true + }, + "APE": { + "enabled": false + }, + "EUROC": { + "enabled": false + }, + "MATIC": { + "enabled": true + }, + "MATIC_e": { + "enabled": false + }, + "ETH_m": { + "enabled": false + }, + "USDC_m": { + "enabled": true + }, + "BUSD_m": { + "enabled": false + }, + "DAI_m": { + "enabled": false + }, + "WBTC_m": { + "enabled": false + }, + "SHIB_m": { + "enabled": false + } + }, + "paymentCodes": { + "BTC": { + "BIP72b": "bitcoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "BCH": { + "BIP72b": "bitcoincash:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "ETH": { + "EIP681": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "GUSD": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "PAX": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "BUSD": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "USDC": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "DOGE": { + "BIP72b": "dogecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "LTC": { + "BIP72b": "litecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "MATIC": { + "EIP681": "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "USDC_m": { + "EIP681b": "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + } + }, + "universalCodes": { + "paymentString": "https://link.test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "token": "kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupRequest.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupRequest.json new file mode 100644 index 0000000..bd86387 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupRequest.json @@ -0,0 +1 @@ +{"instructions":[{"amount":10,"currency":"USD","ledgerCurrency":"USD","reference":"payout_20210527","notificationURL":"https:\/\/yournotiticationURL.com\/wed3sa0wx1rz5bg0bv97851eqx","notificationEmail":"merchant@email.com","email":"john@doe.com","recipientId":"LDxRZCGq174SF8AnQpdBPB","shopperId":"7qohDf2zZnQK5Qanj8oyC2"}],"token":"kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb"} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupResponse.json new file mode 100644 index 0000000..e58ea45 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupResponse.json @@ -0,0 +1,29 @@ +{ + "created": [ + { + "id": "JMwv8wQCXANoU2ZZQ9a9GH", + "recipientId": "LDxRZCGq174SF8AnQpdBPB", + "accountId": "SJcWZCFq344DL8QnXpdBNM", + "shopperId": "7qohDf2zZnQK5Qanj8oyC2", + "amount": 10, + "currency": "USD", + "ledgerCurrency": "GBP", + "email": "john@doe.com", + "reference": "payout_20210527", + "label": "John Doe", + "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", + "notificationEmail": "merchant@email.com", + "effectiveDate": "2021-05-27T09:00:00.000Z", + "requestDate": "2021-05-27T10:47:37.834Z", + "status": "new", + "groupId": "SxKRk4MdW8Ae3vsoR6UPQE", + "transactions": [] + } + ], + "failed": [ + { + "errMessage": "Ledger currency is required", + "payee": "john@doe.com" + } + ] +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createRefundResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createRefundResponse.json new file mode 100644 index 0000000..4f93e7a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createRefundResponse.json @@ -0,0 +1,16 @@ +{ + "guid":"37bd36bd-6fcb-409c-a907-47f9244302aa", + "id": "Eso8srxKJR5U71ahCspAAA", + "invoice": "UZjwcYkWAKfTMn9J1yyfs4", + "reference": "someReference", + "status": "preview", + "amount": 10, + "transactionCurrency": "BTC", + "transactionAmount": 7.19E-4, + "transactionRefundFee": 2.0E-6, + "currency": "USD", + "refundFee": 0.03, + "immediate": false, + "buyerPaysRefundFee": false, + "requestDate": "2022-11-14T12:20:47.000Z" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/false.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/false.json new file mode 100644 index 0000000..6134c59 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/false.json @@ -0,0 +1,5 @@ +{ + "status": "false", + "data": {}, + "message": null +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBill.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBill.json new file mode 100644 index 0000000..52b473b --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBill.json @@ -0,0 +1,39 @@ +{ + "status": "draft", + "url": "https://bitpay.com/bill?id=3Zpmji8bRKxWJo2NJbWX5H&resource=bills", + "number": "bill1234-EFGH", + "createdDate": "2021-05-21T09:51:04.126Z", + "dueDate": "2021-05-31T00:00:00.000Z", + "currency": "USD", + "name": "John Doe", + "address1": "2630 Hegal Place", + "address2": "Apt 42", + "city": "Alexandria", + "state": "VA", + "zip": "23242", + "country": "US", + "email": "john@doe.com", + "cc": [ + "jane@doe.com" + ], + "phone": "555-123-456", + "passProcessingFee": true, + "emailBill": true, + "id": "X6KJbe9RxAGWNReCwd1xRw", + "merchant": "7HyKWn3d4xdhAMQYAEVxVq", + "items": [ + { + "id": "NV35GRWtrdB2cmGEjY4LKY", + "description": "Test Item 1", + "price": 6, + "quantity": 1 + }, + { + "id": "Apy3i2TpzHRYP8tJCkrZMT", + "description": "Test Item 2", + "price": 4, + "quantity": 1 + } + ], + "token": "6EBQR37MgDJPfEiLY3jtRq7eTP2aodR5V5wmXyyZhru5FM5yF4RCGKYQtnT7nhwHjA" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBills.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBills.json new file mode 100644 index 0000000..7214626 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBills.json @@ -0,0 +1,80 @@ +[ + { + "status": "draft", + "url": "https://bitpay.com/bill?id=X6KJbe9RxAGWNReCwd1xRw&resource=bills", + "number": "bill1234-ABCD", + "createdDate": "2021-05-21T09:48:02.373Z", + "dueDate": "2021-05-31T00:00:00.000Z", + "currency": "USD", + "name": "John Doe", + "address1": "2630 Hegal Place", + "address2": "Apt 42", + "city": "Alexandria", + "state": "VA", + "zip": "23242", + "country": "US", + "email": "john@doe.com", + "cc": [ + "jane@doe.com" + ], + "phone": "555-123-456", + "passProcessingFee": true, + "emailBill": true, + "id": "X6KJbe9RxAGWNReCwd1xRw", + "merchant": "7HyKWn3d4xdhAMQYAEVxVq", + "items": [ + { + "id": "EL4vx41Nxc5RYhbqDthjE", + "description": "Test Item 1", + "price": 6, + "quantity": 1 + }, + { + "id": "6spPADZ2h6MfADvnhfsuBt", + "description": "Test Item 2", + "price": 4, + "quantity": 1 + } + ], + "token": "6EBQR37MgDJPfEiLY3jtRqBMYLg8XSDqhp2kp7VSDqCMHGHnsw4bqnnwQmtehzCvSo" + }, + { + "status": "draft", + "url": "https://bitpay.com/bill?id=3Zpmji8bRKxWJo2NJbWX5H&resource=bills", + "number": "bill1234-EFGH", + "createdDate": "2021-05-21T09:51:04.126Z", + "dueDate": "2021-05-31T00:00:00.000Z", + "currency": "USD", + "name": "John Doe", + "address1": "2630 Hegal Place", + "address2": "Apt 42", + "city": "Alexandria", + "state": "VA", + "zip": "23242", + "country": "US", + "email": "john@doe.com", + "cc": [ + "jane@doe.com" + ], + "phone": "555-123-456", + "passProcessingFee": true, + "emailBill": true, + "id": "3Zpmji8bRKxWJo2NJbWX5H", + "merchant": "7HyKWn3d4xdhAMQYAEVxVq", + "items": [ + { + "id": "NV35GRWtrdB2cmGEjY4LKY", + "description": "Test Item 1", + "price": 6, + "quantity": 1 + }, + { + "id": "Apy3i2TpzHRYP8tJCkrZMT", + "description": "Test Item 2", + "price": 4, + "quantity": 1 + } + ], + "token": "6EBQR37MgDJPfEiLY3jtRq7eTP2aodR5V5wmXyyZhru5FM5yF4RCGKYQtnT7nhwHjA" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyPairRate.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyPairRate.json new file mode 100644 index 0000000..a68cf04 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyPairRate.json @@ -0,0 +1,5 @@ +{ + "name":"US Dollar", + "code":"USD", + "rate":41154.05 +} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyRates.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyRates.json new file mode 100644 index 0000000..8f387e1 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyRates.json @@ -0,0 +1,47 @@ +[ + { + "code":"BTC", + "name":"Bitcoin", + "rate":1 + }, + { + "code":"BCH", + "name":"Bitcoin Cash", + "rate":50.77 + }, + { + "code":"USD", + "name":"US Dollar", + "rate":41248.11 + }, + { + "code":"EUR", + "name":"Eurozone Euro", + "rate":33823.04 + }, + { + "code":"GBP", + "name":"Pound Sterling", + "rate":29011.49 + }, + { + "code":"JPY", + "name":"Japanese Yen", + "rate":4482741 + }, + { + "code":"CAD", + "name":"Canadian Dollar", + "rate":49670.85 + }, + { + "code":"AUD", + "name":"Australian Dollar", + "rate":53031.99 + }, + { + "code":"CNY", + "name":"Chinese Yuan", + "rate":265266.57 + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoice.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoice.json new file mode 100644 index 0000000..85bac7d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoice.json @@ -0,0 +1,407 @@ +{ + "url": "https://test.bitpay.com/invoice?id=UZjwcYkWAKfTMn9J1yyfs4", + "status": "new", + "price": 12, + "currency": "USD", + "itemDesc": "Example", + "orderId": "084a86b6-68aa-47bc-b435-e64d122391d1", + "invoiceTime": 1668432675975, + "rateRefreshTime": 1668432675975, + "expirationTime": 1668433575975, + "currentTime": 1668432734661, + "guid": "chc9kj52-04g0-4b6f-941d-3a844e352758", + "id": "UZjwcYkWAKfTMn9J1yyfs4", + "lowFeeDetected": false, + "amountPaid": 0, + "displayAmountPaid": "0", + "exceptionStatus": false, + "targetConfirmations": 6, + "guaranteedPaymentTargetConfirmations": 6, + "transactions": [], + "transactionSpeed": "medium", + "buyer": { + "name": "Marcin", + "address1": "street", + "address2": "911", + "locality": "Washington", + "region": "District of Columbia", + "postalCode": "20000", + "country": "USA", + "email": "satoshi@buyeremaildomain.com", + "notify": true + }, + "autoRedirect": true, + "refundAddresses": [], + "refundAddressRequestPending": false, + "buyerProvidedEmail": "satoshi@buyeremaildomain.com", + "buyerProvidedInfo": { + "name": "Marcin", + "selectedWallet": "bitpay", + "emailAddress": "satoshi@buyeremaildomain.com" + }, + "paymentSubtotals": { + "BTC": 70100, + "BCH": 11495400, + "ETH": 9327000000000000, + "GUSD": 1200, + "PAX": 12000000000000000000, + "BUSD": 12000000000000000000, + "USDC": 12000000, + "DOGE": 13219659000, + "LTC": 20332100, + "MATIC": 12502605000000000000, + "USDC_m": 12000000 + }, + "paymentTotals": { + "BTC": 70200, + "BCH": 11495400, + "ETH": 9327000000000000, + "GUSD": 1200, + "PAX": 12000000000000000000, + "BUSD": 12000000000000000000, + "USDC": 12000000, + "DOGE": 13219659000, + "LTC": 20332100, + "MATIC": 12502605000000000000, + "USDC_m": 12000000 + }, + "paymentDisplayTotals": { + "BTC": "0.000702", + "BCH": "0.114954", + "ETH": "0.009327", + "GUSD": "12.00", + "PAX": "12.00", + "BUSD": "12.00", + "USDC": "12.00", + "DOGE": "132.196590", + "LTC": "0.203321", + "MATIC": "12.502605", + "USDC_m": "12.00" + }, + "paymentDisplaySubTotals": { + "BTC": "0.000701", + "BCH": "0.114954", + "ETH": "0.009327", + "GUSD": "12.00", + "PAX": "12.00", + "BUSD": "12.00", + "USDC": "12.00", + "DOGE": "132.196590", + "LTC": "0.203321", + "MATIC": "12.502605", + "USDC_m": "12.00" + }, + "exchangeRates": { + "BTC": { + "USD": 17120.09, + "BCH": 163.84429131974352, + "ETH": 13.299739755292292, + "GUSD": 17120.09, + "PAX": 17120.09, + "BUSD": 17120.09, + "USDC": 17120.09, + "DOGE": 188443.27083844703, + "LTC": 289.92531752751904, + "MATIC": 17878.1223893066, + "USDC_m": 17120.09 + }, + "BCH": { + "USD": 104.38999999999999, + "BTC": 0.006097902914889888, + "ETH": 0.08109535832200428, + "GUSD": 104.38999999999999, + "PAX": 104.38999999999999, + "BUSD": 104.38999999999999, + "USDC": 104.38999999999999, + "DOGE": 1149.0356092068141, + "LTC": 1.7678238780694326, + "MATIC": 109.01211361737676, + "USDC_m": 104.38999999999999 + }, + "ETH": { + "USD": 1286.54, + "BTC": 0.07515275424966411, + "BCH": 12.312565795769931, + "GUSD": 1286.54, + "PAX": 1286.54, + "BUSD": 1286.54, + "USDC": 1286.54, + "DOGE": 14161.129156709787, + "LTC": 21.787298899237936, + "MATIC": 1343.5045948203842, + "USDC_m": 1286.54 + }, + "GUSD": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "PAX": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "PAX": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "BUSD": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "USDC": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "BUSD": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "DOGE": { + "USD": 0.09077389999999999, + "BTC": 5.302523511887377E-6, + "BCH": 8.687328930998182E-4, + "ETH": 7.051769275587492E-5, + "GUSD": 0.09077389999999999, + "PAX": 0.09077389999999999, + "BUSD": 0.09077389999999999, + "USDC": 0.09077389999999999, + "LTC": 0.0015372379339542762, + "MATIC": 0.09479312865497075, + "USDC_m": 0.09077389999999999 + }, + "LTC": { + "USD": 59.02, + "BTC": 0.0034476312868742336, + "BCH": 0.5648387405493349, + "ETH": 0.04584967954942708, + "GUSD": 59.02, + "PAX": 59.02, + "BUSD": 59.02, + "USDC": 59.02, + "DOGE": 649.6415524033546, + "MATIC": 61.63324979114453, + "USDC_m": 59.02 + }, + "MATIC": { + "USD": 0.9597999999999999, + "BTC": 5.6066359016297676E-5, + "BCH": 0.009185567996937507, + "ETH": 7.456205088366673E-4, + "GUSD": 0.9597999999999999, + "PAX": 0.9597999999999999, + "BUSD": 0.9597999999999999, + "USDC": 0.9597999999999999, + "DOGE": 10.564655404892232, + "LTC": 0.016254022015241322, + "USDC_m": 0.9597999999999999 + }, + "USDC_m": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336 + } + }, + "minerFees": { + "BTC": { + "satoshisPerByte": 1, + "totalFee": 100, + "fiatAmount": 0.02 + }, + "BCH": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "ETH": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "GUSD": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "PAX": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "BUSD": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "USDC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "DOGE": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "LTC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "MATIC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "USDC_m": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + } + }, + "shopper": {}, + "jsonPayProRequired": false, + "merchantName": "SUMO Heavy Industries LLC", + "bitpayIdRequired": false, + "itemizedDetails": [], + "shopify": {}, + "supportedTransactionCurrencies": { + "BTC": { + "enabled": true + }, + "BCH": { + "enabled": true + }, + "ETH": { + "enabled": true + }, + "GUSD": { + "enabled": true + }, + "PAX": { + "enabled": true + }, + "BUSD": { + "enabled": true + }, + "USDC": { + "enabled": true + }, + "XRP": { + "enabled": false + }, + "DOGE": { + "enabled": true + }, + "LTC": { + "enabled": true + }, + "APE": { + "enabled": false + }, + "EUROC": { + "enabled": false + }, + "MATIC": { + "enabled": true + }, + "MATIC_e": { + "enabled": false + }, + "ETH_m": { + "enabled": false + }, + "USDC_m": { + "enabled": true + }, + "BUSD_m": { + "enabled": false + }, + "DAI_m": { + "enabled": false + }, + "WBTC_m": { + "enabled": false + }, + "SHIB_m": { + "enabled": false + } + }, + "paymentCodes": { + "BTC": { + "BIP72b": "bitcoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "BCH": { + "BIP72b": "bitcoincash:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "ETH": { + "EIP681": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "GUSD": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "PAX": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "BUSD": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "USDC": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "DOGE": { + "BIP72b": "dogecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "LTC": { + "BIP72b": "litecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "MATIC": { + "EIP681": "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "USDC_m": { + "EIP681b": "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + } + }, + "universalCodes": { + "paymentString": "https://link.test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "token": "kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoices.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoices.json new file mode 100644 index 0000000..2966891 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getInvoices.json @@ -0,0 +1,409 @@ +[ + { + "url": "https://test.bitpay.com/invoice?id=UZjwcYkWAKfTMn9J1yyfs4", + "status": "new", + "price": 12, + "currency": "USD", + "itemDesc": "Example", + "orderId": "084a86b6-68aa-47bc-b435-e64d122391d1", + "invoiceTime": 1668432675975, + "rateRefreshTime": 1668432675975, + "expirationTime": 1668433575975, + "currentTime": 1668432734661, + "guid": "chc9kj52-04g0-4b6f-941d-3a844e352758", + "id": "UZjwcYkWAKfTMn9J1yyfs4", + "lowFeeDetected": false, + "amountPaid": 0, + "displayAmountPaid": "0", + "exceptionStatus": false, + "targetConfirmations": 6, + "guaranteedPaymentTargetConfirmations": 6, + "transactions": [], + "transactionSpeed": "medium", + "buyer": { + "name": "Marcin", + "address1": "street", + "address2": "911", + "locality": "Washington", + "region": "District of Columbia", + "postalCode": "20000", + "country": "USA", + "email": "satoshi@buyeremaildomain.com", + "notify": true + }, + "autoRedirect": true, + "refundAddresses": [], + "refundAddressRequestPending": false, + "buyerProvidedEmail": "satoshi@buyeremaildomain.com", + "buyerProvidedInfo": { + "name": "Marcin", + "selectedWallet": "bitpay", + "emailAddress": "satoshi@buyeremaildomain.com" + }, + "paymentSubtotals": { + "BTC": 70100, + "BCH": 11495400, + "ETH": 9327000000000000, + "GUSD": 1200, + "PAX": 12000000000000000000, + "BUSD": 12000000000000000000, + "USDC": 12000000, + "DOGE": 13219659000, + "LTC": 20332100, + "MATIC": 12502605000000000000, + "USDC_m": 12000000 + }, + "paymentTotals": { + "BTC": 70200, + "BCH": 11495400, + "ETH": 9327000000000000, + "GUSD": 1200, + "PAX": 12000000000000000000, + "BUSD": 12000000000000000000, + "USDC": 12000000, + "DOGE": 13219659000, + "LTC": 20332100, + "MATIC": 12502605000000000000, + "USDC_m": 12000000 + }, + "paymentDisplayTotals": { + "BTC": "0.000702", + "BCH": "0.114954", + "ETH": "0.009327", + "GUSD": "12.00", + "PAX": "12.00", + "BUSD": "12.00", + "USDC": "12.00", + "DOGE": "132.196590", + "LTC": "0.203321", + "MATIC": "12.502605", + "USDC_m": "12.00" + }, + "paymentDisplaySubTotals": { + "BTC": "0.000701", + "BCH": "0.114954", + "ETH": "0.009327", + "GUSD": "12.00", + "PAX": "12.00", + "BUSD": "12.00", + "USDC": "12.00", + "DOGE": "132.196590", + "LTC": "0.203321", + "MATIC": "12.502605", + "USDC_m": "12.00" + }, + "exchangeRates": { + "BTC": { + "USD": 17120.09, + "BCH": 163.84429131974352, + "ETH": 13.299739755292292, + "GUSD": 17120.09, + "PAX": 17120.09, + "BUSD": 17120.09, + "USDC": 17120.09, + "DOGE": 188443.27083844703, + "LTC": 289.92531752751904, + "MATIC": 17878.1223893066, + "USDC_m": 17120.09 + }, + "BCH": { + "USD": 104.38999999999999, + "BTC": 0.006097902914889888, + "ETH": 0.08109535832200428, + "GUSD": 104.38999999999999, + "PAX": 104.38999999999999, + "BUSD": 104.38999999999999, + "USDC": 104.38999999999999, + "DOGE": 1149.0356092068141, + "LTC": 1.7678238780694326, + "MATIC": 109.01211361737676, + "USDC_m": 104.38999999999999 + }, + "ETH": { + "USD": 1286.54, + "BTC": 0.07515275424966411, + "BCH": 12.312565795769931, + "GUSD": 1286.54, + "PAX": 1286.54, + "BUSD": 1286.54, + "USDC": 1286.54, + "DOGE": 14161.129156709787, + "LTC": 21.787298899237936, + "MATIC": 1343.5045948203842, + "USDC_m": 1286.54 + }, + "GUSD": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "PAX": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "PAX": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "BUSD": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "USDC": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "BUSD": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336, + "USDC_m": 1 + }, + "DOGE": { + "USD": 0.09077389999999999, + "BTC": 5.302523511887377E-6, + "BCH": 8.687328930998182E-4, + "ETH": 7.051769275587492E-5, + "GUSD": 0.09077389999999999, + "PAX": 0.09077389999999999, + "BUSD": 0.09077389999999999, + "USDC": 0.09077389999999999, + "LTC": 0.0015372379339542762, + "MATIC": 0.09479312865497075, + "USDC_m": 0.09077389999999999 + }, + "LTC": { + "USD": 59.02, + "BTC": 0.0034476312868742336, + "BCH": 0.5648387405493349, + "ETH": 0.04584967954942708, + "GUSD": 59.02, + "PAX": 59.02, + "BUSD": 59.02, + "USDC": 59.02, + "DOGE": 649.6415524033546, + "MATIC": 61.63324979114453, + "USDC_m": 59.02 + }, + "MATIC": { + "USD": 0.9597999999999999, + "BTC": 5.6066359016297676E-5, + "BCH": 0.009185567996937507, + "ETH": 7.456205088366673E-4, + "GUSD": 0.9597999999999999, + "PAX": 0.9597999999999999, + "BUSD": 0.9597999999999999, + "USDC": 0.9597999999999999, + "DOGE": 10.564655404892232, + "LTC": 0.016254022015241322, + "USDC_m": 0.9597999999999999 + }, + "USDC_m": { + "USD": 1, + "BTC": 5.8414627022606464E-5, + "BCH": 0.009570293808019907, + "ETH": 7.768498737618955E-4, + "GUSD": 1, + "PAX": 1, + "BUSD": 1, + "USDC": 1, + "DOGE": 11.007142534790825, + "LTC": 0.01693480101608806, + "MATIC": 1.0442773600668336 + } + }, + "minerFees": { + "BTC": { + "satoshisPerByte": 1, + "totalFee": 100, + "fiatAmount": 0.02 + }, + "BCH": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "ETH": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "GUSD": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "PAX": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "BUSD": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "USDC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "DOGE": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "LTC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "MATIC": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + }, + "USDC_m": { + "satoshisPerByte": 0, + "totalFee": 0, + "fiatAmount": 0 + } + }, + "shopper": {}, + "jsonPayProRequired": false, + "merchantName": "SUMO Heavy Industries LLC", + "bitpayIdRequired": false, + "itemizedDetails": [], + "shopify": {}, + "supportedTransactionCurrencies": { + "BTC": { + "enabled": true + }, + "BCH": { + "enabled": true + }, + "ETH": { + "enabled": true + }, + "GUSD": { + "enabled": true + }, + "PAX": { + "enabled": true + }, + "BUSD": { + "enabled": true + }, + "USDC": { + "enabled": true + }, + "XRP": { + "enabled": false + }, + "DOGE": { + "enabled": true + }, + "LTC": { + "enabled": true + }, + "APE": { + "enabled": false + }, + "EUROC": { + "enabled": false + }, + "MATIC": { + "enabled": true + }, + "MATIC_e": { + "enabled": false + }, + "ETH_m": { + "enabled": false + }, + "USDC_m": { + "enabled": true + }, + "BUSD_m": { + "enabled": false + }, + "DAI_m": { + "enabled": false + }, + "WBTC_m": { + "enabled": false + }, + "SHIB_m": { + "enabled": false + } + }, + "paymentCodes": { + "BTC": { + "BIP72b": "bitcoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "BCH": { + "BIP72b": "bitcoincash:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "ETH": { + "EIP681": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "GUSD": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "PAX": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "BUSD": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "USDC": { + "EIP681b": "ethereum:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "DOGE": { + "BIP72b": "dogecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "LTC": { + "BIP72b": "litecoin:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4", + "BIP73": "https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "MATIC": { + "EIP681": "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "USDC_m": { + "EIP681b": "matic:?r=https://test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + } + }, + "universalCodes": { + "paymentString": "https://link.test.bitpay.com/i/UZjwcYkWAKfTMn9J1yyfs4" + }, + "token": "kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgerBalances.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgerBalances.json new file mode 100644 index 0000000..22bc6b2 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgerBalances.json @@ -0,0 +1,14 @@ +[ + { + "currency": "EUR", + "amount": 0 + }, + { + "currency": "USD", + "balance": 2389.82 + }, + { + "currency": "BTC", + "balance": 0.000287 + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgers.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgers.json new file mode 100644 index 0000000..a1f6cea --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgers.json @@ -0,0 +1,81 @@ +[ + { + "type": "Invoice", + "amount": 823000000, + "code": 1000, + "description": "20210510_fghij", + "timestamp": "2021-05-10T20:08:52.919Z", + "txType": "sale", + "scale": 100000000, + "invoiceId": "Hpqc63wvE1ZjzeeH4kEycF", + "buyerFields": { + "buyerName": "John Doe", + "buyerAddress1": "2630 Hegal Place", + "buyerAddress2": "Apt 42", + "buyerCity": "Alexandria", + "buyerState": "VA", + "buyerZip": "23242", + "buyerCountry": "US", + "buyerPhone": "555-123-456", + "buyerNotify": true, + "buyerEmail": "john@doe.com" + }, + "invoiceAmount": 10, + "invoiceCurrency": "USD", + "transactionCurrency": "BCH", + "id": "FR4rgfADCRNmAhtz1Ci4kU" + }, + { + "type": "Invoice Fee", + "amount": -8000000, + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2021-05-10T20:08:52.919Z", + "txType": "Invoice Fee", + "scale": 100000000, + "invoiceId": "Hpqc63wvE1ZjzeeH4kEycF", + "buyerFields": { + "buyerName": "John Doe", + "buyerAddress1": "2630 Hegal Place", + "buyerAddress2": "Apt 42", + "buyerCity": "Alexandria", + "buyerState": "VA", + "buyerZip": "23242", + "buyerCountry": "US", + "buyerPhone": "555-123-456", + "buyerNotify": true, + "buyerEmail": "john@doe.com" + }, + "invoiceAmount": 10, + "invoiceCurrency": "USD", + "transactionCurrency": "BCH", + "id": "XCkhgHKP2pSme4qszMpM3B" + }, + { + "type": "Invoice Refund", + "supportRequest": "SYyrnbRCJ78V1DknHakKPo", + "amount": -823000000, + "code": 1020, + "description": "Invoice Refund", + "timestamp": "2021-05-12T13:00:45.063Z", + "txType": "Invoice Refund", + "scale": 100000000, + "invoiceId": "Hpqc63wvE1ZjzeeH4kEycF", + "buyerFields": { + "buyerName": "John Doe", + "buyerAddress1": "2630 Hegal Place", + "buyerAddress2": "Apt 42", + "buyerCity": "Alexandria", + "buyerState": "VA", + "buyerZip": "23242", + "buyerCountry": "US", + "buyerPhone": "555-123-456", + "buyerNotify": true, + "buyerEmail": "john@doe.com" + }, + "invoiceAmount": 10, + "invoiceCurrency": "USD", + "transactionCurrency": "BCH", + "id": "PBqakmWMZ2H3RwhGq9vCsg" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayout.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayout.json new file mode 100644 index 0000000..44257c4 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayout.json @@ -0,0 +1,30 @@ +{ + "id": "JMwv8wQCXANoU2ZZQ9a9GH", + "recipientId": "LDxRZCGq174SF8AnQpdBPB", + "shopperId": "7qohDf2zZnQK5Qanj8oyC2", + "amount": 10, + "currency": "USD", + "ledgerCurrency": "GBP", + "exchangeRates": { + "BTC": { + "USD": 39390.47, + "GBP": 27883.962246420004 + } + }, + "email": "john@doe.com", + "reference": "payout_20210527", + "label": "John Doe", + "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", + "notificationEmail": "merchant@email.com", + "effectiveDate": "2021-05-27T09:00:00.000Z", + "requestDate": "2021-05-27T10:47:37.834Z", + "status": "complete", + "transactions": [ + { + "txid": "db53d7e2bf3385a31257ce09396202d9c2823370a5ca186db315c45e24594057", + "amount": 0.000254, + "date": "2021-05-27T11:04:23.155Z" + } + ], + "token": "kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipient.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipient.json new file mode 100644 index 0000000..36c8173 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipient.json @@ -0,0 +1,11 @@ +{ + "facade": "payout/recipient", + "data": { + "email": "john.smith@email.com", + "label": "John Smith", + "status": "invited", + "id": "JA4cEtmBxCp5cybtnh1rds", + "shopperId": null, + "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXcejgPXVmZ4Ae3oGaCGBFKQf" + } +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipients.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipients.json new file mode 100644 index 0000000..6d71389 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipients.json @@ -0,0 +1,18 @@ +[ + { + "email": "alice@email.com", + "label": "Alice", + "status": "invited", + "id": "JA4cEtmBxCp5cybtnh1rds", + "shopperId": null, + "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXcejgPXVmZ4Ae3oGaCGBFKQf" + }, + { + "email": "bob@email.com", + "label": "Bob", + "status": "invited", + "id": "X3icwc4tE8KJ5hEPNPpDXW", + "shopperId": null, + "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXrrBAB9vRY3BVxGLbAa6uEx7" + } + ] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayouts.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayouts.json new file mode 100644 index 0000000..9b4c2ee --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayouts.json @@ -0,0 +1,50 @@ +[ + { + "id": "JMwv8wQCXANoU2ZZQ9a9GH", + "recipientId": "LDxRZCGq174SF8AnQpdBPB", + "shopperId": "7qohDf2zZnQK5Qanj8oyC2", + "amount": 10, + "currency": "USD", + "ledgerCurrency": "GBP", + "exchangeRates": { + "BTC": { + "USD": 39390.47, + "GBP": 27883.962246420004 + } + }, + "email": "john@doe.com", + "reference": "payout_20210527", + "label": "John Doe", + "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", + "notificationEmail": "merchant@email.com", + "effectiveDate": "2021-05-27T09:00:00.000Z", + "requestDate": "2021-05-27T10:47:37.834Z", + "status": "complete", + "transactions": [ + { + "txid": "db53d7e2bf3385a31257ce09396202d9c2823370a5ca186db315c45e24594057", + "amount": 0.000254, + "date": "2021-05-27T11:04:23.155Z" + } + ], + "token": "9pVLfvdjt59q1JiY2JEsf2uzeeEpSqDwwfRAzuFr9CcrxZX25rTnP6HdRhsMBGLArz" + }, + { + "id": "KMXZeQigXG6T5abzCJmTcH", + "recipientId": "LDxRZCGq174SF8AnQpdBPB", + "shopperId": "7qohDf2zZnQK5Qanj8oyC2", + "amount": 10, + "currency": "USD", + "ledgerCurrency": "GBP", + "email": "jane@doe.com", + "reference": "payout_20210528", + "label": "Jane Doe", + "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", + "notificationEmail": "merchant@email.com", + "effectiveDate": "2021-05-28T09:00:00.000Z", + "requestDate": "2021-05-28T10:23:43.765Z", + "status": "cancelled", + "transactions": [], + "token": "9pVLfvdjt59q1JiY2JEsf2hr5FsjimfY4qRLFi85tMiXSCkJ9mQ2oSQqYKVangKaro" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getRates.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getRates.json new file mode 100644 index 0000000..8f387e1 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getRates.json @@ -0,0 +1,47 @@ +[ + { + "code":"BTC", + "name":"Bitcoin", + "rate":1 + }, + { + "code":"BCH", + "name":"Bitcoin Cash", + "rate":50.77 + }, + { + "code":"USD", + "name":"US Dollar", + "rate":41248.11 + }, + { + "code":"EUR", + "name":"Eurozone Euro", + "rate":33823.04 + }, + { + "code":"GBP", + "name":"Pound Sterling", + "rate":29011.49 + }, + { + "code":"JPY", + "name":"Japanese Yen", + "rate":4482741 + }, + { + "code":"CAD", + "name":"Canadian Dollar", + "rate":49670.85 + }, + { + "code":"AUD", + "name":"Australian Dollar", + "rate":53031.99 + }, + { + "code":"CNY", + "name":"Chinese Yuan", + "rate":265266.57 + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementReconciliationReportResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementReconciliationReportResponse.json new file mode 100644 index 0000000..7add237 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementReconciliationReportResponse.json @@ -0,0 +1,445 @@ +{ + "id": "RvNuCTMAkURKimwgvSVEMP", + "accountId": "YJCgTf3jrXHkUVzLQ7y4eg", + "status": "processing", + "currency": "USD", + "payoutInfo": { + "label": "Test", + "bankCountry": "Netherlands", + "bankAddress": "test", + "bankAddress2": "test", + "bankName": "Test", + "iban": "NL85ABNA0000000000", + "swift": "RABONL2U", + "accountHolderCountry": "United States", + "accountHolderCity": "test", + "accountHolderPostalCode": "test", + "accountHolderAddress": "test", + "accountHolderAddress2": "test", + "accountHolderName": "test", + "wire": true + }, + "dateCreated": "2018-08-23T20:45:22.742Z", + "dateExecuted": "2018-08-23T20:47:06.912Z", + "openingDate": "2018-08-01T13:00:00.000Z", + "closingDate": "2018-08-23T13:00:00.000Z", + "openingBalance": 23.13, + "ledgerEntriesSum": 2956.77, + "withholdings": [ + { + "amount": 590.08, + "code": "W005", + "description": "Pending Refunds" + } + ], + "withholdingsSum": 590.08, + "totalAmount": 2389.82, + "ledgerEntries": [ + { + "code": 1000, + "description": "Test invoice BCH", + "timestamp": "2018-08-01T20:16:03.742Z", + "amount": 5.83, + "invoiceId": "E1pJQNsHP2oHuMo2fagpe6", + "invoiceData": { + "orderId": "Test invoice BCH", + "date": "2018-08-01T19:24:42.789Z", + "price": 5, + "currency": "EUR", + "transactionCurrency": "BCH", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-01T20:16:03.742Z", + "amount": -0.06, + "invoiceId": "E1pJQNsHP2oHuMo2fagpe6" + }, + { + "code": 1017, + "description": "Account Settlement XGJqZmdSGDwi5exXqQusJf", + "timestamp": "2018-08-01T20:19:54.394Z", + "amount": -23.13 + }, + { + "code": 1000, + "description": "Test invoice BCH", + "timestamp": "2018-08-01T20:20:25.258Z", + "amount": 5.84, + "invoiceId": "PbPTukHvymCZYA8FGDa5wh", + "invoiceData": { + "orderId": "Test invoice BCH", + "date": "2018-08-01T19:37:52.790Z", + "price": 5, + "currency": "EUR", + "transactionCurrency": "BCH", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-01T20:20:25.258Z", + "amount": -0.06, + "invoiceId": "PbPTukHvymCZYA8FGDa5wh" + }, + { + "code": 1000, + "description": "Bill 2", + "timestamp": "2018-08-02T13:54:16.656Z", + "amount": 1010.1, + "invoiceId": "GfcuUrvc2TAeCdSzAupbe8", + "invoiceData": { + "orderId": "Bill 2", + "date": "2018-08-02T12:11:15.760Z", + "price": 1010.1, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-02T13:54:16.656Z", + "amount": -10.1, + "invoiceId": "GfcuUrvc2TAeCdSzAupbe8" + }, + { + "code": 1000, + "description": "Bill 2", + "timestamp": "2018-08-02T13:54:16.663Z", + "amount": 1010.1, + "invoiceId": "C3ak5sJD3k15nxTePgVYBv", + "invoiceData": { + "orderId": "Bill 2", + "date": "2018-08-02T12:01:44.613Z", + "price": 1010.1, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-02T13:54:16.663Z", + "amount": -10.1, + "invoiceId": "C3ak5sJD3k15nxTePgVYBv" + }, + { + "code": 1000, + "description": "Test bill 1", + "timestamp": "2018-08-03T10:15:39.714Z", + "amount": 1311.81, + "invoiceId": "5Bfnr8eamNCAYjhVYfzJxs", + "invoiceData": { + "orderId": "Test bill 1", + "date": "2018-08-03T09:22:55.518Z", + "price": 1010.1, + "currency": "GBP", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-03T10:15:39.714Z", + "amount": -13.12, + "invoiceId": "5Bfnr8eamNCAYjhVYfzJxs" + }, + { + "code": 1000, + "description": "test bill", + "timestamp": "2018-08-06T13:41:58.036Z", + "amount": 1010.1, + "invoiceId": "RMUkvBHVQnr9wLDHgD646u", + "invoiceData": { + "orderId": "test bill", + "date": "2018-08-06T13:24:43.826Z", + "price": 1010.1, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-06T13:41:58.036Z", + "amount": -10.1, + "invoiceId": "RMUkvBHVQnr9wLDHgD646u" + }, + { + "code": 1020, + "description": "Invoice Refund", + "timestamp": "2018-08-07T08:34:49.842Z", + "amount": -1010.1, + "invoiceId": "RMUkvBHVQnr9wLDHgD646u", + "invoiceData": { + "orderId": "test bill", + "date": "2018-08-06T13:24:43.826Z", + "price": 1010.1, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + }, + "refundInfo": { + "supportRequest": "Cw4dQ1wnEaL11EkfLrBQAC", + "currency": "USD", + "amounts": { + "USD": 1010.1, + "BTC": 0.145439 + } + } + } + }, + { + "code": 1039, + "description": "Refund Fee", + "timestamp": "2018-08-07T08:34:49.842Z", + "amount": -0.92 + }, + { + "code": 1000, + "description": "Test invoice BCH", + "timestamp": "2018-08-07T10:06:35.804Z", + "amount": 5.8, + "invoiceId": "LWgqvm3CH47psfgy83DvLX", + "invoiceData": { + "orderId": "Test invoice BCH", + "date": "2018-08-07T09:14:09.106Z", + "price": 5, + "currency": "EUR", + "transactionCurrency": "BCH", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-07T10:06:35.804Z", + "amount": -0.06, + "invoiceId": "LWgqvm3CH47psfgy83DvLX" + }, + { + "code": 1000, + "description": "Test invoice BCH", + "timestamp": "2018-08-08T12:52:29.384Z", + "amount": 3.43, + "invoiceId": "932QfiTCd4ALwaLfqxH5ae", + "invoiceData": { + "orderId": "Test invoice BCH", + "date": "2018-08-08T12:40:00.622Z", + "price": 2.96, + "currency": "EUR", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-08T12:52:29.384Z", + "amount": -0.03, + "invoiceId": "932QfiTCd4ALwaLfqxH5ae" + }, + { + "code": 1011, + "timestamp": "2018-08-09T13:04:49.607Z", + "amount": -340.19 + }, + { + "code": 1011, + "timestamp": "2018-08-13T14:14:25.311Z", + "amount": -1.06 + }, + { + "code": 1011, + "timestamp": "2018-08-13T14:15:09.605Z", + "amount": -1.33 + }, + { + "code": 1011, + "timestamp": "2018-08-13T14:15:18.557Z", + "amount": -1.06 + }, + { + "code": 1034, + "description": "PayoutRequest TDZZuBiqnsNnLjaX93ydcb", + "timestamp": "2018-08-13T14:17:01.081Z", + "amount": -1 + }, + { + "code": 1040, + "description": "Payout Fee", + "timestamp": "2018-08-13T14:17:01.081Z", + "amount": -0.01 + }, + { + "code": 1011, + "timestamp": "2018-08-13T14:17:21.617Z", + "amount": -1.11 + }, + { + "code": 1011, + "timestamp": "2018-08-13T14:17:30.296Z", + "amount": -1.29 + }, + { + "code": 1011, + "timestamp": "2018-08-13T14:29:52.473Z", + "amount": -1.09 + }, + { + "code": 1034, + "description": "PayoutRequest BhKWi3WPSoGmCQfvvzfV9B", + "timestamp": "2018-08-14T10:34:39.372Z", + "amount": -3000 + }, + { + "code": 1040, + "description": "Payout Fee", + "timestamp": "2018-08-14T10:34:39.372Z", + "amount": -30 + }, + { + "code": 1011, + "timestamp": "2018-08-14T10:34:39.434Z", + "amount": 69.78 + }, + { + "code": 1000, + "description": "Test invoice", + "timestamp": "2018-08-14T11:13:38.374Z", + "amount": 582.49, + "invoiceId": "WxY7d2qUzJawZTTqpXUHov", + "invoiceData": { + "orderId": "Test invoice", + "date": "2018-08-14T10:32:11.015Z", + "price": 1000, + "currency": "BGN", + "transactionCurrency": "BCH", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-14T11:13:38.374Z", + "amount": -5.82, + "invoiceId": "WxY7d2qUzJawZTTqpXUHov" + }, + { + "code": 1000, + "description": "Test invoice", + "timestamp": "2018-08-14T11:22:12.577Z", + "amount": 3000, + "invoiceId": "76ZQGxLuKwKJ5vBMvjdAbh", + "invoiceData": { + "orderId": "Test invoice", + "date": "2018-08-14T10:37:06.348Z", + "price": 3000, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-14T11:22:12.577Z", + "amount": -30, + "invoiceId": "76ZQGxLuKwKJ5vBMvjdAbh" + }, + { + "code": 1034, + "description": "PayoutRequest NkdbgovhHE8CED1ogUJ9Yg", + "timestamp": "2018-08-14T11:45:08.017Z", + "amount": -4502 + }, + { + "code": 1040, + "description": "Payout Fee", + "timestamp": "2018-08-14T11:45:08.017Z", + "amount": -45.02 + }, + { + "code": 1011, + "timestamp": "2018-08-14T11:45:08.073Z", + "amount": 1000.35 + }, + { + "code": 1000, + "description": "Test invoice", + "timestamp": "2018-08-14T13:10:18.890Z", + "amount": 3000, + "invoiceId": "RSPnAH9L5yDWUFNYTGDJmi", + "invoiceData": { + "orderId": "Test invoice", + "date": "2018-08-14T11:58:30.028Z", + "price": 3000, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-14T13:10:18.890Z", + "amount": -30, + "invoiceId": "RSPnAH9L5yDWUFNYTGDJmi" + }, + { + "code": 1000, + "description": "Iphone-Order 1", + "timestamp": "2018-08-16T13:32:23.205Z", + "amount": 10, + "invoiceId": "WwCouQindnn6TYW9PvRMSU", + "invoiceData": { + "orderId": "Iphone-Order 1", + "date": "2018-08-16T12:01:32.513Z", + "price": 10, + "currency": "USD", + "transactionCurrency": "BTC", + "payoutPercentage": { + "USD": 100 + } + } + }, + { + "code": 1023, + "description": "Invoice Fee", + "timestamp": "2018-08-16T13:32:23.205Z", + "amount": -0.1, + "invoiceId": "WwCouQindnn6TYW9PvRMSU" + } + ] +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementResponse.json new file mode 100644 index 0000000..ef18960 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementResponse.json @@ -0,0 +1,30 @@ +{ + "id": "RPWTabW8urd3xWv2To989v", + "accountId": "YJCgTf3jrXHkUVzLQ7y4eg", + "status": "processing", + "currency": "EUR", + "payoutInfo": { + "label": "Corporate account", + "bankCountry": "Netherlands", + "name": "Test Organization", + "bank": "Test", + "swift": "RABONL2U", + "account": "NL85ABNA0000000000" + }, + "dateCreated": "2021-05-11T09:05:00.176Z", + "dateExecuted": "2021-05-11T11:52:29.681Z", + "openingDate": "2021-05-10T09:00:00.000Z", + "closingDate": "2021-05-11T09:00:00.000Z", + "openingBalance": 23.27, + "ledgerEntriesSum": 20.82, + "withholdings": [ + { + "amount": 8.21, + "code": "W005", + "description": "Pending Refunds" + } + ], + "withholdingsSum": 8.21, + "totalAmount": 35.88, + "token": "2GrR6GDeYxUFYM9sDKViy6nFFTy4Rjvm1SYdLBjK46jkeJdgUTRccRfhtwkhNcuZky" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementsResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementsResponse.json new file mode 100644 index 0000000..ba4e39d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementsResponse.json @@ -0,0 +1,56 @@ +[ + { + "id": "KBkdURgmE3Lsy9VTnavZHX", + "accountId": "YJCgTf3jrXHkUVzLQ7y4eg", + "status": "processing", + "currency": "EUR", + "payoutInfo": { + "label": "Corporate account", + "bankCountry": "Netherlands", + "name": "Test Organization", + "bank": "Test", + "swift": "RABONL2U", + "account": "NL85ABNA0000000000" + }, + "dateCreated": "2021-05-10T09:05:00.176Z", + "dateExecuted": "2021-05-10T11:52:29.681Z", + "openingDate": "2021-05-09T09:00:00.000Z", + "closingDate": "2021-05-10T09:00:00.000Z", + "openingBalance": 1.27, + "ledgerEntriesSum": 20.82, + "withholdings": [], + "withholdingsSum": 0, + "totalAmount": 22.09, + "token": "2gBtViSiBWSEJGo1LfaMFHoaBRzE2jek2VitKAYeenj2SRiTVSCgRvs1WTN8w4w8Lc" + }, + { + "id": "RPWTabW8urd3xWv2To989v", + "accountId": "YJCgTf3jrXHkUVzLQ7y4eg", + "status": "processing", + "currency": "EUR", + "payoutInfo": { + "label": "Corporate account", + "bankCountry": "Netherlands", + "name": "Test Organization", + "bank": "Test", + "swift": "RABONL2U", + "account": "NL85ABNA0000000000" + }, + "dateCreated": "2021-05-11T09:05:00.176Z", + "dateExecuted": "2021-05-11T11:52:29.681Z", + "openingDate": "2021-05-10T09:00:00.000Z", + "closingDate": "2021-05-11T09:00:00.000Z", + "openingBalance": 23.27, + "ledgerEntriesSum": 20.82, + "withholdings": [ + { + "amount": 8.21, + "code": "W005", + "description": "Pending Refunds" + } + ], + "withholdingsSum": 8.21, + "totalAmount": 35.88, + "token": "2gBtViSiBWSEJitKAYSCgRvs1WTN8w4Go1Leenj2SRiTVFHoaBRzE2jek2VfaMw8Lc" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSupportedWalletsResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSupportedWalletsResponse.json new file mode 100644 index 0000000..d5cdae0 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSupportedWalletsResponse.json @@ -0,0 +1,385 @@ +[ + { + "key": "bitpay", + "displayName": "BitPay", + "avatar": "bitpay-wallet.png", + "payPro": true, + "currencies": [ + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "BTC", + "image": "https://bitpay.com/img/icon/currencies/BTC.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "BCH", + "image": "https://bitpay.com/img/icon/currencies/BCH.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "XRP", + "image": "https://bitpay.com/img/icon/currencies/XRP.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "DOGE", + "image": "https://bitpay.com/img/icon/currencies/DOGE.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681" + }, + "code": "ETH", + "image": "https://bitpay.com/img/icon/currencies/ETH.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "USDC", + "image": "https://bitpay.com/img/icon/currencies/USDC.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "PAX", + "image": "https://bitpay.com/img/icon/currencies/PAX.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "GUSD", + "image": "https://bitpay.com/img/icon/currencies/GUSD.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "BUSD", + "image": "https://bitpay.com/img/icon/currencies/BUSD.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "WBTC", + "image": "https://bitpay.com/img/icon/currencies/WBTC.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "SHIB", + "image": "https://bitpay.com/img/icon/currencies/SHIB.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "DAI", + "image": "https://bitpay.com/img/icon/currencies/DAI.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "LTC", + "image": "https://bitpay.com/img/icon/currencies/LTC.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "APE", + "image": "https://bitpay.com/img/icon/currencies/APE.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "EUROC", + "image": "https://bitpay.com/img/icon/currencies/EUROC.svg" + } + ], + "image": "https://bitpay.com/img/wallet-logos/bitpay-wallet.png" + }, + { + "key": "copay", + "displayName": "Copay", + "avatar": "copay-wallet.svg", + "payPro": true, + "currencies": [ + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "BTC", + "image": "https://bitpay.com/img/icon/currencies/BTC.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "BCH", + "image": "https://bitpay.com/img/icon/currencies/BCH.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "XRP", + "image": "https://bitpay.com/img/icon/currencies/XRP.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "DOGE", + "image": "https://bitpay.com/img/icon/currencies/DOGE.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681" + }, + "code": "ETH", + "image": "https://bitpay.com/img/icon/currencies/ETH.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "USDC", + "image": "https://bitpay.com/img/icon/currencies/USDC.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "PAX", + "image": "https://bitpay.com/img/icon/currencies/PAX.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "GUSD", + "image": "https://bitpay.com/img/icon/currencies/GUSD.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "BUSD", + "image": "https://bitpay.com/img/icon/currencies/BUSD.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "WBTC", + "image": "https://bitpay.com/img/icon/currencies/WBTC.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "SHIB", + "image": "https://bitpay.com/img/icon/currencies/SHIB.svg" + }, + { + "payPro": true, + "qr": { + "type": "EIP681b" + }, + "code": "DAI", + "image": "https://bitpay.com/img/icon/currencies/DAI.svg" + }, + { + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "LTC", + "image": "https://bitpay.com/img/icon/currencies/LTC.svg" + } + ], + "image": "https://bitpay.com/img/wallet-logos/copay-wallet.svg" + }, + { + "key": "blockchainWallet", + "displayName": "Blockchain Wallet", + "avatar": "blockchain-wallet.svg", + "payPro": true, + "invoiceDefault": "BTC", + "uniCode": "bitcoin:?r=https://bitpay.com", + "verificationLink": "https://bitpay.com/id/verify", + "currencies": [ + { + "payPro": true, + "p2p": true, + "qr": { + "type": "BIP72b" + }, + "code": "BTC", + "image": "https://bitpay.com/img/icon/currencies/BTC.svg" + }, + { + "p2p": true, + "payPro": true, + "qr": { + "type": "BIP72b" + }, + "code": "BCH", + "image": "https://bitpay.com/img/icon/currencies/BCH.svg" + } + ], + "image": "https://bitpay.com/img/wallet-logos/blockchain-wallet.svg" + }, + { + "key": "squareCash", + "displayName": "Cash App", + "lightning": true, + "avatar": "square-cash-app.svg", + "payPro": false, + "currencies": [ + { + "p2p": true, + "qr": { + "type": "ADDRESS" + }, + "code": "BTC", + "image": "https://bitpay.com/img/icon/currencies/BTC.svg" + } + ], + "image": "https://bitpay.com/img/wallet-logos/square-cash-app.svg" + }, + { + "key": "coinbase", + "displayName": "Coinbase", + "avatar": "coinbase.svg", + "offChainMode": true, + "payPro": false, + "currencies": [ + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "BTC", + "image": "https://bitpay.com/img/icon/currencies/BTC.svg" + }, + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "BCH", + "image": "https://bitpay.com/img/icon/currencies/BCH.svg" + }, + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "XRP", + "image": "https://bitpay.com/img/icon/currencies/XRP.svg" + }, + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "DOGE", + "image": "https://bitpay.com/img/icon/currencies/DOGE.svg" + } + ], + "image": "https://bitpay.com/img/wallet-logos/coinbase.svg" + }, + { + "key": "gemini", + "displayName": "Gemini", + "avatar": "gemini.svg", + "payPro": false, + "currencies": [ + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "BTC", + "image": "https://bitpay.com/img/icon/currencies/BTC.svg" + }, + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "BCH", + "image": "https://bitpay.com/img/icon/currencies/BCH.svg" + }, + { + "p2p": true, + "qr": { + "collapsed": true, + "type": "ADDRESS" + }, + "code": "LTC", + "image": "https://bitpay.com/img/icon/currencies/LTC.svg" + } + ], + "image": "https://bitpay.com/img/wallet-logos/gemini.svg" + }, + { + "key": "bakkt", + "displayName": "Bakkt", + "avatar": "bakkt.svg", + "uniCode": "bakkt://bitpay", + "offChainMode": true, + "invoiceDefault": "USD", + "payPro": false, + "currencies": [], + "image": "https://bitpay.com/img/wallet-logos/bakkt.svg" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getTokensResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getTokensResponse.json new file mode 100644 index 0000000..5806d9d --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getTokensResponse.json @@ -0,0 +1,14 @@ +[ + { + "merchant": "someMerchantToken" + }, + { + "payout": "somePayoutToken" + }, + { + "payout\/recipient": "somePayoutRecipientToken1" + }, + { + "payout\/recipient": "somePayoutRecipientToken2" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/payInvoiceResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/payInvoiceResponse.json new file mode 100644 index 0000000..6879b9f --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/payInvoiceResponse.json @@ -0,0 +1 @@ +{"url":"https://test.bitpay.com/invoice?id=4enjVLZH9fUADcAeYRKip3","status":"complete","price":12,"currency":"USD","itemDesc":"Example","orderId":"e81256cb-b115-45e6-9257-607f692635f1","invoiceTime":1668428388468,"rateRefreshTime":1668428388468,"expirationTime":1668429288468,"currentTime":1668428399474,"guid":"7f3b1a02-d6ee-4185-bcd5-838276a598b5","id":"4enjVLZH9fUADcAeYRKip3","lowFeeDetected":false,"amountPaid":72000,"displayAmountPaid":"0.000720","exceptionStatus":false,"targetConfirmations":6,"guaranteedPaymentTargetConfirmations":0,"guaranteedPayment":false,"transactions":[{"amount":72000,"confirmations":6,"receivedTime":"2022-11-14T12:19:59.429Z","txid":"6f84f6662988c33b70cf977f652632b68a3fd3b30705f0903e61f193441da025","exRates":{"BTC":1,"USD":16678.62,"BCH":162.27190686942083,"ETH":13.317964769950652,"GUSD":16678.62,"PAX":16678.62,"BUSD":16678.62,"USDC":16678.62,"DOGE":191235.02412994052,"LTC":290.72023705769567,"MATIC":18099.42485078676,"USDC_m":16678.62}},{"amount":-100,"confirmations":6,"receivedTime":"2022-11-14T12:19:59.439Z","type":"buyerPaidMinerFee","txid":"6f84f6662988c33b70cf977f652632b68a3fd3b30705f0903e61f193441da025"}],"transactionSpeed":"medium","buyer":{"name":"Marcin","address1":"street","address2":"911","locality":"Washington","region":"District of Columbia","postalCode":"20000","country":"USA","email":"satoshi@buyeremaildomain.com","notify":true},"autoRedirect":true,"refundAddresses":[],"refundAddressRequestPending":false,"buyerProvidedEmail":"satoshi@buyeremaildomain.com","buyerProvidedInfo":{"name":"Marcin","selectedWallet":"bitpay","emailAddress":"satoshi@buyeremaildomain.com"},"paymentSubtotals":{"BTC":71900,"BCH":11685700,"ETH":9583000000000000,"GUSD":1200,"PAX":12000000000000000000,"BUSD":12000000000000000000,"USDC":12000000,"DOGE":13762083400,"LTC":20927800,"MATIC":13025073000000000000,"USDC_m":12000000},"paymentTotals":{"BTC":72000,"BCH":11685700,"ETH":9583000000000000,"GUSD":1200,"PAX":12000000000000000000,"BUSD":12000000000000000000,"USDC":12000000,"DOGE":13762083400,"LTC":20927800,"MATIC":13025073000000000000,"USDC_m":12000000},"paymentDisplayTotals":{"BTC":"0.000720","BCH":"0.116857","ETH":"0.009583","GUSD":"12.00","PAX":"12.00","BUSD":"12.00","USDC":"12.00","DOGE":"137.620834","LTC":"0.209278","MATIC":"13.025073","USDC_m":"12.00"},"paymentDisplaySubTotals":{"BTC":"0.000719","BCH":"0.116857","ETH":"0.009583","GUSD":"12.00","PAX":"12.00","BUSD":"12.00","USDC":"12.00","DOGE":"137.620834","LTC":"0.209278","MATIC":"13.025073","USDC_m":"12.00"},"exchangeRates":{"BTC":{"USD":16678.62,"BCH":162.27190686942083,"ETH":13.317964769950652,"GUSD":16678.62,"PAX":16678.62,"BUSD":16678.62,"USDC":16678.62,"DOGE":191235.02412994052,"LTC":290.72023705769567,"MATIC":18099.42485078676,"USDC_m":16678.62},"BCH":{"USD":102.69,"BTC":0.00615832083958021,"ETH":0.08199849881022725,"GUSD":102.69,"PAX":102.69,"BUSD":102.69,"USDC":102.69,"DOGE":1177.4310241436997,"LTC":1.7899599093602927,"MATIC":111.43787303309823,"USDC_m":102.69},"ETH":{"USD":1252.17,"BTC":0.07509265367316342,"BCH":12.182783325280072,"GUSD":1252.17,"PAX":1252.17,"BUSD":1252.17,"USDC":1252.17,"DOGE":14357.22860553137,"LTC":21.826215792225906,"MATIC":1358.8388497015737,"USDC_m":1252.17},"GUSD":{"USD":1,"BTC":5.997001499250375E-5,"BCH":0.009729336532004496,"ETH":7.985051982688407E-4,"PAX":1,"BUSD":1,"USDC":1,"DOGE":11.46587812000876,"LTC":0.017430712916158272,"MATIC":1.0851871947911016,"USDC_m":1},"PAX":{"USD":1,"BTC":5.997001499250375E-5,"BCH":0.009729336532004496,"ETH":7.985051982688407E-4,"GUSD":1,"BUSD":1,"USDC":1,"DOGE":11.46587812000876,"LTC":0.017430712916158272,"MATIC":1.0851871947911016,"USDC_m":1},"BUSD":{"USD":1,"BTC":5.997001499250375E-5,"BCH":0.009729336532004496,"ETH":7.985051982688407E-4,"GUSD":1,"PAX":1,"USDC":1,"DOGE":11.46587812000876,"LTC":0.017430712916158272,"MATIC":1.0851871947911016,"USDC_m":1},"USDC":{"USD":1,"BTC":5.997001499250375E-5,"BCH":0.009729336532004496,"ETH":7.985051982688407E-4,"GUSD":1,"PAX":1,"BUSD":1,"DOGE":11.46587812000876,"LTC":0.017430712916158272,"MATIC":1.0851871947911016,"USDC_m":1},"DOGE":{"USD":0.0871961,"BTC":5.229151424287856E-6,"BCH":8.483602011783173E-4,"ETH":6.962653911876966E-5,"GUSD":0.0871961,"PAX":0.0871961,"BUSD":0.0871961,"USDC":0.0871961,"LTC":0.001519890186508628,"MATIC":0.09462409115572437,"USDC_m":0.0871961},"LTC":{"USD":57.34000000000001,"BTC":0.0034386806596701657,"BCH":0.5578801567451379,"ETH":0.04578628806873533,"GUSD":57.34000000000001,"PAX":57.34000000000001,"BUSD":57.34000000000001,"USDC":57.34000000000001,"DOGE":657.4534514013025,"MATIC":62.224633749321775,"USDC_m":57.34000000000001},"MATIC":{"USD":0.9213000000000001,"BTC":5.525037481259372E-5,"BCH":0.008963637746935744,"ETH":7.35662839165083E-4,"GUSD":0.9213000000000001,"PAX":0.9213000000000001,"BUSD":0.9213000000000001,"USDC":0.9213000000000001,"DOGE":10.563513511964073,"LTC":0.016058915809656616,"USDC_m":0.9213000000000001},"USDC_m":{"USD":1,"BTC":5.997001499250375E-5,"BCH":0.009729336532004496,"ETH":7.985051982688407E-4,"GUSD":1,"PAX":1,"BUSD":1,"USDC":1,"DOGE":11.46587812000876,"LTC":0.017430712916158272,"MATIC":1.0851871947911016}},"minerFees":{"BTC":{"satoshisPerByte":1,"totalFee":100,"fiatAmount":0.02},"BCH":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"ETH":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"GUSD":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"PAX":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"BUSD":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"USDC":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"DOGE":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"LTC":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"MATIC":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0},"USDC_m":{"satoshisPerByte":0,"totalFee":0,"fiatAmount":0}},"shopper":{},"jsonPayProRequired":false,"merchantName":"SUMO Heavy Industries LLC","bitpayIdRequired":false,"itemizedDetails":[],"shopify":{},"transactionCurrency":"BTC","supportedTransactionCurrencies":{"BTC":{"enabled":true},"BCH":{"enabled":true},"ETH":{"enabled":true},"GUSD":{"enabled":true},"PAX":{"enabled":true},"BUSD":{"enabled":true},"USDC":{"enabled":true},"XRP":{"enabled":false},"DOGE":{"enabled":true},"LTC":{"enabled":true},"APE":{"enabled":false},"EUROC":{"enabled":false},"MATIC":{"enabled":true},"MATIC_e":{"enabled":false},"ETH_m":{"enabled":false},"USDC_m":{"enabled":true},"BUSD_m":{"enabled":false},"DAI_m":{"enabled":false},"WBTC_m":{"enabled":false},"SHIB_m":{"enabled":false}},"paymentCodes":{"BTC":{"BIP72b":"bitcoin:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3","BIP73":"https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"BCH":{"BIP72b":"bitcoincash:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3","BIP73":"https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"ETH":{"EIP681":"ethereum:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"GUSD":{"EIP681b":"ethereum:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"PAX":{"EIP681b":"ethereum:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"BUSD":{"EIP681b":"ethereum:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"USDC":{"EIP681b":"ethereum:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"DOGE":{"BIP72b":"dogecoin:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3","BIP73":"https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"LTC":{"BIP72b":"litecoin:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3","BIP73":"https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"MATIC":{"EIP681":"matic:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"USDC_m":{"EIP681b":"matic:?r=https://test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"}},"universalCodes":{"paymentString":"https://link.test.bitpay.com/i/4enjVLZH9fUADcAeYRKip3"},"token":"F7uTfepHfSyCepeffoA8uj2oeHGoE7w6HgCadXUHXWQJ"} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/submitPayoutRecipientsResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/submitPayoutRecipientsResponse.json new file mode 100644 index 0000000..37f5c8a --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/submitPayoutRecipientsResponse.json @@ -0,0 +1,18 @@ +[ + { + "email": "alice@email.com", + "label": "Alice", + "status": "invited", + "id": "JA4cEtmBxCp5cybtnh1rds", + "shopperId": null, + "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXcejgPXVmZ4Ae3oGaCGBFKQf" + }, + { + "email": "bob@email.com", + "label": "Bob", + "status": "invited", + "id": "X3icwc4tE8KJ5hEPNPpDXW", + "shopperId": null, + "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXrrBAB9vRY3BVxGLbAa6uEx7" + } +] \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/success.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/success.json new file mode 100644 index 0000000..383af58 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/success.json @@ -0,0 +1,5 @@ +{ + "status": "success", + "data": {}, + "message": null +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateBillRequest.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateBillRequest.json new file mode 100644 index 0000000..31a9dfa --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateBillRequest.json @@ -0,0 +1 @@ +{"address1":"2630 Hegal Place","address2":"Apt 42","cc":["jane@doe.com"],"city":"Alexandria","country":"US","currency":"USD","dueDate":"2021-5-31","email":"23242","items":[{"description":"Test Item 1","price":6.0,"quantity":1},{"description":"Test Item 2","price":4.0,"quantity":1}],"name":"John Doe","number":"bill1234-ABCD","passProcessingFee":true,"phone":"555-123-456","state":"VA","token":"AKnJyeLF1BjAfgfDbVUzHXk64N1WuDq3R9xtZouQFhSv","zip":"23242"} diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updatePayoutRecipientResponse.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updatePayoutRecipientResponse.json new file mode 100644 index 0000000..b4933b3 --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updatePayoutRecipientResponse.json @@ -0,0 +1,8 @@ +{ + "email": "bob@email.com", + "label": "Bob123", + "status": "invited", + "id": "X3icwc4tE8KJ5hEPNPpDXW", + "shopperId": null, + "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXrrBAB9vRY3BVxGLbAa6uEx7" +} \ No newline at end of file diff --git a/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateSubscription.json b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateSubscription.json new file mode 100644 index 0000000..14ec3ca --- /dev/null +++ b/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateSubscription.json @@ -0,0 +1,40 @@ +{ + "id": "SeL33Hjyr3VmFHA5Skc4zy", + "status": "active", + "billData": { + "emailBill": true, + "cc": [ + "jane@doe.com" + ], + "number": "subscription1234-ABCD", + "currency": "USD", + "name": "John Doe", + "address1": "2630 Hegal Place", + "address2": "Apt 42", + "city": "Alexandria", + "state": "VA", + "zip": "23242", + "country": "US", + "email": "john@doe.com", + "phone": "555-123-456", + "dueDate": "2021-05-31T00:00:00.000Z", + "passProcessingFee": true, + "items": [ + { + "description": "Test Item 1", + "price": 6, + "quantity": 1 + }, + { + "description": "Test Item 2", + "price": 4, + "quantity": 1 + } + ], + "merchant": "5461e13dfd8b0047590d644a" + }, + "schedule": "0 0 0 * * 1", + "nextDelivery": "2021-05-24T00:00:00.000Z", + "createdDate": "2021-05-21T12:29:54.428Z", + "token": "85yxWk7aEgPdJME6zTkXkAGA3K13MtXf3WHqvtBvyhw3ycfEebJ5WMBRZHXsssSBvn" +} \ No newline at end of file From 1be176c614fd698d79875ddcd22eef1dbb48718c Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Wed, 5 Jul 2023 11:05:16 +0200 Subject: [PATCH 2/2] Fix git issue related with SDK directory --- BitPayEddLib/class-bitpaycheckouttransactions.php | 2 +- BitPayEddLib/class-bitpayeddabandonorder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BitPayEddLib/class-bitpaycheckouttransactions.php b/BitPayEddLib/class-bitpaycheckouttransactions.php index 3f93b89..bce2605 100644 --- a/BitPayEddLib/class-bitpaycheckouttransactions.php +++ b/BitPayEddLib/class-bitpaycheckouttransactions.php @@ -65,7 +65,7 @@ public function create_transaction( $this->get_wpdb()->query( $query ); } - public function get_order_id_by_invoice_id(mixed $invoice_id): ?int { + public function get_order_id_by_invoice_id( string $invoice_id ): ?int { $table_name = $this->table_name; $wp_db = $this->get_wpdb(); $sql = $wp_db->prepare( diff --git a/BitPayEddLib/class-bitpayeddabandonorder.php b/BitPayEddLib/class-bitpayeddabandonorder.php index 2e17839..9ac7403 100644 --- a/BitPayEddLib/class-bitpayeddabandonorder.php +++ b/BitPayEddLib/class-bitpayeddabandonorder.php @@ -14,7 +14,7 @@ public function __construct( BitPayCheckoutTransactions $bitpay_checkout_transac public function execute( WP_REST_Request $request ): void { $data = $request->get_params(); $invoice_id = $data['invoiceid']; - $order_id = $this->bitpay_checkout_transactions->get_order_id_by_invoice_id($invoice_id); + $order_id = $this->bitpay_checkout_transactions->get_order_id_by_invoice_id( (string) $invoice_id); if ( ! $order_id ) { die(); }